How to Calculate GPA: Formula, Grades & Examples | CalculatorSee
CalculatorSee

How to Calculate GPA? A Step-by-Step Guide With Examples

If you have your grades in front of you and are wondering how they turn into a GPA such as 3.25, 3.60, or 3.92, the calculation is easier than it may first appear.

Your GPA is based on two things: the grade you received and how many credits the course is worth. A grade in a four-credit class has more influence on your GPA than the same grade in a one-credit class.

The basic calculation is:

GPA = Total Quality Points ÷ Total GPA Credits

To find your quality points, multiply the grade-point value of each course by its credit hours.

If you already have your grades and credit hours and just want the result, you can use our GPA Calculator. If you’d rather understand the calculation yourself, here’s how to work it out from start to finish.

What Is GPA?

GPA stands for Grade Point Average. It is a numerical way of summarizing your academic performance over a particular period of study.

Many schools and colleges use a 4.0 scale, where an A is commonly worth 4.0 points, a B is around 3.0, a C is around 2.0, and an F is 0.0. But the exact grading scale is not universal. Some institutions use different values for plus and minus grades, while others have their own rules for which courses count toward GPA.

For that reason, your school’s grading policy or transcript should always be the final reference when there is a difference between grading systems.

In a typical GPA calculation, each course contributes a number of quality points based on both the grade and the number of credits attached to that course.


The GPA Formula

The simplest way to write the formula is:

GPA = Total Quality Points ÷ Total GPA Credits

There is another way to show exactly where those quality points come from:

Quality Points = Grade Points × Credit Hours

So, for several courses:

GPA = [(Grade Points × Credits) + (Grade Points × Credits) + …] ÷ Total Credits

It may look complicated on paper, but the process is simply:

  1. Find the numerical value of each grade.
  2. Multiply that value by the course’s credit hours.
  3. Add the quality points from all applicable courses.
  4. Add the applicable credit hours.
  5. Divide the total quality points by the total credits.

That is the basic method used by many universities to calculate a semester GPA.


What You Need to Calculate Your GPA

Before you start, gather three pieces of information:

  • Your final grade in each course
  • The credit hours for each course
  • Your school’s grading scale

For example, you might have something like:

Course Grade Credit Hours
Mathematics A 3
Biology B+ 4
English A- 3
History B 3

The credit hours are important because GPA is normally a weighted average, rather than a simple average of your grades.

You should also check whether your school excludes certain courses or grades from GPA calculations. Pass/fail courses, withdrawals, incomplete grades, transfer credits, and repeated courses can be treated differently depending on the institution. For example, Temple University excludes a range of non-standard grades from its GPA calculation, while other universities have their own definitions of GPA hours.


Convert Your Letter Grades to Grade Points

Once you have your grades, you need to know what numerical value your school gives each one.

A commonly used 4.0 scale looks like this:

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.3
D 1.0
D- 0.7
F 0.0

This is a common example, not a universal conversion chart. For instance, some universities use 3.67 for an A- and 3.33 for a B+, while others use 3.7 and 3.3. The difference may seem small, but it can affect the final GPA.

If your transcript or university handbook provides a grading scale, use that scale rather than borrowing one from another school.


Calculate the Quality Points for Each Course

Now comes the part that actually turns your grades into GPA points.

The calculation for each course is:

Grade Points × Credit Hours = Quality Points

For example, suppose you received a B+ in a four-credit course and your university values a B+ at 3.3.

3.3 × 4 = 13.2 quality points

If you received an A in a three-credit course:

4.0 × 3 = 12 quality points

Do this for every course that is included in your GPA.

Here’s a complete example:

Course Grade Grade Points Credits Quality Points
Mathematics A 4.0 3 12.0
Biology B+ 3.3 4 13.2
English A- 3.7 3 11.1
History B 3.0 3 9.0
Economics A 4.0 2 8.0
Total 15 53.3

The important column here is Quality Points. It represents the contribution each course makes to your GPA.


Add the Quality Points and Credit Hours

Once you’ve calculated the quality points for every course, add them together.

In the example above:

12.0 + 13.2 + 11.1 + 9.0 + 8.0 = 53.3

So the student has 53.3 total quality points.

Now add the credits:

