About this tool
Find the straight-line distance between two points in 2D or 3D.
d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²), from the Pythagorean theorem. Leave z at 0 for 2D.
Formula: d = √(Δx² + Δy² + Δz²)
Example: x₁ = 0, y₁ = 0, z₁ = 0, x₂ = 3, y₂ = 4, z₂ = 0 → Distance = 5, Distance in the x–y plane = 5.
Gives straight-line (Euclidean) distance, not road or travel distance.
Quick steps
- Enter your values — every field shows its unit.
- Press Calculate (or Try an example to see how it works).
- Read the results and copy them if you need them elsewhere.
The calculation runs in your browser. Nothing you type is sent to 1CLIK.
FAQ
How does the Distance Formula Calculator work?
d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²), from the Pythagorean theorem. Leave z at 0 for 2D.
What should I keep in mind?
Gives straight-line (Euclidean) distance, not road or travel distance.
Is my data sent anywhere?
No. The numbers stay on your device; the page only shows the result.