GPA Calculator Guide: How to Calculate Your GPA

Written and verified by Muhammad Haroon, founder of Numblox · The weighted formula in plain English · Worked examples · What one F does · Cumulative GPA · Updated 23 November 2026

Your GPA is not a simple average of your grades — it is a weighted one, where a grade in a 4-credit course moves the number more than the same grade in a 1-credit course. Once you see the weighting, every GPA puzzle ("how did one bad course do that much damage?") explains itself. This guide walks through the formula with verified examples, including the two situations students ask about most: a mixed semester, and the damage done by a single F.

Try it yourself: use the free GPA Calculator on Numblox — add a row per course, pick each letter grade and credit hours, and get your weighted GPA on the 4.0 scale. Nothing you enter is stored or sent anywhere.

What this calculator does

The calculator takes your courses — a letter grade and a credit value for each — converts the grades to points on the standard 4.0 scale, weights each by its credits, and reports your total credits and your GPA to two decimal places. You can add as many course rows as you need, so a whole semester (or, by entering everything, a whole degree) fits in one calculation. Courses left without credits are ignored, so you can sketch "what if" scenarios with partial information.

The GPA formula

GPA = Total (Grade points × Credits) ÷ Total credits

Letter gradeGrade points
A4.0
B3.0
C2.0
D1.0
F0.0

For each course, multiply its grade points by its credits; add those products across all courses; divide by the total credits. That is the whole method — a credit-weighted average. This calculator uses the plain A–F scale above, without plus/minus grades; if your school awards A−, B+ and so on, its official scale will differ slightly (an A− is often 3.7, a B+ 3.3), and your institution's transcript is the final word. This is exactly the maths the Numblox calculator runs, and every figure in this guide was produced with that same code.

Worked example 1 — two courses: A and B

An A in a 3-credit course and a B in a 3-credit course.

Step 1: A course: 4.0 × 3 = 12 points. B course: 3.0 × 3 = 9 points.
Step 2: total points = 12 + 9 = 21; total credits = 6.
Step 3: GPA = 21 ÷ 6 = 3.50.

With equal credits, the GPA lands exactly halfway between the two grades — the simple case that hides the weighting. The next examples show what happens when credits differ.

Worked example 2 — a realistic semester

Five courses: an A in a 4-credit course, a B in a 3-credit course, an A in a 3-credit course, a C in a 2-credit course and a B in a 1-credit course.

CourseGradeCreditsPoints × Credits
1A (4.0)416
2B (3.0)39
3A (4.0)312
4C (2.0)24
5B (3.0)13

Total points = 16 + 9 + 12 + 4 + 3 = 44; total credits = 13; GPA = 44 ÷ 13 = 3.38. A plain unweighted average of the five grades (4, 3, 4, 2, 3) would give 3.20 — noticeably lower, because it would treat the 1-credit B and the 4-credit A as equals. The weighting rewarded the A where it counted most: in the biggest course.

What one F does — and why credits decide the damage

Take a strong semester — A, A, B in three 3-credit courses — and add one F in another 3-credit course: points = 12 + 12 + 9 + 0 = 33, credits = 12, GPA = 2.75. One bad course out of four dragged a 3.67-level performance below 2.8, because an F contributes zero points while its credits still count in full in the denominator. Even four straight A's cannot fully absorb one: A, A, A, A, F (all 3 credits) gives 48 ÷ 15 = 3.20 — a whole 0.80 below the 4.00 the A's alone would have earned.

Now the flip side — the same two grades, different credits, opposite outcomes. An A in a 1-credit course plus a B in a 4-credit course: (4 + 12) ÷ 5 = 3.20. An A in a 4-credit course plus a B in a 1-credit course: (16 + 3) ÷ 5 = 3.80. Identical grades on the transcript, a 0.60 GPA difference — purely from where the credits sat. The practical moral: effort follows credits. Protecting your grade in high-credit courses protects your GPA; a slip in a 1-credit course is a dent, while the same slip in a 4-credit course is a hole. (And a baseline for calibration: straight B's in everything give exactly 3.00, whatever the credits — weighting cannot move an average when all the values are the same.)

Cumulative GPA across semesters

A cumulative GPA is not the average of your semester GPAs — it is the same formula run over every course you have ever taken: all points ever earned, divided by all credits ever attempted. That is why a bad first semester haunts a cumulative figure for years (its credits stay in the denominator forever) and why improvement shows up gradually: each new semester's credits dilute the old ones a little more. To compute yours with this calculator, simply enter all courses from all semesters in one list — the maths is identical. It also means early semesters are the highest-leverage ones: when your total credits are still small, each course moves the cumulative figure a lot, for better and worse.

Common questions

What GPA do I need in my remaining courses to reach a target? Work backwards with the same formula. Your current record is a fixed pile of points and credits; add your planned courses at the grades you are aiming for and see where the total lands. For example, if your record so far is the 2.75 semester above (33 points, 12 credits) and you take 12 more credits of straight A's (48 points), the cumulative figure becomes 81 ÷ 24 = 3.38 — strong recovery, but the F's semester permanently costs you the difference from 4.00.

Does an F count if I retake the course? That depends entirely on your institution's policy: some replace the grade, some average the two attempts, some count both. This calculator counts exactly the courses you enter — to model a replacement policy, enter only the new grade; to model an averaging policy, enter both attempts.

My school uses plus and minus grades. Can I still use this? As an approximation, yes — enter the nearest plain letter (B+ as B, A− as A) and expect the result to be close but not exact. Plus/minus scales typically value an A− at 3.7 and a B+ at 3.3, so a transcript full of minuses will score a little lower officially than this calculator suggests, and one full of pluses a little higher.

Is a 3.50 GPA good? On the 4.0 scale, 3.50 sits halfway between a B average and straight A's — at many universities it is around the threshold for honours lists (often 3.5) and comfortably above the 3.0 that many employers and graduate programmes use as a first filter. Context matters, though: grading standards differ by institution and field, and your school's own honours rules are the ones that count.

Check your own numbers

Enter your courses in the Numblox GPA Calculator — your last semester first, then try the what-if that matters to you: the same semester with one grade improved, or your full record for a cumulative figure. Juggling dates for enrolment or graduation instead? The Date Calculator Guide counts the days for you.

Note: This article and the calculator provide general information using the standard unweighted 4.0 scale (A = 4, B = 3, C = 2, D = 1, F = 0). Schools vary — weighted honours scales, plus/minus grades and retake policies all change the official result, and your institution's transcript is always final.

Related: GPA Calculator · Percentage Calculator · Date Calculator · All free calculators