Distance and Midpoint Formulas
The distance \( D \) between two points \( A = (A_x, A_y) \) and \( B = (B_x, B_y) \) is given by the formula:
\[ D = \sqrt{(A_x - B_x)^2 + (A_y - By)^2} \]The midpoint \( M \) of the segment \( AB \) is given by:
\[ M = \left( \frac{A_x + B_x}{2}, \frac{A_y + B_y}{2} \right) \]Interactive Calculator
Enter the \( x \) and \( y \) coordinates of points \( A \) and \( B \) and click Calculate. The outputs will display the distance \( D \) and the coordinates of the midpoint \( M \).