A free online calculator to calculate the distance D between two points \( A = (A_x,A_y) \) and \( B = (B_x,B_y) \) given by the formula
\[ D = \sqrt { (Ax - Bx)^2 + (Ay - By)^2 } \]
and the midpoint \( M \) of the segment \( AB \) given by

Enter the \( x \) and \( y \) coordinates of points \( A \) and \( B \) and press "calculate". The outputs are the distance \( D \) and the \( x \) and \( y \) coordinates the midpoint M.