
Short answer: multiply each class's grade points by its credits, add those up, and divide by your total credits. This guide walks through the formula with worked examples for unweighted, weighted and cumulative GPA. To skip the math, enter your classes in our free GPA Calculator.
How to calculate your GPA, step by step
- Turn each letter grade into grade points using the table below (an A is 4.0, a B is 3.0 and so on).
- Multiply the grade points by the class's credits. The result is called quality points. A 4-credit class counts more than a 3-credit class.
- Add up the quality points for all your classes.
- Add up the credits for the same classes.
- Divide the total quality points by the total credits. That is your GPA.
GPA = total quality points ÷ total creditsIf your school does not use credits, give every class 1 credit: your GPA is then simply the average of your grade points.
Grade points on the 4.0 scale
| Letter grade | Grade points | Typical percentage |
|---|---|---|
| A+ / A | 4.0 | 93–100 |
| A− | 3.7 | 90–92 |
| B+ | 3.3 | 87–89 |
| B | 3.0 | 83–86 |
| B− | 2.7 | 80–82 |
| C+ | 2.3 | 77–79 |
| C | 2.0 | 73–76 |
| C− | 1.7 | 70–72 |
| D+ | 1.3 | 67–69 |
| D | 1.0 | 65–66 |
| F | 0.0 | Below 65 |
Percentage cut-offs vary between schools, and some count an A+ as 4.3. Check your school's handbook if a grade sits on a boundary.
Worked example
| Class | Grade | Grade points | Credits | Quality points |
|---|---|---|---|---|
| English | A | 4.0 | 3 | 12.0 |
| Chemistry | B+ | 3.3 | 4 | 13.2 |
| History | B | 3.0 | 3 | 9.0 |
| Total | 10 | 34.2 |
34.2 quality points ÷ 10 credits = a 3.42 GPA. A plain average of the grade points would give 3.43, because it treats the 4-credit Chemistry class the same as the 3-credit ones.
Unweighted vs weighted GPA
An unweighted GPA uses the 4.0 scale above for every class, however hard it is. A weighted GPA adds a bonus for harder classes, so it can go above 4.0. A common system, and the one our calculator uses:
| Class level | Bonus | An A is worth | A B is worth |
|---|---|---|---|
| Regular | +0 | 4.0 | 3.0 |
| Honors | +0.5 | 4.5 | 3.5 |
| AP | +1.0 | 5.0 | 4.0 |
An F stays at 0 whatever the level. Schools differ, though: some give Honors a full point, some also weight IB or dual-enrollment classes, and many colleges recalculate your high school GPA unweighted when you apply. Report the version your school puts on your transcript.
Weighted GPA example
Take the same three classes, but English is Honors and Chemistry is AP:
| Class | Grade | Weighted points | Credits | Quality points |
|---|---|---|---|---|
| English (Honors) | A | 4.5 | 3 | 13.5 |
| Chemistry (AP) | B+ | 4.3 | 4 | 17.2 |
| History | B | 3.0 | 3 | 9.0 |
| Total | 10 | 39.7 |
39.7 ÷ 10 = a 3.97 weighted GPA, while the unweighted GPA is still 3.42.
How to calculate your cumulative GPA
Your cumulative GPA covers every term so far. Do not just average your semester GPAs: a semester with more credits should count more. Instead, turn each GPA back into quality points and divide by all the credits:
cumulative GPA = (old GPA × old credits + new quality points) ÷ (old credits + new credits)Example: your GPA was 3.40 over 45 credits, which is 153 quality points. This semester you earned 34.2 quality points over 10 credits. Your cumulative GPA is (153 + 34.2) ÷ 55 = 3.40.
In the GPA Calculator, enter this semester's classes and add your prior GPA and credits in the target section to see this number.
What grades do I need to raise my GPA?
To find the average you need in your remaining classes to reach a target GPA:
needed = (target × total credits at the end − quality points so far) ÷ credits still to takeExample: you have 187.2 quality points over 55 credits (a 3.40) and 15 credits left. To finish at 3.50, you need (3.50 × 70 − 187.2) ÷ 15 = 57.8 ÷ 15 = 3.85 in those classes, which means mostly A's. The more credits you already have, the harder your GPA is to move, so it pays to start early.
High school vs college GPA
- High school: classes usually count 1 credit (or 0.5 for a half-year class), and many schools report a weighted GPA with Honors and AP bonuses.
- College: classes count their credit hours (often 3 or 4), and the GPA is almost always unweighted on the 4.0 scale.
- The formula is the same in both: quality points ÷ credits.
Calculate GPA in Excel or Google Sheets
Put grade points in column B and credits in column C, one class per row (rows 2 to 8 here). Then:
=SUMPRODUCT(B2:B8,C2:C8)/SUM(C2:C8)SUMPRODUCT multiplies each grade by its credits and adds the results, which gives the total quality points.
Frequently asked questions
What is a good GPA?
A 3.0 is a B average. Around 3.5 or higher is generally seen as strong, and selective colleges and scholarships often look for 3.7 or more. What counts as good depends on the school and program you are aiming for.
Do withdrawals and pass/fail classes count?
Usually not. A W (withdrawal) earns no grade points, and a pass in a pass/fail class earns credits but no grade points, so most schools leave both out of the GPA. A fail in a pass/fail class counts as an F at some schools.
Can a GPA be higher than 4.0?
Only a weighted GPA. On the unweighted 4.0 scale, straight A's give exactly 4.0. With Honors and AP bonuses, a weighted GPA can reach 5.0.
How do I calculate my semester GPA?
Use only that semester's classes in the formula: their quality points divided by their credits.
Ready to check your own numbers? Open the free GPA Calculator: add your classes, choose weighted or unweighted, and see your GPA, honors standing and the grades you need for your target.
Related Articles

BMI Chart by Age: What's Healthy for Adults, Children and Teens
Does a healthy BMI change with age? The adult BMI chart, healthy weight for your height, and CDC BMI-for-age tables for boys and girls aged 2 to 19, with examples.

llms.txt Generator & Validator | Create AI-Ready Files
Generate, validate, and download llms.txt files instantly. Check your file against llmstxt.org standards with live error detection. Optimize for AI crawlers now.

ChatGPT Crawl Checker – Test & Fix AI Bot Access Now
Instantly see if ChatGPT, Perplexity, Claude or other AI bots can crawl your site. Run a live robots.txt & firewall test, get a quick report, and fix blocks now!
Try Our Smart Tools
Put what you've learned into practice with our suite of AI-enhanced tools and smart calculators.