Midpoint Calculator
Find the midpoint of the segment between two points (x₁, y₁) and (x₂, y₂) — the exact center of the line segment.
How it works
M = ( (x₁ + x₂) / 2 , (y₁ + y₂) / 2 )
The midpoint is the point exactly halfway between two given points. Because a straight segment is uniform, its center is simply the average of the endpoints’ coordinates taken one axis at a time. The midpoint always lies on the segment and is equidistant from both ends.
Worked example
For (2, 3) and (8, 7): midpoint x = (2 + 8) ÷ 2 = 5, midpoint y = (3 + 7) ÷ 2 = 5, so the midpoint is (5, 5).
Sources: Midpoint — Wikipedia
Frequently asked questions
Does the order of the points matter?
No. Because addition is commutative, swapping the two points gives the same midpoint. (x₁ + x₂) equals (x₂ + x₁).
Can the midpoint have negative or fractional coordinates?
Yes. If the endpoints are far apart or negative, the average can be a decimal or negative number — that is perfectly normal and still the true center.
How do I find one endpoint from the midpoint and the other endpoint?
Double the midpoint coordinate and subtract the known endpoint: x₂ = 2·Mₓ − x₁, and likewise for y.
Related calculators
This calculator is for educational purposes. Double-check important results before acting on them.