Enter the two endpoints of a line segment to find the point exactly halfway between them.
The midpoint is the average of the x values and the average of the y values: M = ((x1 + x2) / 2, (y1 + y2) / 2). Add the two x coordinates and halve the result, then do the same for y. The midpoint is the same distance from both endpoints, so it also splits the segment into two equal halves.
| Point 1 | Point 2 | Midpoint |
|---|---|---|
| (0, 0) | (6, 8) | (3, 4) |
| (1, 2) | (7, 10) | (4, 6) |
| (-3, 4) | (5, -2) | (1, 1) |
| (2, 2) | (2, 10) | (2, 6) |
| (-5, -5) | (5, 5) | (0, 0) |
M = ((x1 + x2) / 2, (y1 + y2) / 2): the mean of the x coordinates and the mean of the y coordinates.
Double the midpoint and subtract the known endpoint: x2 = 2 x Mx - x1 and y2 = 2 x My - y1. For example, with midpoint (4, 6) and endpoint (1, 2), the other end is (7, 10).
Yes. Add the coordinates with their signs, then halve. The midpoint of (-3, 4) and (5, -2) is (1, 1).
The same idea with a third coordinate: average x, y and z separately.
See also: slope calculator · distance between two points · pythagorean theorem calculator · all tools