This test grade calculator converts a raw test score into a percentage and a letter grade. Enter the number of questions (or total points) and how many you got right or wrong; you get the percent score, the letter grade on the scale you choose, and a grading chart showing the percentage for every possible number of wrong answers, the quick reference teachers use when marking a stack of tests.
How to calculate a test grade
A test grade is the share of available points you earned, written as a percent:
percent = points earned ÷ points possible × 100 points earned = total − points missed
On a 40-question test, each question is worth 100 ÷ 40 = 2.5 percentage points. Missing 6 questions costs 15 points, so 34 correct is 85%. If questions carry different point values, use points instead of question counts: earned points over possible points.
Worked examples
- 34 out of 40: 34 ÷ 40 × 100 = 85.00%, a B on the plus/minus scale and on the 10-point scale; the 7-point scale also calls it a B.
- 45 out of 50: 45 ÷ 50 = 0.90, or 90.00%: an A− on the plus/minus scale and an A on the 10-point scale.
- 3 wrong out of 25: 22 ÷ 25 × 100 = 88.00%, a B+. Each question on a 25-question quiz is worth 4%.
- Half points: 37.5 points out of 40 is 93.75%, an A.
- 20 out of 30: 66.67%, a D on both the 10-point and the plus/minus scale (D+ starts at 67%).
Percent per question for common test lengths
| Questions | Each question is worth | 1 wrong | 3 wrong | 5 wrong |
|---|---|---|---|---|
| 10 | 10% | 90% | 70% | 50% |
| 20 | 5% | 95% | 85% | 75% |
| 25 | 4% | 96% | 88% | 80% |
| 30 | 3.33% | 96.67% | 90% | 83.33% |
| 40 | 2.5% | 97.5% | 92.5% | 87.5% |
| 50 | 2% | 98% | 94% | 90% |
| 100 | 1% | 99% | 97% | 95% |
How many questions can you miss?
Flip the formula to plan ahead: the number you can miss is total × (100 − target percent) ÷ 100, rounded down. For a 90% on a 40-question test, 40 × 10 ÷ 100 = 4 misses. For an 80% on a 35-question test, 35 × 20 ÷ 100 = 7 misses (28 ÷ 35 = exactly 80%). For a 70% on a 22-question quiz, 22 × 0.30 = 6.6, so you can miss 6 (72.73%) but not 7 (68.18%).
Letter grade scales
US schools mostly use one of three scales. The plus/minus scale (A 93+, A− 90–92.99, B+ 87–89.99, B 83–86.99, B− 80–82.99, and so on down to D− at 60) is the college standard. The 10-point scale (A 90+, B 80+, C 70+, D 60+) is common in K–12. Some districts use a stricter 7-point scale (A 93+, B 85+, C 77+, D 70+), where anything below 70 fails. Pick the one from your syllabus; the chart updates with it.
The percentage is rounded to two decimals before the letter is assigned, so 89.996% counts as 90.00%. Teachers who round to whole numbers may treat 89.5% as an A−.
Using the grading chart
The chart lists every possible number of wrong answers, from a perfect paper down to the first score below 50%, with your result in bold. Teachers can print it once per test length and grade quickly by counting misses. For tests longer than 40 questions, the chart steps by 2 or more wrong answers to stay readable; the main result is always exact.
Tips and common mistakes
- Bonus questions: do not add bonus points to the total possible; add them only to points earned. The calculator caps earned points at the total, so for scores above 100% use the percentage calculator.
- Wrong-answer penalties: if a test deducts points for wrong answers (for example, −0.25 per miss to discourage guessing), subtract the penalty from points earned before entering the score.
- Partial credit: enter decimals, such as 37.5 points, instead of rounding to whole questions.
- Weighted sections: if multiple-choice and essay sections are scored separately with different weights, find each section’s percent here and combine them in the grade calculator.
- Curves: a curve that adds a flat number of points shifts the whole chart; a curve that scales to the top score divides by the top score instead of the total.
Related calculators
- Grade Calculator – weighted class average
- Final Grade Calculator – score needed on the final
- GPA Calculator – 4.0-scale GPA from letter grades
- Percentage Calculator
- Percent Error Calculator
Frequently Asked Questions
What is 34 out of 40 as a grade?
34 ÷ 40 × 100 = 85%, which is a B on both the plus/minus and the 10-point grading scales.
How many questions can I miss and still get an A?
On the 10-point scale you need 90%, so you can miss 10% of the questions: 2 of 20, 5 of 50 or 10 of 100. On the plus/minus scale, a solid A (93%) allows 7% wrong.
How do I calculate a test score with different point values?
Add up the points you earned and divide by the total points possible, then multiply by 100. Enter points instead of question counts in the calculator.
What percent is each question worth?
Divide 100 by the number of questions. On a 25-question test each question is worth 4%, and on a 30-question test about 3.33%.
Is 69.5% a D or a C?
Strictly it is a D+ (plus/minus scale) or a D (10-point scale), because the C− cutoff is 70%. Some teachers round half points up, which would make it a 70%.