CalcSeed

Midpoint Calculator

Average two numbers with (a + b) / 2 to find the point exactly halfway between them.

=
Quick answer: with the default inputs (2, 8), the midpoint is 5. Change any input to update the result.
Midpoint
—

What this calculator does

Enter two numbers and the calculator returns the value exactly halfway between them. At the defaults, the midpoint of 2 and 8 is (2 + 8) ÷ 2 = 5, sitting 3 units from each endpoint. You can also work backwards: give it the midpoint and one endpoint and it recovers the other endpoint, because the same equation rearranges both ways. The tool is the one-dimensional version of the midpoint formula used in coordinate geometry.

The midpoint formula

midpoint=a+b2midpoint = \frac{a + b}{2}

The formula is the two-point average, and the division by 2 is what guarantees equal distances. Call the midpoint m; then a + b = 2m rearranges to m − a = b − m, which is the algebraic statement that m sits equidistant from both endpoints. That same rearrangement, run in reverse, is how the calculator recovers a missing endpoint: b = 2m − a, so with a midpoint of 5 and an endpoint of 2, the other endpoint is 2 × 5 − 2 = 8.

Midpoints on a number line

On a number line the midpoint is the center of symmetry between two points. From 2 to 8 the gap is 6 units, half of which is 3, and 2 + 3 = 5 lands exactly halfway. This half-the-gap reading gives a second mental method: add half the distance to the lower endpoint. It also explains why the midpoint of two integers can be a half-integer — 2 and 7 have a gap of 5, so the midpoint is 2 + 2.5 = 4.5, a legitimate answer even though neither endpoint is fractional.

Worked example at the defaults

Sum, divide, verify

  • Endpoints: a = 2 and b = 8.
  • Sum: 2 + 8 = 10.
  • Divide by 2: 10 ÷ 2 = 5.
  • Distance check: 5 − 2 = 3 and 8 − 5 = 3, so the midpoint is equidistant.

The reverse direction runs just as cleanly. Given the midpoint 5 and one endpoint 2, the missing endpoint is b = 2 × 5 − 2 = 8, which doubles the midpoint and subtracts the known side. Practical version: a store sits at mile marker 5 on a highway and your warehouse is at marker 2; a distribution center placed at the midpoint serves both with an equal 3-mile drive, and if you know only the center and one location you can reconstruct the other.

Midpoints of common pairs

EndpointsMidpointHalf-gap
2 and 853
0 and 1005050
−4 and 1037
2 and 74.52.5
100 and 101100.50.5
−9 and −1−54

The negative rows are worth a look. From −4 to 10 the sum is 6, so the midpoint is 3 — closer to the −4 end in raw label but equidistant by construction, since 3 − (−4) = 7 and 10 − 3 = 7. From −9 to −1 the midpoint −5 again sits between two negatives. The formula never cares about signs; it only averages positions, which is why mixing positive and negative endpoints produces no surprises as long as you sum them as written.

What the midpoint is used for

  • Meeting logistics: two people at mile markers 2 and 8 share a fair midpoint at marker 5, with a 3-mile drive each.
  • Prorating and billing: halfway through a term that runs from day 2 to day 8 of a month falls on day 5, the exact midpoint of the span.
  • Coordinate geometry: the segment from (2, y1) to (8, y2) has x-midpoint 5, and the full 2D formula averages each coordinate separately.
  • Quality checks: the center of a tolerance band from 2 mm to 8 mm is 5 mm, the target the manufacturing process aims at.

The 2D extension is the same formula applied twice: the midpoint of (2, 3) and (8, 11) is ((2 + 8) ÷ 2, (3 + 11) ÷ 2) = (5, 7). Each coordinate is independent, so a mistake in one axis never contaminates the other.

Common mistakes

  • Subtracting instead of adding: (8 − 2) ÷ 2 = 3 is the half-gap, not the midpoint. The midpoint 5 equals the lower endpoint plus that half-gap, 2 + 3.
  • Averaging the wrong pair in a multi-point problem: the midpoint formula takes exactly two endpoints, and the average calculator is the right tool when three or more values all matter equally.
  • Dropping a negative sign: from −9 to −1 the sum is −10 and the midpoint is −5; summing magnitudes 9 + 1 = 10 gives +5, which is outside the segment entirely.
  • Expecting an integer output: the midpoint of 2 and 7 is 4.5, and rounding it to 4 breaks the equidistance check, since 4 − 2 = 2 but 7 − 4 = 3.

The distance check is the universal verifier: subtract the midpoint from both endpoints. Equal results with opposite reasoning — midpoint minus low endpoint and high endpoint minus midpoint — confirm the answer; unequal results mean an arithmetic slip in the sum or the division.

Midpoint, mean and symmetry

The midpoint of two numbers is their mean, so the concepts coincide here and diverge only with more data: three values have a mean but no single midpoint. The midpoint also anchors symmetry tests — if a list is symmetric around its midpoint, values equidistant below and above it match pairwise, which is exactly why the mean and median agree on the pair 2, 8. For line segments in the plane the midpoint joins the coordinate distance calculator as the standard pair of segment tools: distance gives the length, midpoint gives the center, and together they fully locate a segment’s geometry.

Frequently asked questions

How do I find the midpoint of two numbers?

Add them and divide by 2. For 2 and 8 that is (2 + 8) ÷ 2 = 5, which is 3 units from each endpoint.

Can I solve for a missing endpoint?

Yes. Double the midpoint and subtract the known endpoint: with midpoint 5 and endpoint 2, the other endpoint is 2 × 5 − 2 = 8.

Does the midpoint work for negative numbers?

Yes. From −4 to 10 the midpoint is (−4 + 10) ÷ 2 = 3, exactly 7 units from each end, and from −9 to −1 it is −5.

Can the midpoint be a decimal?

Yes. The midpoint of 2 and 7 is (2 + 7) ÷ 2 = 4.5. A half-integer midpoint is normal whenever the two endpoints have opposite parity.

Is the midpoint the same as the average?

For two values, yes — the midpoint is the two-point average. With three or more values the term average applies, while midpoint only describes the center of a two-point span.

Why is the midpoint of −4 and 10 closer to −4 in label but still fair?

The midpoint 3 satisfies 3 − (−4) = 7 and 10 − 3 = 7. Equal distance is measured on the number line, not by the size of the labels.

How do I find the midpoint of two points in 2D?

Average the x-coordinates and the y-coordinates separately. The segment from (2, 3) to (8, 11) has midpoint (5, 7).

What is the midpoint of 0 and 100?

50, since (0 + 100) ÷ 2 = 50. The half-gap is 50, so 50 is equidistant from both ends of the 0–100 scale.

How do I check a midpoint answer?

Subtract it from both endpoints. For a midpoint of 5 between 2 and 8: 5 − 2 = 3 and 8 − 5 = 3, so the distances match and the answer is verified.

Method and sources

Calculation basis

Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: November 19, 2026
Formula & data sources
  • Midpoint = (a + b) / 2.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 19). Midpoint Calculator. https://calcseed.com/c/math/midpoint-calculator/
MLA 9"Midpoint Calculator." CalcSeed, 19 Nov. 2026, calcseed.com/c/math/midpoint-calculator/.
ChicagoCalcSeed. "Midpoint Calculator." Last modified November 19, 2026. https://calcseed.com/c/math/midpoint-calculator/

Related calculators

More Math calculators