3 + 4 + 3 + 3 + 2 = 15 credits

The final calculation is:

GPA = 53.3 ÷ 15

GPA = 3.55

So the student’s GPA for these courses is 3.55.

This same basic calculation is used in university GPA guidance: quality points are totaled and divided by the applicable GPA hours or credits.


A Complete GPA Calculation Example

Let’s walk through another example from beginning to end.

Suppose your semester looks like this:

Course Credits Grade Grade Points Quality Points
Chemistry 4 B 3.0 12.0
Mathematics 3 A 4.0 12.0
English 3 B+ 3.3 9.9
Computer Science 4 A- 3.7 14.8
Economics 2 C+ 2.3 4.6
Total 16 53.3

Now divide the total quality points by the total credits:

53.3 ÷ 16 = 3.33125

Depending on how your school displays GPA, that may appear as 3.33.

The important thing is not to round each individual calculation before you finish. Keep the appropriate grade-point values throughout the calculation and apply your institution’s rounding or truncation rule at the end.

Some universities round their displayed GPA, while others truncate it. The University of Illinois, for example, states that its official GPA is displayed to two decimal places and truncated rather than rounded.


Why You Can’t Simply Average Your Grades

This is one of the most common mistakes when calculating GPA.

Suppose you have:

  • A (4.0) in a 1-credit course
  • B (3.0) in a 4-credit course

If you simply average the two grade points, you get:

(4.0 + 3.0) ÷ 2 = 3.50

But that is not the weighted GPA.

The actual calculation is:

(4.0 × 1) + (3.0 × 4) = 16 quality points

There are 5 credits altogether:

16 ÷ 5 = 3.20

So the GPA is 3.20, not 3.50.

Why the difference?

Because the B was earned in a course worth four times as many credits. That course has a much larger effect on the student’s GPA.

This is why credit hours cannot be ignored when courses have different credit values.


How to Calculate Semester GPA

A semester GPA measures your performance during one semester or term.

The process is the same:

Semester GPA = Total Quality Points for the Semester ÷ Total GPA Credits for the Semester

For example, if you earned 42.5 quality points across 14 GPA credits:

42.5 ÷ 14 = 3.04

Your semester GPA would be approximately 3.04, subject to your school’s rules for displaying the final number.

You don’t need to calculate every course separately if your transcript already gives you the total quality points and GPA hours. In that case, you can use those totals directly.


How to Calculate Cumulative GPA

Your cumulative GPA covers your academic performance across multiple semesters rather than just one term.

This is where another common mistake occurs: you generally should not simply average your semester GPAs.

Instead, use the total quality points and total GPA credits from all the applicable semesters.

The formula is:

Cumulative GPA = Total Quality Points From All Semesters ÷ Total GPA Credits From All Semesters

For example:

Semester GPA Credits
Semester 1 3.20 15
Semester 2 3.60 18
Semester 3 3.40 16

You should not calculate:

(3.20 + 3.60 + 3.40) ÷ 3 = 3.40

That treats every semester as if it contained the same number of credits.

Instead, first convert each semester GPA back into its quality points:

Semester 1:
3.20 × 15 = 48.0

Semester 2:
3.60 × 18 = 64.8

Semester 3:
3.40 × 16 = 54.4

Now add them:

48.0 + 64.8 + 54.4 = 167.2 quality points

Total credits:

15 + 18 + 16 = 49

Cumulative GPA:

167.2 ÷ 49 = 3.41

This is why cumulative GPA is normally calculated from the combined quality points and GPA hours rather than by taking a simple average of semester GPAs.


How to Calculate GPA From Marks or Percentage

If your results are given as percentages or marks instead of letter grades, you cannot assume there is one conversion that works for every school.

For example, you might have:

82% → A- → 3.7

But another institution may assign a different letter grade or grade-point value to the same percentage.

The safe approach is:

Marks/Percentage → Your Institution’s Letter Grade → Grade Point → Credit-Weighted Calculation

So if your university says that 82% is an A- and an A- is worth 3.7 points, you would use 3.7 when calculating your GPA.

Don’t automatically divide a percentage by 25 and call the result your GPA. That may produce a number, but it doesn’t necessarily reflect the grading system used by your school.

