Distance between 3D Points
Distance between two points in a three dimension x, y and z coordinate system - online calculator.
The distance between two points in a three dimensional - 3D - coordinate system can be calculated as
d = ((x2 - x1)2 + (y2 - y1)2 + (z2 - z1)2)1/2 (1)
where
d = distance (m, inches ...)
x, y, z = coordinates
Example - the Distance between two points in a three dimensional space
The distance between point P1(1,1,0) and point P2(2,1,2) can be calculated as
d = ((2 - 1)2 + (1 - 1)2 + (2 - 0)2)1/2
= 2.24