How to Calculate GPA: Step-by-Step Formula & Examples

To calculate your GPA, convert each letter grade into grade points (A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0), multiply each by the course’s credit hours, add all the results together, and divide by your total credit hours. That’s the whole method: one formula, three steps, and you get a single number between 0.0 and 4.0.

The GPA formula in one line

Every GPA calculation uses the same formula:

GPA = total grade points ÷ total credit hours

A “grade point” is just the number your letter grade is worth. An A is worth 4.0 points, a B is worth 3.0, and so on. Credit hours measure how much a course counts — a 4-credit lab class moves your GPA more than a 1-credit seminar. Multiplying the two together gives you the “quality points” for each course, and the final division blends everything into one average.

Don’t want to do it by hand? Our GPA calculator runs the same math instantly. But it’s worth learning the steps once, so you always know what’s going on behind the number.

Step 1: Turn each letter grade into grade points

Most US high schools and colleges use the 4.0 scale. Find each of your letter grades in this table and note the number beside it:

Letter grade Grade points Letter grade Grade points
A 4.0 C 2.0
A− 3.7 C− 1.7
B+ 3.3 D+ 1.3
B 3.0 D 1.0
B− 2.7 F 0.0
C+ 2.3

Two things to check before you start. First, confirm your school uses plus/minus grading — some schools only use straight A, B, C, D, F with no in-between values. Second, an F is always worth 0 points, but it still counts in your credit hours, which is why a single failed class can drag a GPA down fast.

Step 2: Multiply grade points by credit hours

This is the step most students skip, and it’s the one that matters most. A grade in a 4-credit course counts twice as much as the same grade in a 2-credit course. Let’s work through three courses:

  • Biology: A (4.0 points) × 3 credits = 12.0 quality points
  • Algebra: B (3.0 points) × 4 credits = 12.0 quality points
  • Art: A− (3.7 points) × 2 credits = 7.4 quality points

Notice that the B in Algebra contributes just as many quality points as the A in Biology, because Algebra carries an extra credit hour. That’s exactly why you can’t just average your letter grades — the credits are weights, and heavier courses pull harder.

Step 3: Add everything up and divide

Now add the quality points and add the credit hours separately:

  • Total quality points: 12.0 + 12.0 + 7.4 = 31.4
  • Total credit hours: 3 + 4 + 2 = 9
  • GPA: 31.4 ÷ 9 = 3.49

Round to two decimal places and you’re done: this student’s GPA is 3.49. If you’d ignored the credits and just averaged the three grade points (4.0 + 3.0 + 3.7) ÷ 3, you’d get 3.57 — close, but wrong, and the gap grows with more courses.

Full worked example: one semester, four courses

Let’s do a realistic semester so you can see the full process in one place:

Course Grade Points Credits Quality points
English B+ 3.3 3 9.9
Calculus A 4.0 4 16.0
History B 3.0 3 9.0
Chemistry C+ 2.3 4 9.2

Total quality points: 9.9 + 16.0 + 9.0 + 9.2 = 44.1. Total credits: 3 + 4 + 3 + 4 = 14. Divide: 44.1 ÷ 14 = 3.15.

This is a semester GPA. To get your cumulative GPA across multiple semesters, use the same formula but include every course you’ve ever taken — or take a shortcut: multiply each semester’s GPA by that semester’s credits, add those up, and divide by your total credits across all semesters.

Weighted vs. unweighted GPA

Everything above is unweighted GPA, capped at 4.0. Many high schools also report a weighted GPA that gives bonus points for harder classes — typically +1.0 for AP or IB courses and +0.5 for honors. So an A in AP Biology is worth 5.0 instead of 4.0.

Example: one student takes AP Biology (A, 4 credits) and regular English (B, 3 credits).

  • Weighted: (5.0 × 4) + (3.0 × 3) = 20 + 9 = 29 quality points; 29 ÷ 7 credits = 4.14
  • Unweighted: (4.0 × 4) + (3.0 × 3) = 16 + 9 = 25 quality points; 25 ÷ 7 = 3.57

That’s why weighted GPAs can climb above 4.0. Colleges usually recalculate your GPA with their own method anyway, so report whichever number your school puts on your transcript. If your schedule is full of AP and honors classes, run the numbers in our weighted GPA calculator to see both versions side by side.

Common mistakes when calculating GPA

  • Forgetting the credit hours. Averaging letter grades directly is the most common error. Credits are weights — always multiply first.
  • Mixing up scales. Don’t combine a 4.0-scale grade with a 100-point percentage. Convert percentages to letter grades first with a grade percentage calculator, then to grade points.
  • Rounding too early. Keep at least two decimal places through every step and round only the final answer. Rounding each course’s quality points can shift your GPA by a hundredth or two.
  • Counting pass/fail courses. Most schools exclude pass/fail (or satisfactory/unsatisfactory) courses from GPA entirely. Check your school’s policy before including them.
  • Dropping the F’s credits. A failed course earns 0 quality points, but its credits still count in the denominator. Leaving them out inflates your result.
  • Using the wrong plus/minus values. Some schools use A− = 3.67 instead of 3.7, or don’t use plus/minus at all. Match your school’s official scale.

Frequently asked questions

How is GPA calculated in high school?

The same way as college: convert each final letter grade to grade points on the 4.0 scale, multiply by each course’s credits, add up the quality points, and divide by total credits. The main difference is that many high schools report a weighted GPA too, adding bonus points for AP, IB, or honors classes.

What is the GPA formula?

GPA = total quality points ÷ total credit hours, where each course’s quality points = grade points × credit hours. On the standard unweighted 4.0 scale, A = 4.0, B = 3.0, C = 2.0, D = 1.0, and F = 0, with plus/minus grades falling in between.

Can your GPA be higher than 4.0?

Yes, but only on a weighted scale. When schools add bonus points for advanced courses (usually +1.0 for AP/IB), an A in those classes counts as 5.0, which can push the weighted GPA above 4.0. On the standard unweighted scale, 4.0 is the maximum.

Do failed classes count in GPA?

Yes. An F contributes 0 quality points, but its credit hours still go into the denominator, so it pulls your GPA down. The only common exception is pass/fail courses, which most schools leave out of the GPA calculation completely.

How do I calculate my cumulative GPA?

Add up the quality points from every course you’ve taken across all semesters and divide by your total credit hours across all semesters. A shortcut: multiply each semester’s GPA by that semester’s credit total, sum those products, and divide by your all-time total credits.

What’s the fastest way to check my GPA?

Enter your grades and credits into our free GPA calculator — it does the multiply-add-divide cycle instantly and handles both semester and cumulative GPA. And if you’re tracking a current class, the grade calculator on our homepage shows your live percentage as you add assignments.

Pick your next level 🎮

Six tools, zero homework. Each one takes under a minute.