how to calculate gpa
How to Calculate Your GPA (With a Worked Example)
Updated · by the Metacog Study team
Quick answer: GPA = total quality points ÷ total credit hours. Multiply each course's grade points (A = 4.0, B = 3.0 and so on) by its credits to get quality points, add them up, then divide by the credits you attempted. Example: 49.0 quality points over 14 credits is a 3.5 GPA.
Your GPA (grade point average) is a credit-weighted average of your course grades. It’s simple arithmetic once you know the steps.
The formula
GPA = total quality points ÷ total credits
- Grade points come from your letter grade (table below).
- Quality points for a course = grade points × credit hours.
- Total credits = the credit hours of all the courses you’re counting.
Common 4.0-scale grade points
| Grade | Points | Grade | Points |
|---|---|---|---|
| A | 4.0 | C+ | 2.3 |
| A- | 3.7 | C | 2.0 |
| B+ | 3.3 | C- | 1.7 |
| B | 3.0 | D | 1.0 |
| B- | 2.7 | F | 0.0 |
Some schools use slightly different values (for example, no A+ above 4.0, or no minus grades). Use your school’s scale if it differs.
Worked example
| Course | Credits | Grade | Grade points | Quality points |
|---|---|---|---|---|
| Calculus II | 4 | A- | 3.7 | 14.8 |
| Organic Chemistry | 4 | B+ | 3.3 | 13.2 |
| Intro to Psychology | 3 | A | 4.0 | 12.0 |
| Writing Seminar | 3 | B | 3.0 | 9.0 |
| Total | 14 | 49.0 |
GPA = 49.0 ÷ 14 = 3.50
Cumulative GPA
To combine semesters, add the quality points and the credits from every term, then divide. If last term you had 60 credits at a 3.4 and this term is 14 credits at 3.5:
- Past quality points: 60 × 3.4 = 204.0
- This term’s quality points: 49.0
- Cumulative GPA = (204.0 + 49.0) ÷ (60 + 14) = 253.0 ÷ 74 = 3.42
Don’t average 3.4 and 3.5. The semester with more credits should weigh more.
Weighted GPA (honors, AP and IB)
Many high schools add a bonus to advanced courses: commonly +0.5 for honors and +1.0 for AP or IB. An A in AP Biology would then count as 5.0 instead of 4.0. The formula is the same; only the grade points change. Policies vary, so use the exact bonus your school publishes.
Using GPA for planning (“what if”)
The most useful thing you can do with the formula is run scenarios before grades are final:
- “If I earn a B+ instead of a B in Organic Chemistry, what does my GPA become?”
- “What GPA do I need this term to reach a 3.5 cumulative?”
To reach a target cumulative GPA, rearrange the formula: required term quality points = target × (past credits + term credits) − past quality points. For a 3.5 target with the numbers above: 3.5 × 74 = 259.0, minus 204.0 = 55.0 quality points needed from 14 credits, a term GPA of about 3.93.
A spreadsheet makes this effortless. Our assignment tracker for Google Sheets includes a semester and cumulative GPA calculator with an editable grade scale, and our free GPA Calculator (Lite) is in the free templates section.
Related guides
- How to calculate a weighted grade for a single class
- What do I need on my final?
FAQ
What is the formula for GPA?
GPA = (sum of grade points × credits for every course) ÷ (sum of credits). Courses with more credits count for more.
How do I calculate cumulative GPA?
Add up quality points and credits across every semester, then divide total quality points by total credits. Do not average your semester GPAs, because semesters with more credits should count for more.
How is weighted GPA different?
Weighted GPA adds a bonus (often +0.5 for honors and +1.0 for AP/IB) to the grade points of advanced courses, so an A can be worth 5.0. Schools set their own bonuses, so check your school's policy.