Distance calculator
Calculate the distance between two points in 2D or 3D using the distance formula with step-by-step work.
Point 1Point 2
Distance formula
d = √((x₂−x₁)² + (y₂−y₁)²)
This is the Pythagorean theorem applied to the horizontal and vertical distances between two points.
Example
(1,2) to (4,6): d = √((3)² + (4)²) = √(9+16) = √25 = 5.
In 3D
Add a z-component: d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²).
Popular problems
Related calculators