How to Calculate Your Grade With Weighted Categories
Work out your class grade from weighted categories like homework 20% and exams 40%: the formula, a worked example, and why your gradebook may differ.
Count the wrong answers, divide and read the letter. Here's the formula, what each question is worth, and the rounding rule that turns some A-minuses into As.

Twenty-eight quizzes on the kitchen table, a red pen and one question on repeat: what's 3 wrong out of 25 again? Students ask the same thing from the other side when a test comes back with only the number wrong at the top. The math takes one line, and a printed chart turns a whole stack into a lookup. Here's the formula, what each question is worth, and the rounding rule that quietly turns some A-minuses into As.

Divide the number right by the total, then multiply by 100:
score = right ÷ total × 100
If you counted wrong answers instead, the number right is the total minus the number wrong. A 25-question quiz with 3 wrong has 22 right: 22 ÷ 25 × 100 = 88%, a B+ on the common plus/minus scale. Each question on that quiz is worth 100 ÷ 25 = 4 percentage points, so every mistake costs 4%.
The fewer questions a test has, the more each one counts. Each question is worth 100 ÷ the number of questions: 10% on a 10-question quiz, 6.67% on 15, 5% on 20, 4% on 25, 3.33% on 30, 2.5% on 40 and 2% on 50. These scores come straight from the formula:
| Out of | 1 wrong | 2 wrong | 3 wrong |
|---|---|---|---|
| 10 | 90% | 80% | 70% |
| 15 | 93.3% | 86.7% | 80% |
| 20 | 95% | 90% | 85% |
| 25 | 96% | 92% | 88% |
| 30 | 96.7% | 93.3% | 90% |
| 40 | 97.5% | 95% | 92.5% |
| 50 | 98% | 96% | 94% |
So 3 wrong out of 20 is 85%, and 3 wrong out of 30 is 90%. One missed question on a 10-question quiz costs as much as five on a 50-question test.
It depends on the test length and on where your scale starts the A. On a plus/minus scale an A starts at 93%; on a simple scale, at 90%. Scores here keep one decimal and aren't rounded up:
| Out of | A from 93% | A from 90% |
|---|---|---|
| 10 | 0 wrong | 1 wrong (90%) |
| 15 | 1 wrong (93.3%) | 1 wrong (93.3%) |
| 20 | 1 wrong (95%) | 2 wrong (90%) |
| 25 | 1 wrong (96%) | 2 wrong (92%) |
| 30 | 2 wrong (93.3%) | 3 wrong (90%) |
| 40 | 2 wrong (95%) | 4 wrong (90%) |
| 50 | 3 wrong (94%) | 5 wrong (90%) |
When questions carry different weights, use points instead of questions. Say a test has 10 multiple-choice questions at 2 points, 4 short answers at 5 points and an essay worth 20: that's 20 + 20 + 20 = 60 points. A student who loses 7 points in total scores 53 ÷ 60 × 100 = 88.3%, a B+. Count points lost the same way you'd count wrong answers.
Half credit just means a fractional score: 18.5 out of 20 is 92.5%. That's where rounding starts to matter. At one decimal, 92.5% is an A- on the plus/minus scale. Rounded to a whole number, it becomes 93%, an A. The same thing happens at every cutoff: 89.5% is a B+, but rounded it's 90%, an A-.
Schools and teachers set their own rounding rules. Check the syllabus or grading policy before you round a score up, and use the same rule for every student.
Cutoffs vary between schools, but two US scales are common, and they're the two the calculator offers:
The scale changes the letter, not the score: 88% is a B+ on the first and a B on the second.
Working it out for every paper is slow. A grading chart lists the score for each possible number wrong, so marking becomes a lookup. Pocklit's test grade calculator makes one for any test:

Everything is worked out in your browser, so nothing you enter is sent anywhere.
A test score is usually one piece of a bigger grade. If tests, quizzes and homework each count for a share of the course, the weighted grade guide shows how to combine them, and what you need on your final works backward from the grade you're aiming for.
Divide the number right by the total number of questions or points, then multiply by 100. With 22 right out of 25, that's 22 ÷ 25 × 100 = 88%.
85%. Each question on a 20-question test is worth 5%, so 3 wrong leaves 17 right out of 20. That's a B on both the plus/minus and the simple scale.
On a plus/minus scale where an A starts at 93%, 92.5% is an A-, unless your school rounds scores to whole numbers: then it becomes 93%, an A. On a simple scale, where an A starts at 90%, it's an A either way.
100 ÷ 30 = 3.33% per question. One wrong is 96.7%, two wrong 93.3% and three wrong 90%.