Math Solver Free

Midpoint Calculator

Find the midpoint of two points with steps and a graph — or work backwards from a midpoint to a missing endpoint.

Published 6 December 2026

Point A (x₁, y₁)

(,)

Point B (x₂, y₂)

(,)
Midpoint M
(6, 6)
halfway between A and B
Distance A to B
8.9443
the midpoint splits it into two halves of 4.4721

Step by step

Step 1 — average the x-coordinates: (2 + 10) ÷ 2 = 12 ÷ 2 = 6.

Step 2 — average the y-coordinates: (4 + 8) ÷ 2 = 12 ÷ 2 = 6.

Step 3 — write the midpoint as a point: M = (6, 6) — the answer is a pair, never a single number.

The segment on a coordinate graph

A (2, 4)B (10, 8)M (6, 6)

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

  1. Pick a mode: “Find the Midpoint” for two endpoints, or “Find an Endpoint” when you know the midpoint and one end.
  2. Type the coordinates into the two point boxes — decimals and negatives are fine.
  3. Press the button and read the midpoint (or the missing endpoint) in the dark card, with the distance of the whole segment beside it.
  4. 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)

  1. Average the x-coordinates: (2 + 10) ÷ 2 = 12 ÷ 2 = 6.
  2. Average the y-coordinates: (4 + 8) ÷ 2 = 12 ÷ 2 = 6.
  3. Write the answer as a point: the midpoint is (6, 6) — a pair of coordinates, never a single number.
  4. 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.

  1. Average the x-coordinates: (−3 + 7) ÷ 2 = 4 ÷ 2 = 2.
  2. Average the y-coordinates: (5 + (−1)) ÷ 2 = 4 ÷ 2 = 2.
  3. 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:

  1. x: 2 × 4 − 1 = 7.
  2. y: 2 × 3 − 5 = 1.
  3. 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.

Common Midpoint Mistakes

  1. Subtracting instead of adding. Differences belong to the distance and slope formulas. The midpoint adds: (x₁ + x₂) ÷ 2, not (x₂ − x₁) ÷ 2.
  2. Averaging x with y. (2 + 8) ÷ 2 mixes coordinates from different axes. Keep the two averages in their own lanes — x's with x's, y's with y's.
  3. Forgetting the answer is a point. Reporting “6” for Worked Example 1 loses half the answer; the midpoint is (6, 6).
  4. Dividing only one coordinate by 2. Both averages need their own division — the ÷ 2 applies to each sum separately.
  5. Dropping negative signs in the sum. In Worked Example 2, 5 + (−1) = 4; treating it as 5 + 1 = 6 shifts the midpoint to (2, 3), which is not halfway to anything.

Practice Problems

Try each one by hand, then open the answer — or check yourself in the calculator above.

  1. Find the midpoint of (1, 3) and (5, 9).
    Show answer

    ((1 + 5) ÷ 2, (3 + 9) ÷ 2) = (3, 6).

  2. Find the midpoint of (−4, −2) and (6, 4).
    Show answer

    ((−4 + 6) ÷ 2, (−2 + 4) ÷ 2) = (1, 1).

  3. A segment has midpoint (5, 2) and one endpoint (3, 6). Find the other endpoint.
    Show answer

    (2 × 5 − 3, 2 × 2 − 6) = (7, −2).

  4. Find the midpoint of (0, 0) and (−7, 3).
    Show answer

    ((0 + (−7)) ÷ 2, (0 + 3) ÷ 2) = (−3.5, 1.5) — a midpoint may have decimal coordinates.

Frequently Asked Questions

What is the midpoint formula?

The midpoint formula is M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Add the two x-coordinates and halve the sum, then do exactly the same with the two y-coordinates. The midpoint is nothing more than the average of the endpoints, taken one coordinate at a time — which is why the order of the two points never matters.

How do you find the midpoint of two points?

Average the x-coordinates, then average the y-coordinates, and write the two results as a point. For (2, 4) and (10, 8): the x-average is (2 + 10) ÷ 2 = 6 and the y-average is (4 + 8) ÷ 2 = 6, so the midpoint is (6, 6). The calculator above shows these two steps for any pair of points and plots them on a graph.

How do you find an endpoint when you know the midpoint and the other endpoint?

Work the midpoint formula backwards: double the midpoint's coordinate, then subtract the known endpoint's coordinate, once per axis. If the midpoint is (4, 3) and one endpoint is (1, 5), the other endpoint is (2 × 4 − 1, 2 × 3 − 5) = (7, 1). The Find an Endpoint mode of the calculator does this and checks its own answer.

What is the midpoint of (−3, 5) and (7, −1)?

Average the x-coordinates: (−3 + 7) ÷ 2 = 2. Average the y-coordinates: (5 + (−1)) ÷ 2 = 2. The midpoint is (2, 2). Negative coordinates change nothing about the method — the signs partly cancel inside the sums, which is exactly what should happen when the endpoints sit on opposite sides of an axis.

Is the midpoint the same as the average of the two points?

Yes — that is precisely what it is, as long as the average is taken coordinate by coordinate. The midpoint is also the centre of the segment: it is the same distance from both endpoints, so you can always check an answer by measuring both halves with the distance formula and confirming they match.

Is this midpoint calculator free?

Yes — every tool on Math Solver Free is completely free, with no sign-up and no usage limits. The midpoint, endpoint and distance calculations all run in your browser, so the coordinates you enter never leave your device.

Related Tools & Guides

About the Math Solver Team

The Math Solver Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team