Test Grade Calculator

A test grade is worked out from the marks you earned and the marks available. First find the percentage: correct answers ÷ total questions × 100. Then match the percentage to a letter grade: A is 90–100, B is 80–89, C is 70–79, D is 60–69, and F is below 60.

This test grade calculator finds your percentage and letter grade from correct answers and total questions, or from points earned and total points. Type the numbers in, press Calculate, and the grade appears with the working shown underneath.

How this calculator works

The percentage is correct answers divided by total questions, times 100. For example, 45 correct out of 50 is 45 ÷ 50 × 100 = 90%.

The letter grade follows the common scale: A 90–100, B 80–89, C 70–79, D 60–69, and F below 60. So 90% is an A, 85% is a B, and 70% is a C.

Grading scales vary by school and teacher, so a letter from this calculator is based on the common scale above. Your own school may use different cutoffs, extra credit, or weighted marks.

Worked examples

45 out of 50 — 90%, grade A

45 correct out of 50 is 90%, which is an A. The calculation is 45 ÷ 50 × 100 = 90%, and 90% is in the 90–100 range for an A.

17 out of 20 — 85%, grade B

17 correct out of 20 is 85%, which is a B. The calculation is 17 ÷ 20 × 100 = 85%, and 85% is in the 80–89 range for a B.

7 out of 10 — 70%, grade C

7 correct out of 10 is 70%, which is a C. The calculation is 7 ÷ 10 × 100 = 70%, and 70% is in the 70–79 range for a C.

Grade table

The letter grade comes from the percentage:

PercentageLetter grade
90–100A
80–89B
70–79C
60–69D
Below 60F

Frequently asked questions

How do I calculate a test grade?

Divide the correct answers by the total questions, then multiply by 100 to get the percentage: 45 ÷ 50 × 100 = 90%. Then match the percentage to a letter grade: 90–100 is an A, 80–89 a B, 70–79 a C, 60–69 a D, and below 60 an F.

How do I calculate a grade from 20 questions?

Divide the correct answers by 20 and multiply by 100. For example, 17 correct out of 20 is 17 ÷ 20 × 100 = 85%, which is a B.

What is 90% as a grade?

90% is an A on the common grading scale, which gives A for 90–100. Grading scales vary by school and teacher, so your school may use a different cutoff.

What is a passing grade?

A passing grade is usually a D or higher (60% or more) on the common scale, but it varies by school and teacher. Some courses require a C (70%) or higher to pass, so check your school’s rule.

How many questions do I need right for an A?

Multiply the total questions by 0.9, then round up to a whole question. For 50 questions you need 50 × 0.9 = 45 correct; for 20 questions you need 20 × 0.9 = 18 correct.

What if my test uses points instead of questions?

Use the same method with points: points earned ÷ total points × 100. For example, 27 points out of 30 is 27 ÷ 30 × 100 = 90%, which is an A.

Related tools