Two students both earned mostly B’s, so why does one have a higher GPA? The answer is credit hours. GPA is not a plain average of your letter grades. To see how GPA is calculated, you turn each grade into points, multiply those points by the credit hours for that class, add everything up, and divide by your total credit hours. A class worth more credits pulls harder on the result, which is why two similar report cards can land on different numbers.
GPA is calculated with one simple formula: total grade points divided by total credit hours. First, convert each letter grade to points on a 4.0 scale, where an A is 4.0 and an F is 0. Next, multiply each grade’s points by the class’s credit hours to get grade points for that course. Then add up all the grade points and all the credit hours. Finally, divide total grade points by total credit hours. The result is your GPA, usually shown to two decimal places.
The GPA Formula
At its core, GPA uses a single formula that works the same way every time:
GPA = total grade points / total credit hours
Two pieces feed that formula. A grade point is the numeric value of a letter grade, like 4.0 for an A. A credit hour is how much a class counts, often 3 or 4 for a normal course.
You do not just average the grade points, though. Each class earns “grade points” equal to its points times its credit hours. A 4-credit class counts more than a 1-credit class, so its grade moves your GPA more. That weighting by credits is the whole reason GPA is not a simple average.
Both the top and the bottom of the formula pull from every class you take. The top adds each class’s grade points together, and the bottom adds each class’s credit hours together. One division at the end gives your GPA.
What a Credit Hour Means
A credit hour measures how much a class is worth toward your degree. It roughly tracks how many hours a week the class meets. A typical lecture course is 3 or 4 credits, while a short lab or seminar might be 1 or 2.
Credit hours matter because they are the weight in the GPA formula. The same grade in a 4-credit class moves your GPA more than in a 1-credit class. So a strong grade in a big class helps a lot, and a weak grade in a big class hurts a lot.
You can find each class’s credit value on your syllabus or in the course catalog. Use those exact numbers when you calculate, not a guess.
The Grade-to-Points Scale
Before you can add anything, each letter grade needs a number. Most United States schools use a 4.0 scale like the one below. This is a common example, not a universal rule, since some schools skip minus grades or use their own values.
| Letter Grade | Grade Points |
|---|---|
| A | 4.0 |
| A- | 3.7 |
| B+ | 3.3 |
| B | 3.0 |
| B- | 2.7 |
| C+ | 2.3 |
| C | 2.0 |
| C- | 1.7 |
| D | 1.0 |
| F | 0.0 |
Notice the pattern: a plus adds about 0.3, and a minus subtracts about 0.3. An F is worth zero points but still counts in your credit hours, which is why a failed class hurts so much.
Some schools use a straight scale with no pluses or minuses, so a B and a B+ both count as 3.0. Others cap an A+ at 4.0, and a few allow a 4.3. The scale itself does not change the formula. You still convert, weight by credits, add, and divide the same way.
A Step-by-Step Example
Let’s calculate a real GPA for one semester with three classes. Follow the four steps by hand, or drop the same numbers into our GPA Calculator to check your work.
- Convert each grade to points using the scale.
- Multiply each grade’s points by its credit hours to get grade points.
- Add up all the grade points and all the credit hours.
- Divide total grade points by total credit hours.
| Class | Grade | Points | Credits | Grade Points |
|---|---|---|---|---|
| Biology | A | 4.0 | 3 | 12 |
| English | B | 3.0 | 4 | 12 |
| History | C | 2.0 | 3 | 6 |
| Totals | 10 | 30 | ||
Add the grade points: 12 + 12 + 6 = 30. Add the credit hours: 3 + 4 + 3 = 10. Now divide: 30 / 10 = 3.00. That semester GPA is 3.00, a solid B average.
Watch how the credits shape the result. The A and the B each earned 12 grade points, because the B sat in a bigger 4-credit class. That is the weighting at work.
Semester GPA vs Cumulative GPA
The example above is a semester GPA: it covers only one term’s classes. Your cumulative GPA covers every class you have taken so far.
You find a cumulative GPA the same way, just with more numbers. Add up the grade points from all your terms, add up all the credit hours, and divide. Because it pools everything, one rough semester moves your cumulative GPA less over time.
Here is a quick tip. To fold a new semester into your cumulative GPA, do not average the two GPA numbers. Instead, add the new grade points and credits to your running totals, then divide once. Averaging GPAs ignores credit hours and gives the wrong answer.
The two numbers answer different questions and often differ. For a full breakdown of how they compare, see our guide on SGPA vs CGPA.
Common Mistakes When Calculating GPA
The math is simple, but small errors throw off the result. Watch for these common slip-ups:
- Averaging the letter grades directly and ignoring credit hours.
- Forgetting that an F still counts in your total credit hours.
- Using the wrong grade scale for your school, such as guessing minus values.
- Leaving out pass or fail classes that your school does count.
- Multiplying by the wrong credit number for a lab or seminar.
- Rounding too early instead of dividing first, then rounding at the end.
When in doubt, check your school’s official policy, since rules on retakes and pass or fail classes vary.
Do not want to do the math by hand? Enter your grades and credits into our free GPA Calculator. It applies this exact formula and returns your GPA to two decimal places in seconds.
Related GPA Guides
This article covers the base calculation. A few related topics build on it:
- Honors and AP classes can change the scale in weighted vs unweighted GPA.
- Wondering where your number lands? See what is a good GPA.
- Term versus overall totals are covered in SGPA vs CGPA.
Frequently Asked Questions About How GPA Is Calculated
What Is the Basic GPA Formula?
The GPA formula is total grade points divided by total credit hours. You turn each letter grade into points, multiply those points by the class’s credit hours, and add the results. Then you divide that sum by the total credit hours you attempted. The answer is your GPA.
Why Isn’t GPA Just the Average of My Grades?
Because classes are not all the same size. A 4-credit class counts more than a 1-credit class, so its grade should move your GPA more. Weighting each grade by its credit hours reflects that. A plain average of letter grades would ignore how much each class is worth.
How Do I Convert Letter Grades to Grade Points?
Use your school’s grade scale. On a common 4.0 scale, an A is 4.0, a B is 3.0, a C is 2.0, and a D is 1.0, with an F at 0. A plus adds about 0.3 and a minus subtracts about 0.3. Always confirm the exact values your school uses.
Do Failed Classes Count in GPA?
Usually yes. An F is worth zero grade points, but the class’s credit hours still count in your total. That combination pulls your GPA down more than a low passing grade. Some schools let a retake replace the F, so check your school’s retake policy.
How Are Credit Hours Used in the Calculation?
Credit hours act as the weight for each grade. You multiply a class’s grade points by its credit hours to get that class’s grade points. You also add all credit hours to get the number you divide by. So credits appear in both the top and bottom of the formula.
How Do I Calculate My Cumulative GPA?
Use the same formula across every term. Add up the grade points from all classes you have ever taken, then add up all the credit hours. Divide the total grade points by the total credit hours. The result is your cumulative GPA, which changes slowly as you add more classes.
What Do Pass or Fail Classes Do to GPA?
It depends on the school. Many schools leave pass or fail classes out of the GPA math entirely, so they add credits toward graduation without changing your GPA. Others assign points to a pass. Check your school’s official rule before assuming a class is excluded from the calculation.
Sources
Authoritative Sources Used in This Article
This article is for general education only, not academic or admissions advice. Grading rules, GPA scales, and policies vary by school, so always check your institution’s official rules. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated September 11, 2026.
Author
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.




