# Distance and Midpoint Calculator in Plane

  

## Distance and Midpoint Formulas

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
$M = \left ( \dfrac{A_x + B_x}{2} , \dfrac{A_y + B_y}{2} \right)$

## Use of the Calculator

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.

 $A =$ (1 , 2 ) $B =$ (4 , 5 ) $D$ = $M =$( , )