Midpoint Calculator
Find the midpoint of a segment, a missing endpoint, or midpoint and distance together — with every step shown
The Midpoint Formula
The midpoint of a segment is the point exactly halfway between its endpoints — the average of the coordinates.
2D, for and :
3D simply averages a third coordinate too:
The formula is symmetric: swapping the two points changes nothing, because addition is commutative. It assumes a straight segment in a Cartesian coordinate system, and it works for any real coordinates — negatives, fractions, decimals — with no special cases.
A useful check: the midpoint must lie between the endpoints in each coordinate. If your -value is outside , you have made a sign error.
Missing Endpoint, and Midpoint with Distance
Finding a missing endpoint
Given one endpoint and the midpoint , solve the midpoint equation for the other endpoint :
So the compact rule is
Double, then subtract — not "add the difference once". The most common error here is computing and stopping.
Midpoint and distance together
The two formulas use the same coordinates but different operations — averages versus differences:
A handy consequence: the distance from either endpoint to the midpoint is exactly , which is a fast way to verify your answer.
Where it gets used
- Centre of a circle from the endpoints of a diameter.
- Perpendicular bisector: passes through with slope .
- Centroid of a triangle, and proving a quadrilateral is a parallelogram (its diagonals share a midpoint).
Common Mistakes to Avoid
- Subtracting instead of averaging. The midpoint uses ; the distance formula uses . Mixing them up is the single most frequent error, and it produces a point nowhere near the segment.
- Dividing only one coordinate by 2. Both (or all three) coordinates must be halved.
- Sign slips with negatives. For and : , not or . Write the addition out before simplifying.
- Using for a missing endpoint. That gives the half-vector, not the endpoint. The correct rule is .
- Reporting the midpoint as a single number. It is an ordered pair (or triple), not a length.
- Assuming the midpoint splits the segment into equal slopes. Slope is constant along a straight segment; what the midpoint halves is length.
Examples
Frequently Asked Questions
M = ((x₁ + x₂)/2, (y₁ + y₂)/2) — the average of the x-coordinates paired with the average of the y-coordinates. In three dimensions you average the z-coordinates as well. The order of the two points does not matter.
Use B = 2M − A: double each coordinate of the midpoint, then subtract the corresponding coordinate of the known endpoint. For A = (2, −5) and M = (6, 1) this gives B = (10, 7). Subtracting A from M without doubling first is the usual mistake.
The midpoint formula adds and halves the coordinates to locate a point; the distance formula subtracts, squares, sums, and takes a root to produce a length. One returns an ordered pair, the other a single number. They are useful together — the distance from an endpoint to the midpoint is always half the total length.
Yes, and in any number of dimensions. Just average each coordinate separately, so a 3D midpoint is ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2). Nothing about the reasoning changes — the midpoint is still the componentwise average of the endpoints.
Related Solvers
Related Guides
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving