Home Math Finance Health All Tools Sign In

Distance Calculator

🌙 Dark Mode

Enter two points (x₁, y₁) and (x₂, y₂) to find the straight-line distance between them.

Distance 5
Δx3
Δy4
Distance5

The Distance Formula

The distance formula is really just the Pythagorean theorem applied to two points on a coordinate plane - the difference in x-coordinates and the difference in y-coordinates form the two legs of a right triangle, and the straight-line distance between the points is the hypotenuse.

d = √( (x₂ − x₁)² + (y₂ − y₁)² )

This works for any two points in a 2D plane, regardless of which quadrant they're in - the squaring of each difference automatically handles negative values correctly.