A 20 question quiz
Paste a small example into the tool and change one part at a time.
17 of 20 answers are correct, so the grade is 85%, a B. Each question is worth 5%. In the chart, 2 wrong is 90%, an A-, and 4 wrong is 80%, a B-.
Enter the number of questions on a test and how many were wrong. You get the score as a percent, a letter and a fraction, and a grading chart with the score for every number of wrong answers.
Last updated
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
When every question counts the same, a test score is a fraction: the correct answers over the number of questions. Miss 3 of 20 and you have 17 correct, 17 / 20 is 0.85, and that is 85%. The calculator shows the percent, the letter grade, the fraction and what one question is worth, here 5% each.
Below the result is a grading chart, the table teachers call an easy grader. It has a row for every number of wrong answers from none to all of them, with the correct answers, the score and the letter for each. Set the number of questions once and you can grade a whole stack of papers by looking up each one's wrong answers. The chart opens on 20 questions and works for any test of 1 to 200 questions.
The letters follow the most common US scale with plus and minus: 93 and up is an A, 90 an A-, 87 a B+, down to a D- at 60 and an F below that. Schools and teachers set their own cutoffs, so treat the percent as the fact and the letter as a guide. Nothing you type leaves your browser.
Type how many questions the test has, from 1 to 200. The field starts at 20, and the grading chart below updates as you type.
Type how many questions were missed, as a whole number. If you counted the correct answers instead, subtract them from the number of questions first.
The result shows the score as a percent, the letter grade, the fraction of correct answers and what each question is worth.
To grade many papers, leave Wrong answers alone and use the chart: find the row for a paper's wrong answers and read its score and letter.
The most wrong answers that still earn each grade on the common scale, by the size of the test. Worked out with the same chart the calculator draws.
| Questions | Each is worth | For an A (93%) | For an A- (90%) | For a B- (80%) | For a C- (70%) | For a D- (60%) |
|---|---|---|---|---|---|---|
| 10 | 10% | 0 wrong | 1 wrong | 2 wrong | 3 wrong | 4 wrong |
| 15 | 6.67% | 1 wrong | 1 wrong | 3 wrong | 4 wrong | 6 wrong |
| 20 | 5% | 1 wrong | 2 wrong | 4 wrong | 6 wrong | 8 wrong |
| 25 | 4% | 1 wrong | 2 wrong | 5 wrong | 7 wrong | 10 wrong |
| 30 | 3.33% | 2 wrong | 3 wrong | 6 wrong | 9 wrong | 12 wrong |
| 40 | 2.5% | 2 wrong | 4 wrong | 8 wrong | 12 wrong | 16 wrong |
| 50 | 2% | 3 wrong | 5 wrong | 10 wrong | 15 wrong | 20 wrong |
| 100 | 1% | 7 wrong | 10 wrong | 20 wrong | 30 wrong | 40 wrong |
Paste a small example into the tool and change one part at a time.
17 of 20 answers are correct, so the grade is 85%, a B. Each question is worth 5%. In the chart, 2 wrong is 90%, an A-, and 4 wrong is 80%, a B-.
Copy the original value, run the tool, then compare the result.
31 / 35 is 88.57%, a B+. Each question is worth 2.86%, which is why mental arithmetic gets hard here and a chart saves time.
Wrong Correct Score Letter 0 20 100% A 1 19 95% A 2 18 90% A- 3 17 85% B 4 16 80% B- 5 15 75% C 6 14 70% C- 7 13 65% D 8 12 60% D- 9 11 55% F
Set the number of questions to 20 and the chart lists every possible paper. Count the wrong answers on each test and read across. From 9 wrong down, every row is an F on this scale.
questions = 25
for wrong in range(6): correct = questions - wrong score = correct * 100 / questions print(f"{wrong} wrong: {correct}/{questions} = {score:g}%")0 wrong: 25/25 = 100% 1 wrong: 24/25 = 96% 2 wrong: 23/25 = 92% 3 wrong: 22/25 = 88% 4 wrong: 21/25 = 84% 5 wrong: 20/25 = 80%
Each wrong answer on a 25 question test costs 4%. Change range(6) to range(questions + 1) to print every row, as the chart on this page does.
Divide the number of correct answers by the number of questions and multiply by 100. With 3 wrong out of 20 you have 17 correct, and 17 / 20 x 100 is 85%.
A chart teachers use to grade without arithmetic. It lists the score for every possible number of wrong answers on a test of a given length. The chart on this page is one: set the number of questions and look up each paper.
85%, which is a B on the common US scale used here. 18 out of 20 is 90%, an A-, and 16 out of 20 is 80%, a B-.
It depends on the length of the test. For a grade of 93% or more you can miss 1 of 20 questions, 3 of 50 or 7 of 100, and none on a 10 question quiz. For an A-, at 90%, it is 2 of 20, 5 of 50 and 10 of 100.
100 divided by the number of questions. That is 5% each on a 20 question test, 4% on 25 questions, 2.5% on 40 and 2% on 50. The result shows this number for your test.
Not here. Wrong answers are whole numbers, so a half point cannot be typed. For partial credit, or questions worth different amounts, use the Points mode of the grade calculator and enter the points earned and possible.
From 1 to 200. With 200 questions the chart has 201 rows, one for every number of wrong answers from 0 to 200.
On the scale used here 60% is a D-, the lowest grade above an F. Whether that passes depends on the school and the class: many high schools pass at 60 or 65, and many college programs need a C, around 70 or more, for a course to count.