📏 Distance Calculator
The shortest path between two points is a straight line, and its length comes from the Pythagorean theorem: distance = √((x₂−x₁)² + (y₂−y₁)²). Map apps, games and geometry homework all rely on this one formula.
Type the coordinates of both points. The calculator returns the distance plus the horizontal and vertical differences, which are useful on their own.
How to use this calculator
Type the x and y coordinates of both points, then press Calculate.
- Type the coordinates of the first point into the Point 1 x and y fields.
- Type the coordinates of the second point into the Point 2 x and y fields.
- Press Calculate and read the straight-line distance as the headline result.
- Check the horizontal and vertical differences underneath if you need the individual components.
Frequently asked questions
What does this distance calculator compute?
The straight-line Euclidean distance between two points on a flat plane, using the formula root((x2-x1) squared + (y2-y1) squared), which is the Pythagorean theorem applied to coordinates.
Can you show a worked example?
From (0,0) to (3,4): the differences are 3 and 4, and root(9 + 16) = root(25) = 5. This 3-4-5 triangle is the most famous distance example.
Does it work with negative coordinates?
Yes. Only the differences between coordinates matter, so points in any quadrant work the same way.
Is this the same as driving distance?
No. This is the straight-line distance, as the crow flies. Road distance follows streets and is always equal or longer.