Skip to content

Test grade calculator

Enter the number of questions and how many you got wrong to get your test score, letter grade and how many you could miss.

By Muhammad Afzal. Formula and worked example tested automatically. Updated .

Short answer Test grade = (total questions − number wrong) ÷ total questions × 100. A 25-question test with 4 wrong is 21 ÷ 25 = 84%. Each question is worth 100 ÷ the number of questions, so 4% here.

Your test
Count by
I know the number
Letter grade scale

Lowest percentage for each letter. Below D is an F. Saved in this browser for every calculator on the site.

Schools set their own scales. Compare common scales.

The formula

Test grade = (total − wrong) ÷ total × 100

If you know how many you got right instead, it's simply right ÷ total × 100. The same formula works for points: points earned ÷ points possible × 100.

Worked example

A test has 25 questions and you got 4 wrong.

  • Questions right: 25 − 4 = 21
  • Score: 21 ÷ 25 × 100 = 84%, a B on the A+ to F scale
  • Each question is worth 100 ÷ 25 = 4%, so one fewer mistake would have been 88%, a B+.

How many questions can you miss?

QuestionsEach questionMost you can miss for a 90% (A-)
1010%1
205%2
254%2
303.33%3
402.5%4
502%5
1001%10

To see how this test changes your class grade, use the what-if grade calculator. Teachers grading a stack of papers can print a full chart with the EZ grader.

Common questions

How do I calculate my test grade?
Subtract the number you got wrong from the total, divide by the total and multiply by 100. On a 25-question test with 4 wrong: (25 - 4) / 25 x 100 = 84%, a B on the common A+ to F scale.
How much is each question worth?
100 divided by the number of questions. On a 25-question test each question is worth 4%, on a 40-question test 2.5%, and on a 50-question test 2%.
How many questions can I miss and still get an A?
On the common scale an A starts at 93%, so you can miss up to 7% of the questions. That's 1 on a 20-question test, 2 on a 40-question test and 3 on a 50-question test. The table in the calculator shows every letter for your test.
What if questions are worth different points?
Switch to points and enter the total points on the test and the points you lost. Partial credit like 2.5 points works too.
I'm a teacher grading a whole class. Which tool should I use?
Use the EZ grader. It makes a printable chart of every possible score for a test, so you can grade a stack of papers without recalculating each one.

Check your syllabus. This calculator uses the numbers you enter. Your teacher's gradebook, weights, rounding rules and grading scale decide your official grade, and they can differ from the common scales used here.