Distance Formula (3D)
Worked example: 3-4-12 m separations → d = 13 m. Press Try an example to run it live, then adjust anything.
Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Change any unit and the answer follows.
Where Distance Formula (3D) fits
See also
Distance Formula (2D): Both use point to point distance.Distance Formula (3D) explained
The 3D distance formula is the Pythagorean theorem applied twice: the separations along the three axes form the edges of a box, and d is its space diagonal. A drone that flies 30 m east, 40 m north, and climbs 120 m is m from its launch point in a straight line.
Solving for one separation runs it backward: a 10 m brace anchored 6 m away horizontally and 0 m sideways must rise m. The rearrangements return the positive root, since a separation's sign only encodes direction.
Distance Formula (3D)
- = Distance (m)
- = x-separation (m)
- = y-separation (m)
- = z-separation (m)
Cite this page
formula.expert. (2026, October 16). Distance Formula (3D) Calculator. https://formula.expert/solvers/distance-formula-3d