Blog/May 26, 2026·7 min read

How to Calculate GPA (Step-by-Step with Examples)

Quick Answer

GPA equals the sum of (grade points x credit hours) divided by the total credit hours. Convert each letter grade to its 4.0 value (A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0), multiply by credit hours to get quality points, sum across all courses, and divide by total credits. Use our GPA Calculator to skip the manual math.

The GPA formula has not changed in fifty years. It is one of the simplest weighted averages in academic math, but the credit-hour weighting trips up most students the first time. This guide walks through every variation: unweighted, weighted, semester, cumulative, and the edge cases that come up with retakes and Pass/Fail courses.

Want to skip the manual calculation? Our free GPA Calculator handles all of it: weighted, unweighted, and a target GPA planner that tells you what you need next term.

The GPA Formula

The standard US GPA formula is:

GPA = (sum of grade points x credit hours) / (sum of credit hours)

Three steps:

  1. Convert each letter grade to its numeric value on the 4.0 scale.
  2. Multiply each grade value by the course's credit hours to get "quality points" for that course.
  3. Divide total quality points by total credit hours.

Letter Grade to GPA Conversion Table

Letter GradePercentageGrade Points (4.0 scale)
A+ / A93-1004.0
A-90-923.7
B+87-893.3
B83-863.0
B-80-822.7
C+77-792.3
C73-762.0
C-70-721.7
D+67-691.3
D63-661.0
D-60-620.7
FBelow 600.0

Note: some schools count A+ as 4.3 instead of 4.0, allowing GPAs above 4.0 even unweighted. Most US universities and high schools cap at 4.0 to keep the unweighted scale stable. Check your transcript for your school's convention.

Worked Example: Unweighted GPA for One Semester

Imagine a typical college student taking 5 courses in a semester:

CourseGradeCreditsGrade PointsQuality Points
Calculus IIA-43.714.8
English CompB+33.39.9
Intro PsychologyA34.012.0
Biology LabB13.03.0
History 101B-32.78.1
TOTAL1447.8

GPA = 47.8 / 14 = 3.41. That puts this student in good academic standing, with room to push for Dean's List next term.

Notice how Calculus II contributed the most (14.8 quality points) because it had the most credits, even though the grade was not the highest. The 1-credit Biology Lab contributed only 3.0 quality points despite a solid B grade. Credit hours drive everything.

Worked Example: Weighted GPA

Now imagine a high school junior with a mix of regular, Honors, and AP courses:

CourseTypeGradeCreditsWeighted PointsQuality Points
AP Calc ABAPB+14.3 (3.3 + 1.0)4.3
AP US HistoryAPA15.0 (4.0 + 1.0)5.0
Honors ChemistryHonorsA-14.2 (3.7 + 0.5)4.2
English 11RegularB13.03.0
Spanish IIIRegularA14.04.0
GymRegularA14.04.0
TOTAL624.5

Weighted GPA = 24.5 / 6 = 4.08. The same grades unweighted would be (3.3 + 4.0 + 3.7 + 3.0 + 4.0 + 4.0) / 6 = 22.0 / 6 = 3.67 unweighted. The weighting added 0.41 to the GPA by rewarding the AP and Honors load.

This is why most high schools report both numbers. Colleges typically recalculate using their own formula (some strip out gym and electives, some use only 4.0 max, some use +0.33 instead of +0.5). Read more about why in our What Is a Good GPA guide.

Cumulative GPA: Combining Multiple Semesters

Do NOT average your per-semester GPAs to get cumulative GPA. That only works if every semester has the exact same credit load. The correct method: sum all quality points and all credits across every semester, then divide.

Example with two semesters:

  • Fall: 47.8 quality points across 14 credits (GPA = 3.41)
  • Spring: 64.0 quality points across 16 credits (GPA = 4.00)
  • Cumulative: (47.8 + 64.0) / (14 + 16) = 111.8 / 30 = 3.73

A wrong-but-common method: averaging the two semester GPAs gives (3.41 + 4.00) / 2 = 3.705. Close in this case, but the error grows as credit loads diverge. A 5-credit summer term with a 4.0 averaged with a 15-credit fall term with a 3.0 should yield 3.25 (correctly weighted), not 3.50 (the naive average).

Major GPA: A Different Calculation

Graduate schools often ask for "major GPA" - the GPA computed only from courses in your major (and sometimes adjacent fields). The formula is the same, but the input is filtered.

