← All blog posts

GPA Calculator formula — how it actually works

WhiteUI · A plain-English guide to the GPA Calculator

Every answer from the GPA Calculator comes from one idea: a GPA is a weighted average. Each grade is worth a number of points, and each course weights that grade by its credits. Here is the formula and what each part does.

The formula

GPA = sum(grade points × credits) ÷ sum(credits)
A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0

The top of the fraction adds up the grade points, with each grade multiplied by the credits of its course. The bottom adds up the credits. Dividing the two gives the average grade, weighted by how much each course counts.

Worked example

Four courses: an A in a 4-credit course, a B in a 3-credit course, a C in a 3-credit course, and an A in a 3-credit course. The grade points are (4 × 4) + (3 × 3) + (2 × 3) + (4 × 3) = 16 + 9 + 6 + 12 = 43, over 13 credits. Divide: 43 ÷ 13 = 3.31.

Grade points = 16 + 9 + 6 + 12 = 43
GPA = 43 ÷ 13 = 3.31

At a glance

GPA 3.31 is 82.7% of the 4.0 scale3.31 — your GPA0.69 to 4.00Two As and a B lift the GPA above 3.00.
A GPA of 3.31 is 82.7% of the way up the 4.0 scale.

The mistake to avoid

Dividing by the number of courses instead of the total credits. In the example above there are 4 courses but 13 credits, and 43 ÷ 4 = 10.75 is not a GPA at all. The divisor is always the total credits — 13 here.

Frequently asked questions

What is the formula for GPA?

Grade points times credits, added up, divided by total credits. On the 4.0 scale, A is 4.0, B is 3.0, C is 2.0, D is 1.0 and F is 0.

What grade points does an A get?

4.0 points on the 4.0 scale.

Do I divide by the number of courses or the total credits?

By the total credits. Four courses worth 13 credits divide by 13, not by 4.

What is the GPA for 43 grade points over 13 credits?

3.31. 43 divided by 13 is 3.31.

More guides on the GPA Calculator

Try it yourself

Work out your GPA on the 4.0 scale — free, in your browser.

Open the GPA Calculator