The midpoint formula
Average the x-coordinates and average the y-coordinates. The result is the point exactly halfway along the segment.
M = ((x₁ + x₂)/2, (y₁ + y₂)/2)
Distance and slope
Distance = √((x₂ − x₁)² + (y₂ − y₁)²). Slope = (y₂ − y₁) ÷ (x₂ − x₁).
Frequently asked questions
How do I find an endpoint from a midpoint?
x₂ = 2Mx − x₁ and y₂ = 2My − y₁.
Does it work with negative numbers?
Yes. Enter negatives as normal.
What if the line is vertical?
The slope is undefined, but the midpoint and distance still work.