If your institution provides a percentage-to-grade conversion table, use that table.


How Credit Hours Affect Your GPA

Credit hours determine how much weight a course carries in the calculation.

Consider these two courses:

  • Course A: A in a 1-credit class
  • Course B: B in a 4-credit class

The A sounds better when you look only at the letter grade, but the B can have a larger effect on the overall GPA because it comes from a course with more credits.

This is also why doing well in a high-credit course can make a noticeable difference to your GPA, while a strong grade in a one-credit course may have a smaller effect.

The calculation itself makes this clear:

Grade Point × Credit Hours = Quality Points

More credits mean a larger contribution — positive or negative — to the final weighted average.


How to Calculate the GPA You Need to Reach a Target

Sometimes you’re not trying to find out what your GPA is. You already know it and want to know what you need to earn next.

For example:

“My current GPA is 3.20. What GPA do I need next semester to finish with a 3.40?”

To answer that, you need:

  • Your current GPA
  • Your current GPA credits
  • The number of credits you expect to take
  • Your target cumulative GPA

The calculation is based on quality points, not just the two GPA numbers.

You can first find your existing quality points:

Current GPA × Current GPA Credits = Current Quality Points

Then determine how many total quality points you’ll need at the end:

Target GPA × Total Future GPA Credits = Required Total Quality Points

The difference between those two figures tells you how many quality points you need from your upcoming courses.

This type of calculation is useful when you’re planning your next semester and want to see whether a target GPA is realistic.


How Repeated Courses Affect GPA

Retaking a course can make GPA calculations more complicated because colleges and universities do not all handle repeated courses the same way.

Depending on your institution’s policy:

  • the original grade may remain in the GPA,
  • the new grade may replace the original,
  • both attempts may be considered,
  • or the course may be handled under a special repeat policy.

So if you’ve repeated a class, don’t assume that you can simply remove the old grade from your calculation.

Check your institution’s repeat-course policy or ask the registrar if you’re trying to reproduce the official GPA on your transcript.

Universities can have very specific rules for repeated courses. For example, the University of North Texas describes separate treatment for duplicated and repeated coursework, while other institutions use different approaches.


Which Courses Count Toward GPA?

Not everything that appears on your academic record necessarily contributes to your GPA.

Depending on your school’s rules, courses or grades such as these may receive special treatment:

  • Pass/fail courses
  • Withdrawals
  • Incomplete grades
  • Satisfactory/unsatisfactory grades
  • Transfer courses
  • Repeated courses
  • Courses with no assigned grade points

For example, some universities exclude pass grades from GPA calculations, while an F may still count even though it does not earn credit. Other institutions have different rules.

This is why your official transcript can sometimes show a different GPA from one you calculated by treating every course in exactly the same way.

If you’re checking your GPA against your transcript, look at the institution’s definition of GPA hours, quality hours, or GPA credits rather than assuming that all completed credits are included.


GPA vs. CGPA: What’s the Difference?

The terms are sometimes used differently from one school to another, but the distinction is generally straightforward.

GPA usually refers to your grade point average for a particular semester, term, or defined group of courses.

CGPA, or cumulative GPA, generally refers to your average across multiple semesters or your academic record to that point.

For example:

Measure What it represents
Semester GPA Your performance during one semester
Cumulative GPA / CGPA Your performance across multiple semesters

Your semester GPA can change quite a bit from one term to another, while your cumulative GPA usually moves more gradually because it includes your previous coursework.


Weighted vs. Unweighted GPA

You may come across the terms weighted GPA and unweighted GPA, particularly in high school admissions.

An unweighted GPA generally treats grades according to the school’s standard scale.

A weighted GPA may give additional value to certain advanced courses, such as honors, AP, IB, or other higher-level classes.

There is no single weighted-GPA system used by every school. One school might add extra points for an advanced class while another may use a completely different method.

So if you’re trying to calculate a weighted GPA, use the rules supplied by your school rather than applying a generic conversion chart found online.


Common GPA Calculation Mistakes

A few simple mistakes can give you a completely different answer from your official GPA.

1. Averaging grade points without considering credits

If your courses have different credit values, a simple average can be wrong.

2. Using another school’s grade scale

