Math & numbers
How to Calculate a Weighted Grade (and What You Need on the Final)
Work out your course grade when assignments count differently, find the score you need on the final exam, and calculate a GPA from credits. With worked examples.
Updated · 4 min read
A plain average treats every grade the same, but most courses don't. A final exam usually counts much more than a homework assignment, so a simple average of your scores can be several points off. A weighted average gives you the real number.
The weighted grade formula
Weighted grade = (score₁ × weight₁ + score₂ × weight₂ + …) ÷ (weight₁ + weight₂ + …)
If the weights add up to 100%, you can skip the division.
Worked example
Your syllabus says homework is 20%, the midterm 30% and the final 50%.
| Category | Score | Weight | Score × weight |
|---|---|---|---|
| Homework | 92 | 0.20 | 18.4 |
| Midterm | 78 | 0.30 | 23.4 |
| Final | 85 | 0.50 | 42.5 |
| Total | 1.00 | 84.3 |
Your course grade is 84.3%. A plain average of the three numbers gives 85, which overstates it, since the weak midterm counts more than the strong homework.
Grades based on points
Some teachers use points rather than percentages. Then there's nothing to weight: add up what you earned and divide by what was possible.
A student with 42/50, 18/20 and 71/100 has 131 out of 170 points, which is 77.1%. Averaging the three percentages (84, 90 and 71) gives 81.7%, which is wrong, as the 100-point test carries more points.
If each score is out of a different maximum and categories have weights, convert each score to a percentage first with the percentage calculator, then apply the weights.
Your grade so far
Midway through a term, part of the weights are still open. Divide by the weights you've actually completed.
With only homework (92, 20%) and the midterm (78, 30%) graded:
(18.4 + 23.4) ÷ 0.50 = 83.6%
Leaving out the division would give 41.8, which looks alarming but simply means half of the course hasn't happened yet.
What do I need on the final?
This is the question most people arrive with. The formula is:
Needed final = (target − current × (1 − final weight)) ÷ final weight
Suppose you have 84% going into a final worth 30%, and you want 85% overall:
(85 − 84 × 0.70) ÷ 0.30 = (85 − 58.8) ÷ 0.30 = 87.3%
What about holding a B of 80% with the same numbers?
(80 − 58.8) ÷ 0.30 = 70.7%
If the result is over 100, the target can't be reached without extra credit. If it's negative, you've reached the target already. The grade calculator has a final exam mode that answers this directly.
How much can one exam move your grade?
The weight of an exam sets the limit. A final worth 20% can change your grade by at most 20 points, and only if you go from one extreme to the other. In practice, 10 points better on that final raises your course grade by 2 points. On a final worth 50%, the same 10 points are worth 5.
That's useful when you divide your study time. A quiz worth 2% rarely deserves the same effort as a project worth 25%.
Calculating a GPA
GPA is also a weighted average, but the weights are credits. On the US 4.0 scale, each letter has a point value.
| Course | Grade | Points | Credits | Points × credits |
|---|---|---|---|---|
| Biology | A | 4.0 | 3 | 12.0 |
| Calculus | B | 3.0 | 4 | 12.0 |
| History | A− | 3.7 | 3 | 11.1 |
| Total | 10 | 35.1 |
GPA = 35.1 ÷ 10 = 3.51
Point values vary slightly between schools. Some count an A+ as 4.3, while others cap it at 4.0, and plus and minus grades aren't used everywhere. Check your school's scale before you rely on the result.
Combining terms
To get a cumulative GPA, don't average two semester GPAs. Use the credits. A 3.2 over 60 credits plus a 3.8 over 15 credits gives:
(3.2 × 60 + 3.8 × 15) ÷ 75 = (192 + 57) ÷ 75 = 3.32
The plain average of 3.5 is too high, because the second term is much smaller. It also shows why a GPA gets harder to change the further along you are.
Other grading systems
The same weighted method works for any scale, even where lower numbers are better. German universities, for example, use a scale from 1.0 (best) to 5.0, and they weight grades by ECTS credits. A 1.3 in a 10-credit module counts twice as much as a 2.0 in a 5-credit module.
Converting between systems is a different matter. There's no single official formula for turning a German grade into a US GPA, and universities each have their own rules. If a conversion matters for an application, use the method the institution asks for.
Check your syllabus first
The math only works with the right rules. Many courses drop the lowest quiz, cap extra credit, or require a minimum score on the final to pass at all. A calculator can't know any of that, so read the syllabus and ask if something is unclear.