How to calculate a test grade from the number of questions wrong
Subtract the number wrong from the total, divide by the total and multiply by 100. That gives the percentage; the letter grade comes from your school's scale. Here is the method, a shortcut for marking a whole class, and the mistakes that change a grade.
The formula
Score = (total − number wrong) ÷ total × 100. On a 30-question test with 4 wrong, the student got 26 right: 26 ÷ 30 = 0.8667, which is 86.67%.
If you already know the number right, skip the subtraction: right ÷ total × 100. The test grade calculator accepts either and gives the letter grade at the same time.
The per-question shortcut
Each question is worth 100 ÷ total percentage points. On a 20-question test each one is worth 5%, on a 25-question test 4%, and on a 40-question test 2.5%. Subtract that value once for every wrong answer.
That is how a printed grading chart works: you count the wrong answers on a paper, find that row, and read the score. The calculator builds the full chart for any test length, which is faster than working each paper out separately.
What each question is worth
| Questions | Each question worth | Wrong answers allowed for 90% (A) | Wrong answers allowed for 80% (B) |
|---|---|---|---|
| 10 | 10% | 1 | 2 |
| 20 | 5% | 2 | 4 |
| 25 | 4% | 2 | 5 |
| 30 | 3.33% | 3 | 6 |
| 40 | 2.5% | 4 | 8 |
| 50 | 2% | 5 | 10 |
| 100 | 1% | 10 | 20 |
On a small screen, scroll the table sideways if needed.
Tests with different point values
When questions carry different marks, work in points instead. If a test has 10 one-point questions, 5 three-point questions and one 15-point essay, it is out of 40 points. A student who loses 2 one-point questions, one three-point question and 4 essay points has lost 9 points, so the score is 31 ÷ 40 = 77.5%.
Partial credit works the same way. Add up the points earned across the whole test before dividing.
From percentage to letter grade
Most US schools use A for 90% and above, B for 80–89%, C for 70–79%, D for 60–69% and F below 60%. Schools with plus and minus grades split each band, for example B+ at 87–89% and B− at 80–82%. Some schools set an A at 93% or use a 65% pass mark, so the syllabus is the final word. Our letter grade to percentage chart lists every band with its GPA points.
Outside the US, scales are different again. UK university marks treat 70% as a First, which our UK degree classification calculator covers.
What one test does to a course grade
A single test is usually one part of a course grade. To see how it moves the overall grade, work out the weighted average of all your marks, as explained in how to calculate a weighted grade. If a final exam is still to come, the final grade calculator shows the score you need on it.
Quick answers
What grade is 18 out of 20?
90%, an A on the standard scale (A− on the plus/minus scale).
What grade is 7 wrong out of 30?
23 right out of 30 is 76.67%, a C on the standard scale and a C on the plus/minus scale.
What grade is 40 out of 50?
80%, the bottom of the B range.
Should I round 89.5% to an A?
Only if your school's policy says so. Many teachers round to the nearest whole percentage, which makes 89.5% a 90%, but others don't round at all.
Also useful: Final Grade Calculator · Percentage Calculator