3D Distance Calculator: Distance Between Two Points in Space

Formulas Used in the Calculator

Distance Formula in 3D

The distance \( D \) between two points \( A = (A_x, A_y, A_z) \) and \( B = (B_x, B_y, B_z) \) is:

\[ D = \sqrt{(A_x - B_x)^2 + (A_y - B_y)^2 + (A_z - B_z)^2} \]

Midpoint Formula in 3D

The midpoint \( M \) of segment \( AB \) is:

\[ M = \left( \frac{A_x + B_x}{2}, \frac{A_y + B_y}{2}, \frac{A_z + B_z}{2} \right) \]

How to Use the 3D Distance Calculator

Enter the coordinates \( x, y, z \) of point A and point B below. Press "Calculate Distance" to get:

You can adjust the number of decimal places displayed in the results.

3D Distance & Midpoint Calculator

Enter coordinates for points A and B in 3D space

Results

-- units
--
--
--

Midpoint M = (Mₓ, Mᵧ, M₂)

More Geometry Resources

Online Geometry Calculators and Solvers
Lines in 2D Geometry