To compute your major GPA: list only the courses your major requires (or that count toward your major), apply the standard formula. Your major GPA can be significantly higher or lower than your overall GPA. A common pattern is a junior with a 3.4 overall and a 3.8 major GPA - admissions officers will weight the 3.8 much more heavily for graduate programs in that field.

What About Failed Courses and Retakes?

An F counts as 0.0 grade points but still uses the credit hours in the denominator. A 3-credit F lowers your GPA significantly. Most schools allow grade replacement: retake the course, and the higher grade replaces the F in GPA calculation (though the original F often stays on the transcript). Policies vary by school.

Pass / No-Pass courses typically do not count in GPA calculation at all - they show as P on the transcript but are excluded from the formula. If you Pass-Fail a course you would have gotten an A in, you lose those quality points. Use Pass-Fail strategically for difficult electives you only need to survive.

The Easiest Way: Use the Calculator

The math is simple but tedious. Our GPA Calculator handles all of this: unweighted, weighted, semester, cumulative. It also includes a Target GPA Planner that tells you what semester GPA you need to reach a specific cumulative goal - useful when planning for graduation honors or grad school applications.

If your current cumulative GPA needs to rise, our guide to raising your GPA walks through the math of why it gets harder later in your degree, plus the strategies that actually work.

Sources

  1. American Council on Education (ACE). Standard 4.0 GPA scale conversion. A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0. Plus/minus modifiers add or subtract 0.3-0.4.
  2. College Board AP Program. AP Course Policies. AP courses are weighted +1.0 at most participating high schools when reporting weighted GPA.
  3. National Association for College Admission Counseling (NACAC). State of College Admission Report. Weighted GPA conventions (+0.5 Honors, +1.0 AP/IB) reflect majority US high school grading practices.
  4. US Department of Education, National Center for Education Statistics. High school course-taking data, including credit hour conventions for full-year (1 credit) vs lab (additional credit) courses.
  5. Common Data Set (CDS) Initiative. Standard reporting framework used by US universities for admissions and academic standing data, including GPA distribution reporting.
  6. International Baccalaureate Organization (IBO). IB Diploma Programme assessment policies, basis for the +1.0 weighting at participating US high schools.

Skip the math. Our GPA Calculator handles weighted, unweighted, and target GPA.

Open GPA Calculator

Related Guides

Frequently Asked Questions

GPA = (sum of grade points x credit hours) divided by (sum of credit hours). Convert each letter grade to its 4.0 value (A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0), multiply by the course's credit hours to get quality points, sum across all courses, then divide by total credit hours.

Each course contributes (grade points x credit hours) to the total. A 3-credit A = 12 quality points (4.0 x 3). A 1-credit B = 3 quality points (3.0 x 1). Add all quality points and divide by total credits. The 3-credit A weighs three times more than the 1-credit course in the average.

Same formula, but add bonus points for harder courses before multiplying by credits. Honors courses get +0.5 to the base value (an A in Honors = 4.5). AP, IB, and Dual Enrollment courses get +1.0 (an A in AP = 5.0). Weighted GPA caps at 5.0 in most school systems.

Sum the quality points from every semester (not the GPAs - that would be wrong because credit loads vary). Divide by the total credits from every semester combined. Averaging the per-semester GPAs only works if every semester had the same credit load.

Use the same formula but only with that semester's courses. Sum quality points (grade x credits) for each course in the semester, divide by total credits taken that semester. Most online portals show this automatically once grades post.

Yes. Our GPA Calculator uses the standard 4.0 scale: A+ / 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. Some schools count A+ as 4.3 - check your transcript for your school's exact convention.

Convert each percentage grade to a 4.0 value first, then run the standard formula. Common conversion: 93-100 = 4.0, 90-92 = 3.7, 87-89 = 3.3, 83-86 = 3.0, 80-82 = 2.7, 77-79 = 2.3, 73-76 = 2.0, 70-72 = 1.7, 67-69 = 1.3, 63-66 = 1.0, 60-62 = 0.7, below 60 = 0.0.

Yes. An F counts as 0.0 grade points but still uses the course's credit hours in the denominator, which pulls your GPA down significantly. A 3-credit F removes 12 potential quality points (compared to an A) while still adding 3 to the credit total. Many schools allow retakes with grade replacement.