Geometry & Trigonometry
Basic

Distance Between Two Points

Euclidean distance in the plane.

Formula

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}

Variables

x_1,y_1First point
x_2,y_2Second point

Example

From (1, 2) to (4, 6): d = √(3² + 4²) = √25 = 5.

Did You Know?

The distance formula is the Pythagorean theorem wearing coordinate clothing.