Calculate the midpoint of the line segment joining two points in the plane.
| Mid x | – |
| Mid y | – |
Use this calculator to find the point halfway between two plane points (x₁, y₁) and (x₂, y₂). That midpoint is the centre of the segment that joins the endpoints, and it is also the centre of the circle that has those endpoints as a diameter.
The formulas are mx = (x₁ + x₂) / 2 and my = (y₁ + y₂) / 2: each coordinate is the average of the two endpoints. The result sits exactly halfway in the plane, including when the points share an x or a y (a horizontal or vertical segment).
Use the same coordinate units for all four values. The midpoint is reported in those same units.
x₁: x-coordinate of the first point.
y₁: y-coordinate of the first point.
x₂: x-coordinate of the second point.
y₂: y-coordinate of the second point.
Mid x: x-coordinate of the midpoint.
Mid y: y-coordinate of the midpoint.
Related calculators