This midpoint calculator finds the point exactly halfway between any two points on a coordinate plane. Enter the two endpoints and it averages them for you — showing both steps, plotting the segment and its midpoint on a graph, and reporting the full distance so you can see the midpoint split it into two equal halves. It also runs the formula backwards: give it a midpoint and one endpoint, and the Find an Endpoint mode recovers the missing endpoint, the second question every coordinate-geometry class asks. No sign-up, no download, and nothing you type leaves your browser.
The Midpoint Formula
M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)
Add the two x-coordinates and halve the sum; add the two y-coordinates and halve that sum. Each coordinate of the midpoint is simply the average of the matching coordinates of the endpoints.
Why averaging works: the number halfway between two numbers on a line is always their average — halfway between 2 and 10 is (2 + 10) ÷ 2 = 6, which is 4 above 2 and 4 below 10. A segment in the plane is handled one direction at a time, horizontally then vertically, so the same idea applied twice gives the formula. The reference page for the formula itself, with its derivation, is our midpoint formula page; this page is the working tool.
How to Use the Midpoint Calculator
- Pick a mode: “Find the Midpoint” for two endpoints, or “Find an Endpoint” when you know the midpoint and one end.
- Type the coordinates into the two point boxes — decimals and negatives are fine.
- Press the button and read the midpoint (or the missing endpoint) in the dark card, with the distance of the whole segment beside it.
- Follow the steps and the graph: the step panel shows each average as it is computed, and the graph plots A, B and M so you can see the midpoint sitting exactly halfway.
Worked Example 1: The Midpoint of (2, 4) and (10, 8)
- Average the x-coordinates: (2 + 10) ÷ 2 = 12 ÷ 2 = 6.
- Average the y-coordinates: (4 + 8) ÷ 2 = 12 ÷ 2 = 6.
- Write the answer as a point: the midpoint is (6, 6) — a pair of coordinates, never a single number.
- Check with the distance formula: from (2, 4) to (6, 6) is √(16 + 4) = √20 ≈ 4.47, and from (6, 6) to (10, 8) is also √20 — the two halves are equal, as a midpoint requires.
Worked Example 2: Negative Coordinates — (−3, 5) and (7, −1)
Negatives change nothing about the method; they only make the sums smaller.
- Average the x-coordinates: (−3 + 7) ÷ 2 = 4 ÷ 2 = 2.
- Average the y-coordinates: (5 + (−1)) ÷ 2 = 4 ÷ 2 = 2.
- The midpoint is (2, 2). Notice how the signs partly cancel inside the sums — exactly what should happen when the endpoints sit on opposite sides of an axis.
Worked Example 3: Finding a Missing Endpoint
A segment has midpoint (4, 3) and one endpoint (1, 5). Find the other endpoint. The midpoint is the average of the endpoints, so each endpoint coordinate is twice the midpoint's minus the known one:
- x: 2 × 4 − 1 = 7.
- y: 2 × 3 − 5 = 1.
- The other endpoint is (7, 1). Check: the midpoint of (1, 5) and (7, 1) is ((1 + 7) ÷ 2, (5 + 1) ÷ 2) = (4, 3). ✓
Midpoint, Distance and Slope: The Three Questions About a Segment
Almost every coordinate-geometry exercise asks one of three things about the segment between two points. The midpoint asks where is the centre? — answered here. The distance asks how long is it? — the distance formula calculator works it from the same two points (this page reports it alongside every midpoint). The slope asks how steep is it? — the slope calculator covers that, and together the three unlock the Pythagorean theorem calculator’s right-triangle problems, where the midpoint of the hypotenuse is the triangle's circumcentre.
Going Further: 3D Midpoints and Points Partway Along
The averaging idea generalises without new rules. In 3D, average a third coordinate the same way: the midpoint of (1, 2, 3) and (5, 6, 7) is (3, 4, 5). And the midpoint is just the 1:1 case of the section formula — the point a fraction t of the way from A to B is A + t × (B − A), so t = ½ returns the midpoint, t = ¼ the quarter point. The midpoint is also the centre of the circle with the segment as diameter, and the perpendicular bisector of the segment passes through it — two facts coordinate-geometry courses build on immediately.