The midpoint of a line segment is the point exactly halfway between its two endpoints. You find it by averaging the coordinates: M = ((x₁ + x₂)/2, (y₁ + y₂)/2). It's one of the first tools in coordinate geometry — used to bisect segments, find the centre of a circle from a diameter, and build perpendicular bisectors. This calculator returns the midpoint plus the segment's distance and slope.
Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: the midpoint and distance formulas, recomputed in code.
The midpoint formula
The midpoint formula is just two averages: one for x and one for y. Because it's an average, the order of the points doesn't matter and negative coordinates work exactly as written. The same two points also define a distance (how far apart they are) and a slope (how steep the line through them is), both of which this tool reports alongside the midpoint.
Worked example — (2, 3) and (8, 7)
Scenario: find the midpoint of the segment joining (2, 3) and (8, 7).
The midpoint is (5, 5) — sitting exactly between the two points, the same 3.6056 units from each. A second example with negatives: (-4, -2) and (6, 8) average to (1, 3), with a distance of √(100 + 100) = √200 ≈ 14.1421. The midpoint formula never changes; you just keep the signs.
Frequently Asked Questions
M = ((x₁ + x₂)/2, (y₁ + y₂)/2). Average the x's and average the y's. (2,3) & (8,7) → (5, 5).
Add the x-coordinates and divide by 2; add the y-coordinates and divide by 2. The result is the exact centre of the segment.
Yes — keep the signs. (-4,-2) & (6,8) → (1, 3). Decimals work the same way.
Midpoint is a point (the centre); distance is a length (how far apart). (2,3)&(8,7): midpoint (5,5), distance √52 ≈ 7.21.
Bisecting segments, finding a circle's centre from a diameter, perpendicular bisectors, centroids and reflections.