A free online calculator to calculate the distance \( D \) between two 3 dimensional points \( A = (A_x,A_y,A_z) \) and \( B = (B_x,B_y,B_z) \) given by the formula
\[ D = \sqrt { (A_x - B_x)^2 + (A_y - B_y)^2 + (A_z- B_z)^2 } \]
and the midpoint \( M \) of the segment \( AB \) with the formula given by
\[ M = \left(\dfrac{A_x + B_x}{2} , \dfrac{A_y + B_y}{2} , \dfrac{A_z + B_z}{2} \right) \]
is presented.

Use of the Calculator

Enter the coordinates \( x, y \) and \( z \) of each point and press "calculate". The outputs are the distance \( D \) and the coordinates \( x, y \) and \( z \) of the midpoint \( M \).