The midpoint is an average, one axis at a time
The midpoint of a segment is the point exactly halfway along it, and its coordinates are the plain averages of the endpoint coordinates. To get the midpoint's x, average the two x-values; to get its y, average the two y-values. Nothing couples the axes together, which is why the formula looks so much simpler than the distance formula even though both describe the same segment.
The reason the averaging works is that motion along a straight segment is linear in each coordinate separately. Travel a fraction t of the way from A to B and your position is x₁ + t(x₂ − x₁). Put t = ½ and that simplifies to (x₁ + x₂)/2. The same substitution in y gives the other coordinate, and the same substitution in z gives the third.
That general form is worth knowing, because it answers questions the midpoint formula alone cannot. Any point dividing the segment in the ratio t : (1 − t) from A is (x₁ + tΔx, y₁ + tΔy). Put t = 1/3 for the point a third of the way along, or t = 2/3 for two thirds. The midpoint is just the most useful special case.
Back-solving for a missing endpoint
The harder exam question runs backwards: you know one endpoint and the midpoint, and you need the other endpoint. Start from the midpoint relation x_M = (x₁ + x₂)/2, multiply both sides by 2 to get 2x_M = x₁ + x₂, and subtract x₁. That gives x₂ = 2x_M − x₁, with the identical form in y and z.
The pattern to remember is double the midpoint, subtract the known end. If A is (2, 3) and M is (5, 7), then B is (2 × 5 − 2, 2 × 7 − 3) = (8, 11). The near-universal error is to average again instead of doubling, which returns the midpoint of A and M rather than the missing endpoint — an answer that is plausible, wrong, and lands exactly a quarter of the way along the true segment.
Geometrically, back-solving is a reflection: B is the image of A reflected through the point M. That makes a special case easy to see. If the midpoint is the origin, the missing endpoint is simply A with both signs flipped, so A(3, −5) gives B(−3, 5).
Worked example: both directions on the same segment
Take A(2, 4) and B(8, 10) and find the midpoint, then run the process in reverse to check it.
- Average the x-values. (2 + 8) ÷ 2 = 10 ÷ 2 = 5.
- Average the y-values. (4 + 10) ÷ 2 = 14 ÷ 2 = 7.
- Write the midpoint. M = (5, 7).
- Find the segment length. Δx = 6 and Δy = 6, so the length is √(36 + 36) = √72 = 8.485281.
- Check the halves. From A(2,4) to M(5,7) the differences are 3 and 3, giving √18 = 4.242641 — exactly half of 8.485281, as it must be.
- Reverse it. Given A(2,4) and M(5,7), the missing endpoint is (2 × 5 − 2, 2 × 7 − 4) = (8, 10), recovering B.
Now a three-dimensional case. For A(1, 2, 3) and B(5, 6, 7), each coordinate averages independently: (1+5)/2 = 3, (2+6)/2 = 4, (3+7)/2 = 5, so M = (3, 4, 5). The segment length is √(16 + 16 + 16) = √48 = 6.928203, and half of that, 3.464102, is the distance from A to M. Nothing about the method changes when the third axis appears.
Sanity checks on a midpoint
The strongest check is containment: each coordinate of the midpoint must lie between the corresponding coordinates of the two endpoints, inclusive. If your endpoints have x-values 2 and 8, a midpoint x outside the interval from 2 to 8 is wrong, full stop. That single test catches almost every sign error.
The second check is the halving property. The distance from either endpoint to the midpoint must be exactly half the full segment length, so compute one of them with the distance formula calculator and compare. If they do not match, the midpoint is not on the segment.
The third is symmetry. A midpoint calculation must give the same answer whichever endpoint you enter first, because addition commutes. If swapping the two points changes your answer, you have used the subtraction of the distance formula where the addition of the midpoint formula belongs — a genuinely common slip, since the two formulas sit side by side in every textbook.
Midpoints and missing endpoints for worked pairs
| Point A | Point B | Midpoint M | Segment length | B recovered as 2M − A |
|---|---|---|---|---|
| (0, 0) | (6, 8) | (3, 4) | 10.000000 | (6, 8) |
| (2, 4) | (8, 10) | (5, 7) | 8.485281 | (8, 10) |
| (−6, −2) | (4, 8) | (−1, 3) | 14.142136 | (4, 8) |
| (3, −5) | (−3, 5) | (0, 0) | 11.661904 | (−3, 5) |
| (1, 1) | (4, 5) | (2.5, 3) | 5.000000 | (4, 5) |
| (−7, 2) | (1, −4) | (−3, −1) | 10.000000 | (1, −4) |
| (1, 2, 3) | (5, 6, 7) | (3, 4, 5) | 6.928203 | (5, 6, 7) |
Rows 1, 5 and 6 are Pythagorean triples in disguise: 6-8-10, 3-4-5 and 8-6-10 respectively.
Mistakes to avoid
- Subtracting instead of adding. The midpoint formula adds the coordinates and halves; the distance formula subtracts them. Using subtraction here gives half the displacement, not the midpoint.
- Averaging again when back-solving. To find a missing endpoint you double the midpoint and subtract the known end. Averaging A with M instead lands a quarter of the way along the segment.
- Halving only one coordinate. Both x and y (and z) must be averaged. Halving the x while copying the y produces a point that is not on the segment at all.
- Mishandling negatives. The midpoint of −6 and 4 is (−6 + 4)/2 = −1, not −5. Add first, then halve.
- Confusing the segment length with the half-length. This calculator reports the full end-to-end distance; the distance from either end to the midpoint is exactly half of it.
What the midpoint is used for
In coordinate geometry the midpoint is the workhorse of proofs. To show a quadrilateral is a parallelogram, show its two diagonals share a midpoint. To find the perpendicular bisector of a segment, you need the midpoint for a point on the line and the negative reciprocal of the segment's slope for its direction — the slope calculator gives you the second half. To find a triangle's circumcentre, intersect two such bisectors.
The centroid of a triangle is a close relative: it is the average of all three vertices rather than two, and it lies two thirds of the way along each median from the vertex. The triangle centroid calculator handles that case directly.
Outside pure geometry, the midpoint is where you place a label between two nodes on a diagram, where you set a bisection method's next guess, and where a drafting program puts a snap point. Combined with the distance formula calculator and the line equation calculator, it gives you everything a two-point segment has to say.