An A- might be worth 3.7 at one institution and 3.67 at another.

3. Treating percentage as GPA

There is no universal rule that says a particular percentage always equals a particular GPA.

4. Averaging semester GPAs

If your semesters have different numbers of credits, simply averaging the semester GPAs can give the wrong cumulative result.

5. Including courses that don’t affect GPA

Pass/fail, withdrawal, transfer, incomplete, and other special grades may be excluded or treated differently.

6. Rounding too early

If you round every intermediate calculation, your final number can differ slightly from the official GPA.

7. Assuming every repeated course is treated the same

Your school’s repeat policy determines how the old and new grades affect your GPA.

These aren’t just technical details. They are some of the main reasons students get a different answer when they try to reproduce the GPA shown on their transcript.


Can You Calculate GPA Without Credit Hours?

Sometimes, but only under a specific condition.

If every course has exactly the same number of credits, you can average the grade points directly and get the same result as a weighted GPA calculation.

For example, if all four courses are worth three credits, there is no difference between:

(4.0 + 3.0 + 3.7 + 3.3) ÷ 4

and the credit-weighted calculation.

But if one course is worth four credits and another is worth one credit, you need the credit hours to calculate the weighted GPA correctly.

So if your courses have different credit values, don’t leave the credit hours out.


Calculate Your GPA With CalculatorSee

If you’ve already gathered your grades and credit hours, you don’t have to do the entire calculation by hand.

Use the our GPA Calculator to enter your courses, grades, and credits and calculate your GPA.

It’s especially useful when you have several courses and don’t want to repeat the multiplication and addition yourself.

You can still use the manual method above to check the result. In fact, understanding the calculation is useful because it lets you spot an incorrect grade, credit value, or grading scale if the calculator and your transcript don’t match.


The Bottom Line

Calculating GPA comes down to one idea: your grade matters, but so does the number of credits attached to that grade.

For each course, multiply the grade-point value by its credit hours. Add those quality points together, add the applicable credits, and divide:

GPA = Total Quality Points ÷ Total GPA Credits

For a semester GPA, use the courses from that semester. For a cumulative GPA, use the applicable quality points and GPA credits from your academic record as a whole.

And if your school’s official GPA doesn’t match a calculation you made yourself, don’t assume one of you is wrong. Check the institution’s grading scale and rules for GPA hours, transfer work, repeated courses, withdrawals, and other special grades.

If you simply want to calculate your result without doing the arithmetic by hand, you can use the CalculatorSee GPA Calculator.

Frequently Asked Questions

What is the formula for calculating GPA?

The basic formula is: GPA = Total Quality Points ÷ Total GPA Credits Quality points for an individual course are found by multiplying its grade-point value by the number of credit hours.

Is GPA just the average of your grades?

Not usually. GPA is generally a credit-weighted average, so courses with more credit hours have more influence on the final result.

How do I calculate GPA from letter grades?

Convert each letter grade to its numerical grade-point value, multiply that value by the course's credit hours, add the quality points, and divide by the total applicable credits.

How do I calculate cumulative GPA?

Add the quality points from all applicable semesters and divide them by the total GPA credits from those semesters. You generally should not simply average your semester GPAs when the semesters have different credit loads.

How do I calculate GPA from percentage?

First find out how your school converts the percentage into a letter grade and grade-point value. There is no single percentage-to-GPA conversion that applies to every institution.

Do credit hours affect GPA?

Yes. A course with more credit hours contributes more quality points to the GPA calculation than a course with fewer credits, assuming the same grade-point value.

Do failed courses count toward GPA?

In many grading systems, an F contributes 0 quality points but the attempted credits may still be included in the GPA calculation. However, the exact rule depends on the institution. Rice University, for example, includes F grades in GPA calculations even though they earn no quality points.

Why is my GPA different from the number I calculated?

Check your school's grading scale first. Then check whether you included courses or grades that your institution excludes from GPA calculations, such as certain pass/fail, withdrawal, incomplete, transfer, or repeated courses. Rounding or truncation rules can also create a small difference.

Can I calculate my GPA without knowing my credit hours?

Only if all of your courses carry the same number of credits. When credit values differ, you need them to calculate the weighted GPA accurately.