The midpoint of a segment on a number line is the average of its endpoints: add the two endpoint coordinates and divide by 2. For a segment running from −3 to 7, the midpoint is (−3 + 7) ÷ 2 = 2. That only works in one dimension. The same question for a point in a plane needs a different formula, and mixing the two up is the most common error students make with this skill.
Why the Midpoint Is the Average of the Endpoints
The definition is worth stating plainly because it drives every worked example below. The midpoint M of segment AB is the point that splits AB into two congruent pieces, so AM = MB. On a number line, distances are absolute differences between coordinates, which means M must sit the same distance from a as it does from b.
Write that condition as an equation and the average falls out. If |m − a| = |b − m| and m lies between a and b, then m − a = b − m, so 2m = a + b and m = (a + b) ÷ 2. The formula isn't a convention someone picked; it's the only value satisfying the equal-distance condition. Sage's Mathematics for the Liberal Arts presents the same derivation through the coordinate plane before specializing to one dimension.
One consequence surprises people: the average can be non-integer, and that's fine. Endpoints at 2 and 5 give a midpoint of 3.5, which is a perfectly legitimate coordinate on a real number line. A midpoint of 3.5 sits halfway between 3 and 4; it isn't "not a real point."
Another consequence is that order never matters. (a + b) ÷ 2 and (b + a) ÷ 2 are identical, so you can plug the endpoints in whichever order is convenient. What does matter is sign: −7 + 4 = −3, not 11. Sign handling is where most errors happen, and the worked examples below treat it explicitly.
The Three-Step Routine for Any Number Line Pair
This routine works for every pair of real endpoints, including negatives, fractions, and decimals. Follow it in order and the arithmetic stays clean.
1: Label the endpoints a and b. Write them down with their signs attached. If a point sits at −9, write "a = −9," not "a = 9." 2: Add the coordinates. Combine a + b as a single signed sum. Do this before dividing so you only carry one number forward. 3: Divide the sum by 2. Report the result as the coordinate of M. If the answer is a fraction or decimal, leave it exact unless the problem specifies rounding.
Failure handling: if your answer falls outside the interval between the two endpoints, you've made a sign error or divided by the wrong number. Recheck step 2 first, since addition errors are more common than division errors. If the sum is odd, expect a decimal or fraction rather than forcing an integer.
Worked Examples With Negative Coordinates
Signed arithmetic is the main failure mode on number line midpoint problems, so these examples stress it. The setup matches what a typical homework item looks like: two labeled points, no grid, answer as a coordinate.
Example 1: −12 and 4. Sum: −12 + 4 = −8. Midpoint: −8 ÷ 2 = −4. Check: distance from −12 to −4 is 8; distance from −4 to 4 is 8. Correct.
Example 2: −7 and −3. Sum: −7 + (−3) = −10. Midpoint: −10 ÷ 2 = −5. Both endpoints are negative, so the midpoint must be negative too, and −5 sits between them.
Example 3: −1.5 and 2.5. Sum: −1.5 + 2.5 = 1.0. Midpoint: 1.0 ÷ 2 = 0.5. Decimals behave exactly like integers here.
A useful sanity rule: the midpoint always lies strictly between the two endpoints unless the endpoints coincide. If your computed value sits outside that interval, the arithmetic is wrong. Common Core standard 6.NS.8 puts this skill in sixth grade, and the signed-coordinate version shows up in the high school geometry standards later.
The Missing Endpoint Problem, Solved by Rearranging
Sometimes the midpoint is given and one endpoint is missing. The formula rearranges cleanly: if M = (a + b) ÷ 2, then b = 2M − a. Double the midpoint, subtract the known endpoint, and you have the unknown one.
Suppose M = 5 and A = −2. Then B = 2(5) − (−2) = 10 + 2 = 12. Verify: (−2 + 12) ÷ 2 = 10 ÷ 2 = 5. Correct.
Suppose M = −1.5 and A = 4. Then B = 2(−1.5) − 4 = −3 − 4 = −7. Verify: (4 + (−7)) ÷ 2 = −3 ÷ 2 = −1.5. Correct.
The sign trap here is the subtraction of a negative. In the first example, 10 − (−2) is 12, not 8. If you drop that sign flip, the endpoint comes out two units off in either direction depending on which side you're on.
A related variant gives the midpoint and asks which of several listed points is the other endpoint. Solve for b in one step and compare, rather than testing each candidate through the full formula. The rearrangement is faster and less error-prone.
Fractions and Decimals: Exact Answers, No Rounding Needed
The formula doesn't change for non-integer endpoints, but the arithmetic does. Here are three cases with exact answers.
Halves: endpoints at 1/4 and 3/4 give a sum of 1 and a midpoint of 1/2. Endpoints at −1/2 and 1/2 give a sum of 0 and a midpoint of 0 — the origin is exactly halfway between a number and its opposite, which is a useful fact to remember.
Thirds: endpoints at −2/3 and 4/3 give a sum of 2/3 and a midpoint of 1/3. Find a common denominator before adding; −2/3 + 4/3 works without adjustment, but 1/2 + 1/3 requires rewriting both as sixths (3/6 + 2/6 = 5/6, midpoint 5/12).
Decimals: endpoints at 0.35 and 0.85 give a sum of 1.20 and a midpoint of 0.60. Line up the decimal points before adding, and keep the trailing zero logic straight: 0.35 + 0.85 = 1.20, then 1.20 ÷ 2 = 0.60.
One precision issue matters in practice. If the problem says "round to the nearest tenth," compute the exact midpoint first and round last. Rounding intermediate values, such as the sum, can shift the final answer. The default in most textbooks is to leave the answer exact unless told otherwise, per the standard practice of reporting the most precise value the computation supports.
Midpoint Versus Distance: Two Different Formulas on the Same Segment
These two skills get taught in the same unit and are easy to confuse. The midpoint asks where the center is; distance asks how long the segment is. Here they are side by side for the segment from −5 to 9.
| Question | Formula | Work on −5 to 9 | Result |
|---|---|---|---|
| Where is the midpoint? | (a + b) ÷ 2 | (−5 + 9) ÷ 2 = 4 ÷ 2 | 2 |
| How long is the segment? | |b − a| | |9 − (−5)| = |14| | 14 units |
| Half the segment length | |b − a| ÷ 2 | 14 ÷ 2 | 7 units |
The midpoint coordinate (2) and half the length (7) are different numbers with different units of meaning — one is a location, the other is a distance. Mixing them up produces answers that look plausible but are wrong. A quick self-check: the midpoint should always fall between the endpoints, while the distance should not.
A second check ties the two together. From the midpoint, subtract half the length to recover one endpoint, and add it to recover the other. For the example above, 2 − 7 = −5 and 2 + 7 = 9, which returns the original endpoints exactly.
Why the Formula Fails in Two Dimensions
The average-of-coordinates trick is a one-dimensional shortcut. In the coordinate plane, the midpoint of a segment from (x₁, y₁) to (x₂, y₂) is found by averaging each coordinate separately: ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). You cannot average the points' distances from the origin or apply the number line formula to a single "coordinate" of a 2D point.
The distinction matters for word problems. A question asking for the midpoint "on a number line" is a one-dimensional problem; a segment connecting two ordered pairs is not, even if the y-coordinates happen to be equal. Textbooks introducing the coordinate-plane version, such as the treatment in OpenStax's Elementary Algebra, present the two-coordinate formula from the start precisely to prevent that crossover.
A related confusion involves the number line itself. A number line is a one-dimensional coordinate system: every point has exactly one coordinate, and "between" is unambiguous. In two dimensions, betweenness isn't defined by coordinate alone, which is why the formula must be applied to each axis independently. If you catch yourself writing a single number as the midpoint of an ordered pair, you've collapsed a 2D problem into a 1D one.
Finding the Midpoint Without the Formula
There are practical reasons to have a second method. Checking your formula work, estimating before calculating, and explaining the concept to someone else all benefit from a geometric approach.
On a physical number line, the midpoint is the fold point. Mark both endpoints, fold the line so the marks coincide, and the crease lands at the midpoint. This is the visual version of the equal-distance definition and requires no arithmetic.
Numerically, count units. For endpoints at −8 and 6, the total span is 14 units. Half is 7. Starting from −8 and stepping 7 units right lands at −1; starting from 6 and stepping 7 units left also lands at −1. The two directions agreeing is a built-in check.
For estimates on awkward decimals, the counting method gives a fast ballpark. Endpoints at 1.9 and 8.4 span 6.5 units, so the midpoint sits about 3.25 units from either end, near 5.1. The exact computation confirms 5.15. Estimation first, exact calculation second, is the habit that catches arithmetic slips before they cost a homework grade.
When the Midpoint Is the Answer to Something Else
Midpoints show up as intermediate values in problems that don't ask for them directly, and recognizing that saves time. If a question asks which point is equidistant from two given points on a number line, the answer is the midpoint. If a question asks for the point that separates a segment into a ratio of 1:1, that's also the midpoint.
The most common hidden use is in "which point is closer to X" problems. Compute the midpoint of the two candidate points; any X on one side is closer to the nearer endpoint, and X exactly at the midpoint is equidistant. Finding the midpoint turns a comparison into a single test.
A caution for ratio problems: a point that divides a segment in a 1:1 ratio is the midpoint, but a 2:1 ratio is not. The midpoint formula only handles the even split. For other ratios, you weight the endpoints by the parts of the ratio — closer to the endpoint with the larger share — which is a different computation. Problems specifying "closer to" one endpoint are signaling a ratio, not a midpoint.
Textbook problem sets typically sequence these skills within a single lesson, so a mid-chapter question may be a distance, a midpoint, or a ratio depending on the chapter's aim. Reading the question for "halfway" or "equidistant" is the tell; otherwise you're computing the wrong quantity.
Quick Checks Worth Running Before You Turn the Page
Three checks catch nearly every midpoint error. Slide them into your routine and the skill becomes reliable rather than fragile.
Check the interval. The midpoint must lie strictly between the endpoints. If your answer is outside, you've made a sign error or divided wrong. This one check catches the majority of mistakes on signed problems.
Check the direction. From the midpoint, the distance to each endpoint should be equal. Compute both distances; if they differ, redo the addition.
Check the sign. If both endpoints are positive, the midpoint must be positive. If both are negative, the midpoint must be negative. If the endpoints have opposite signs, the midpoint's sign matches whichever endpoint is farther from zero. A midpoint with a sign that violates these rules is wrong regardless of magnitude.
These checks cost a few seconds each and are enough to catch the errors that cost points. They also build the instinct for what an answer should look like before you write it down, which is the difference between a formula you can apply and a concept you understand.
FAQ
Is the midpoint of a segment always a whole number?
No. The midpoint is a whole number only when the sum of the endpoints is even. Endpoints at 2 and 5 sum to 7, so the midpoint is 3.5. Endpoints at −4 and 1 sum to −3, so the midpoint is −1.5. This is not an error; coordinates between the labeled integers are perfectly valid points on the number line.
What if I add the absolute values instead of the signed coordinates?
You'll get the wrong answer. For endpoints at −9 and 3, the signed sum is −6 and the midpoint is −3, but adding absolute values gives 12 and a midpoint of 6, which doesn't even lie between the endpoints. Treat the sign as part of the coordinate, not as a separate label.
How do I find a missing endpoint when I know the midpoint?
Rearrange the formula to b = 2M − a. With M = 4 and a = −3, the missing endpoint is 2(4) − (−3) = 8 + 3 = 11. The sign flip in subtracting a negative is the step that trips people up, so verify by plugging both endpoints back into the average.
Is the midpoint formula the same on the coordinate plane?
Not quite. In two dimensions you average each coordinate separately, so the midpoint of (x₁, y₁) and (x₂, y₂) is ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Applying the single-number formula to a 2D point produces an answer with the wrong structure, and the coefficient-averaging version is the one that generalizes correctly.
What's the difference between the midpoint and half the length of a segment?
They're different quantities. The midpoint is a location, computed by averaging the two endpoints. Half the length is a distance, computed by taking the absolute difference of the endpoints and dividing by 2. For the segment from −6 to 10, the midpoint is 2 and half the length is 8; they're both derived from the same two numbers but mean different things.
Can the midpoint of two points be the same as one of the points?
Only if both endpoints are the same point. If a segment's endpoints are distinct, the midpoint lies strictly between them and can't coincide with either. An answer equal to an endpoint indicates an arithmetic error, usually in the division step.
Why do teachers mark 3.5 wrong if the answer should be a fraction?
Some courses require fractions rather than decimals for exactness, and some require decimals for uniformity. Check the instructions for the lesson; both represent the same number and neither is mathematically incorrect unless the format is specified. When in doubt, report the exact value in the form the lesson's examples use.