Solving the Mean Formula for the Score You Still Need
Rearrange the average formula to find the test score that reaches your target, including weighted grades and final exams.
Key takeaways
- The score needed equals the target mean times the number of scores, minus the sum you already have.
- If the result exceeds the maximum possible score, the target cannot be reached under those rules.
- With several scores remaining, the formula gives the average you need on them, not each one.
- Weighted grades require multiplying each part by its weight before adding.
To find the score you still need, multiply your target average by the total number of scores, then subtract the sum of the scores you already have. If you want an 85 average on five tests and your first four add to 334, you need 5 × 85 - 334 = 91.
That one line is the mean formula solved for a missing value. The same approach handles several remaining tests and weighted grades, such as a final exam worth a set share of the course. The course syllabus decides which version applies to you.
The mean formula and its unknown
The mean, often called the average, is the sum of a set of values divided by how many there are. With n scores, written x₁, x₂ and so on up to xₙ:
M = (x₁ + x₂ + ... + xₙ)/n Suppose you know n - 1 of the scores and their sum is s. Call the missing score x. Then the formula reads M = (s + x)/n. Solve for x:
M = (s + x)/n
Mn = s + x (multiply by n)
x = Mn - s (subtract s) The product Mn has a clear meaning: it is the total number of points required for the five (or n) scores to average M. Subtracting s leaves the points still missing. If you prefer to see the general method for rearranging, it is described in solving a formula for a different variable.
A worked example, start to finish
Say your first four test scores are 78, 85, 91 and 80, each out of 100, and there will be five equally weighted tests. You want a mean of at least 85.
s = 78 + 85 + 91 + 80 = 334
total needed = 5 × 85 = 425
x = 425 - 334 = 91 Check by putting 91 back in: (334 + 91)/5 = 425/5 = 85.
Because you want at least 85, the real condition is an inequality: (334 + x)/5 ≥ 85, which gives x ≥ 91. Any score from 91 to 100 meets the goal.
When the answer is impossible or automatic
Raise the goal in the same example to 90. The total needed is 450, and 450 - 334 = 116. On a test scored out of 100 with no extra credit, that cannot happen.
The algebra is not wrong. It tells you that no allowed score reaches the target. You can find the best mean still available by using the maximum score: (334 + 100)/5 = 86.8.
At the other end, suppose you only want an average of 60. Then 300 - 334 = -34. A negative result means the target is already secured, since even a zero would leave a mean of 334/5 = 66.8.
So every use of this formula should end with a comparison against the allowed range, here 0 to 100. Algebra gives a number, and the context says whether it is a possible one. The same habit applies to all story problems, as in checking that an answer fits the story.
A shortcut using distances from the target
There is a second way to compute the answer that is often fast enough to do in your head. Compare each known score with the target and record the difference.
| Score | 78 | 85 | 91 | 80 |
|---|---|---|---|---|
| Score minus 85 | -7 | 0 | +6 | -5 |
The differences add to -6. For the mean to equal 85, all the differences, including the last, must add to zero. So the last score must be 6 above the target: 91.
This works because deviations from the mean always sum to zero. In symbols, (x₁ - M) + ... + (xₙ - M) equals the sum of the scores minus nM, which is zero by the definition of M.
The shortcut also makes tradeoffs visible. A score 7 points short of the target must be made up by 7 points of surplus somewhere else, in one test or spread over several.
More than one score remaining
Suppose there are six tests, you have the same four scores, and you still want 85. The required total is 6 × 85 = 510, so the two remaining tests must supply 510 - 334 = 176 points.
That fixes their sum, not the individual scores. They could be 88 and 88, or 76 and 100, or 95 and 81. The average needed on the remaining two is 176/2 = 88.
In general, with k tests remaining out of n, and s the sum so far:
average needed on the rest = (Mn - s)/k (k ≥ 1) If you write the two unknown scores as y and z, the condition y + z = 176 is a line of solutions. With each score limited to 100, y cannot be below 76, because z can contribute at most 100.
Weighted grades and the final exam
Many courses do not count every item equally. A weight is the fraction of the final grade that a part determines, and the weights add to 1. The result is a weighted mean.
Suppose your coursework average is 82 and counts for 70 percent, the final exam counts for 30 percent, and you want 85 overall.
0.70(82) + 0.30x = 85
57.4 + 0.30x = 85
0.30x = 27.6
x = 92 The general version, with current average C, final exam weight w and target T, is:
T = (1 - w)C + wx
x = (T - (1 - w)C)/w (w ≠ 0) With w = 0.30, C = 82 and T = 85, this gives (85 - 57.4)/0.3 = 92. Notice that the plain average of 82 and x would be the wrong model here. It would suggest that an 88 is enough, since (82 + 88)/2 = 85, but that treats the final as half the grade. For more on this structure, see weighted average equations.
A smaller w makes the needed score more extreme. If the final were worth only 10 percent, you would need (85 - 73.8)/0.1 = 112, which is out of reach on a 100-point exam.
Points-based courses
Some courses simply total points. Your grade is points earned divided by points possible. In that system a 200-point exam counts twice as much as a 100-point test.
Suppose you have 430 of 500 points so far, the final is worth 200, and you want 85 percent overall. The course total is 700 points, and 85 percent of 700 is 595. You need 595 - 430 = 165 points on the final, which is 82.5 percent of 200.
Do not average the percentages 86 and 82.5 and expect 85. The first is based on 500 points and the second on 200, so they carry different weights: (500 × 0.86 + 200 × 0.825)/700 = 595/700 = 0.85.
Seeing how the target changes the requirement
Treating the needed score as a function of the target shows how sensitive it is. With s = 334 and five tests, x = 5M - 334. This is a linear function of M with slope 5.
| Target mean M | 80 | 82 | 84 | 85 | 86 |
|---|---|---|---|---|---|
| Fifth score needed | 66 | 76 | 86 | 91 | 96 |
Each extra point of average costs 5 points on the remaining test, because one score is only one fifth of the mean. With ten tests, each extra point of average would cost 10 points on the last one. The later in a course you are, the harder the mean is to move.
You can reverse the question too. If you expect to score about 88 on the fifth test, the mean will be (334 + 88)/5 = 422/5 = 84.4. Solving for x and solving for M use the same equation; only the unknown changes.
A range of likely scores gives a range of outcomes. Scores from 80 to 95 on the last test would put the mean between 82.8 and 85.8. Planning with a range is often more useful than fixing on a single number.
Rules that change the calculation
Grading policies often include features the basic formula does not know about. Check for these before you plan.
- A dropped lowest score changes which values are in the sum and reduces n. You may need to try it both ways, since the new test could be the one dropped.
- Rounding policies matter. If a course states that 84.5 rounds up to 85, then five tests need a total of 422.5, so x = 88.5 in our example. Never assume rounding unless it is written.
- Curves, replacement exams, late penalties and minimum final exam scores can all override a computed value.
When a policy is unclear, ask the instructor. The algebra describes the rules you feed into it, nothing more.
Mistakes to avoid
- Multiplying the target by the number of scores you already have, when it should be the total number including the missing ones.
- Dividing s + x by n - 1.
- Mixing percentages and raw points in one sum.
- Treating a needed average on two tests as a requirement for each.
- Forgetting that weights must be decimals that add to 1.
As a final habit, substitute your answer back into the original mean or weighted formula. It takes a few seconds, and it catches nearly all of these.
Common questions
Can I use this outside school?
Yes. The same equation finds the sales needed in the last month to reach a monthly average, or the distance needed on a final training day to reach a weekly mean. Define n carefully and check that the answer is realistic and safe.
What does the formula look like in a spreadsheet?
If your known scores are in cells A1 through A4 and the target is in B1, an expression such as =5*B1-SUM(A1:A4) returns the needed fifth score. Change the 5 to match the total number of items.