Midpoint Calculator
Find the midpoint between two points in 2D or 3D – the point exactly halfway along the line segment.
Dimensions
—
The midpoint formula
Average the coordinates: M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2). In 3D, average the z-coordinates as well.
Worked example
A(−2, 4) and B(6, −2): x = (−2 + 6) / 2 = 2 and y = (4 + (−2)) / 2 = 1, so M = (2, 1). The distance from A to B is √(64 + 36) = 10, so M is 5 from each end.
Finding an endpoint
If you know one end A and the midpoint M, the other end is B = (2·M − A). With A(−2, 4) and M(2, 1): B = (2·2 − (−2), 2·1 − 4) = (6, −2).
Frequently asked questions
What is the midpoint of (−2, 4) and (6, −2)?
(2, 1).
Is the midpoint the same as the average?
Yes – each coordinate of the midpoint is the average of the two coordinates.