Midpoint Calculator
The point halfway between two endpoints.
Inputs
Loading calculator…
Calculating…
Use this calculator on your own site
Free embed
- Two lines of HTML, unlimited views
- Shows a small CalculateEveryday bar, with a credit link under the calculator
Formula
M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)
The midpoint's x-coordinate is the average of the two x-coordinates, and its y-coordinate is the average of the two y-coordinates. It sits the same distance from each endpoint, which the page confirms by showing the half-length.
Worked example
For endpoints (−2, 5) and (6, 1): x = (−2 + 6) ÷ 2 = 2 and y = (5 + 1) ÷ 2 = 3, so the midpoint is (2, 3). The segment is about 8.9443 long, putting the midpoint 4.4721 from each end.
Where this can give the wrong answer
- This is the midpoint of a straight segment on a flat plane. The halfway point between two places on Earth follows a curved path and needs a different calculation.
- To find a missing endpoint instead, double the midpoint and subtract the known endpoint: x₂ = 2·Mx − x₁, and the same for y.
- Add negative coordinates with their signs: the midpoint of −3 and −7 is −5, not 5.
FAQ
- Rearrange the formula. If M = (2, 3) and one endpoint is (−2, 5), the other is (2×2 − (−2), 2×3 − 5) = (6, 1).
Related calculators
Need this calculator, but different?
MakeACalc turns a plain-English description into an embeddable calculator — formula and worked example included. Launching soon.