This is a 3D distance formula calculator, which computes the straight line (Euclidean) distance between two points in three dimensions.
3D Distance Calculator
Table of Contents show ▼
Formula for 3D Euclidean distance
The formula for three-dimensional distance is:
d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}
Where:
- d: the distance between the two points (the hypotenuse)
- x1, y1, z1: the x, y, and z coordinates of point 1
- x2, y2, z2: the x, y, and z coordinates of point 2
Example distance calculation
Say you have 2 points (x, y, z): (4, 9, 3) and (0, 6, 14).
d=\sqrt{(0-4)^2+(6-9)^2+(14-3)^2}=\sqrt{16+9+121}=\sqrt{146}\approx12.083
Approximately 12.083 units separate the two points.
Using the 3D distance calculator
Enter the X, Y, and Z coordinates for both points in the Point 1 and Point 2 fields. The distance will calculate automatically.
