Skip to content

How to calculate a test grade (and how many questions you can miss)

A grid of 25 questions with 4 marked wrong: 21 out of 25 is 84 percent, a B, with each question worth 4 percent

A test grade is the share of questions you got right, written as a percentage. The maths takes ten seconds once you know it, and it tells you exactly how much each question is worth.

The formula

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

If you know how many you got right instead, it’s simply right ÷ total × 100.

Worked example

A test has 25 questions and you got 4 wrong.

  1. Questions right: 25 − 4 = 21
  2. Score: 21 ÷ 25 × 100 = 84%
  3. On the common A+ to F scale, 84% is a B.

Each question was worth 100 ÷ 25 = 4%. One fewer mistake would have been 88%, a B+. The test grade calculator works this out for any test and lists how many you can miss for every letter.

What each question is worth

The shorter the test, the more each question counts:

Questions Each question Most you can miss for an A (93%) For a B (83%) For a C (73%)
10 10% 0 1 2
20 5% 1 3 5
25 4% 1 4 6
30 3.33% 2 5 8
40 2.5% 2 6 10
50 2% 3 8 13

On a 10-question quiz, a single mistake drops you to 90%, an A-. On a 50-question test you can miss three and still get an A. If your class uses the simple 90/80/70/60 scale, an A allows more misses: 1 on a 10-question quiz, 5 on a 50-question test.

When questions are worth different points

Many tests mix 1-point and 5-point questions, or give partial credit. Then count points instead of questions:

Test grade = points earned ÷ points possible × 100

On a 50-point test where you lost 3.5 points, that’s 46.5 ÷ 50 × 100 = 93%, an A. Switch the calculator to points to enter halves.

Extra credit and curves

  • Extra credit adds points earned without adding points possible, so 52 out of 50 is 104%.
  • Curves change scores after grading. If your teacher curves the test, the grade curve calculator shows the common methods.

Common questions

How do I find out what my test does to my class grade? Put the test score into the what-if grade calculator along with your current grade and how much tests count.

What’s 17 out of 20 as a percentage? 17 ÷ 20 × 100 = 85%, which is a B on the common scale.

What’s 38 out of 45? 38 ÷ 45 × 100 = 84.44%, a B.

Is a 4 wrong out of 25 a good score? It’s 84%, a solid B. To reach an A on the common scale you could miss only one question.

Your school's rules come first. Weights, rounding and grading scales vary by school and teacher. Check your syllabus or ask your teacher when a few points matter.