By Zencalcy Editorial TeamLast reviewed About us
The distance formula is Pythagoras in disguise: enter two points in 2D or 3D to get the straight-line distance with every substitution shown.
Straight-line distance in 2D or 3D with step-by-step working.
2D: √((x₂−x₁)² + (y₂−y₁)²) · 3D: adds (z₂−z₁)²
| Symbol | Meaning |
|---|---|
| (x,y[,z]) | Coordinates of each point |
(0,0)→(3,4) = √(9+16) = 5. In 3D, (1,2,3)→(4,6,8) = √(9+16+25) ≈ 7.071068.
Continue with the Percentage Calculator, all math calculators, or browse the full calculator directory.
It applies Pythagoras to the horizontal and vertical gaps between the points.
Click to use the Absolute Value Calculator and get instant results.
Click to use the Basic Calculator and get instant results.
Click to use the Scientific Calculator and get instant results.
Click to use the Exponent Calculator and get instant results.
Click to use the Square Root Calculator and get instant results.
Click to use the Cube Root Calculator and get instant results.
Content updated: September 2026