Find the distance between the points and .
Use the three-dimensional distance formula. It is the Pythagorean theorem applied twice — once in the horizontal plane, once vertically — which is why a third squared term simply joins the other two:
Compute the three coordinate differences. Subtracting in a consistent order (second point minus first):
The order does not ultimately matter, because every difference is about to be squared — but mixing the order between coordinates does.
Square each difference.
Note : squaring is what makes the distance independent of direction.
Add and take the square root.
Since has no square factor, cannot be simplified further.
Give the decimal and sanity-check it. . As a check, the largest single coordinate gap is , and the distance must exceed it but be less than ; sits comfortably in that window ✓.
Need to solve a different problem like this? Open the solver →