Home / Math / Distance Calculator
Distance Calculator
Calculate the distance between two points using the distance formula.
Point 1 Coordinates
Point 2 Coordinates
< > Embed This Calculator
Add this free distance calculator to your website or blog.
💡 Expert Tips
It's Just Pythagoras!
The distance formula is really just the Pythagorean theorem (a² + b² = c²) in disguise. The horizontal distance is 'a', the vertical distance is 'b', and the straight-line distance is the hypotenuse 'c'.
Order Doesn't Matter
Don't worry about which point is (x₁, y₁) and which is (x₂, y₂). Since you square the difference, (5-2)² is the same as (2-5)². You'll get the same answer.
Manhattan Distance
This calculator finds the "crow flies" distance (Euclidean). If you can only move along a grid (like city blocks), you need Manhattan distance: |x₂ - x₁| + |y₂ - y₁|.
⚠️ Common Mistakes
Subtracting Wrong Coordinates
Make sure you subtract x from x, and y from y. A common error is subtracting y₁ from x₁.
Forgetting to Square Root
After adding the squared differences, you must take the square root. If your answer seems huge, you probably forgot this last step.
Sign Errors
Be careful with negative coordinates. Subtracting a negative is adding a positive (e.g., 5 - (-3) = 5 + 3 = 8).