GPA calculator
Enter a grade (0–4.0) and credit hours for each course, up to five. The calculator weights each course by its credits and shows your GPA, the total credits, and the total grade points.
Use it to calculate a credit-weighted GPA from your course grades.
GPA
3.43
- Total credits
- 7
- Total grade points
- 24.0
The result updates as you type. The headline is the GPA; the others show the total credits counted and the total grade points behind it.
How does it work?
Each course is weighted by its credits, so heavier courses move the average more. Convert letter grades to the 4.0 scale first (A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0).
GPA formula
- GPA
- Grade point average.
- g_i
- Grade points for course i (0–4.0).
- c_i
- Credit hours for course i.
An A (4.0) in a 3-credit course and a B (3.0) in a 4-credit course: (4×3 + 3×4) / (3 + 4) = 24 / 7 ≈ 3.43.
Method & sources
Grades use the 4.0 scale (A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0). Each course is weighted by its credit hours. Courses with zero credits are ignored, so empty slots don't count.
Sources
Where this method comes from — use these references to understand the formula, assumptions, and limits.
- Grade point average calculation — U.S. Department of Education, verified 2026-06-10
How we calculate
- Grades use the 4.0 scale (A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0).
- Each course is weighted by its credit hours.
- Courses with zero credits are ignored, so empty slots don't count.
- The GPA is total grade points divided by total credits.
Rounding
The GPA is shown to two decimals. The calculation uses full precision.
What this calculator does
A GPA is a credit-weighted average of your grades, so a high mark in a heavy course counts more than the same mark in a light one. This calculator multiplies each grade by its credits, sums those points, and divides by the total credits.
How to use it
- Convert each letter grade to the 4.0 scale.
- Enter the grade and credit hours for each course.
- Leave unused course slots at zero credits.
- Read your GPA and total credits.
A worked example
An A (4.0) in a 3-credit course and a B (3.0) in a 4-credit course: (4×3 + 3×4) / (3 + 4) = 24 / 7 ≈ 3.43.
Converting letter grades
On the common 4.0 scale, A = 4.0, B = 3.0, C = 2.0, D = 1.0, and F = 0, with pluses and minuses in between (e.g. B+ = 3.3). Use your institution's exact table if it differs.
Common mistakes
- Averaging grades without weighting by credits.
- Entering letter grades instead of 4.0-scale points.
- Leaving credits on an unused row, which skews the result.
When it's useful
Tracking your GPA across a term, checking the effect of one course, or estimating where you stand before grades are final.
FAQ
- How is GPA calculated?
- Each grade is multiplied by its credit hours; those grade points are summed and divided by the total credits.
- Why weight by credits?
- Courses worth more credits represent more work, so they should move the average more than smaller courses.
- How do I convert letter grades?
- Use the 4.0 scale: A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0, with plus/minus steps. Check your school's table for exact values.
- Can I add more than five courses?
- This version takes up to five. For more, combine courses into groups or calculate in batches and weight the results.
- What if a course has zero credits?
- It's ignored, so you can leave unused rows blank (zero credits) without affecting the GPA.
- Can I share a calculation?
- Yes. Use Share to copy a link that reopens the calculator with the same courses.
Related calculators
Embed this calculator
Add this calculator to your own site. The snippet includes the calculator iframe and a small attribution link:
<iframe src="https://wisecalcs.com/embed/en/gpa-calculator" width="100%" height="520" style="border:0" loading="lazy"></iframe>
<p>Calculator from <a href="https://wisecalcs.com/en/math/gpa-calculator">WiseCalcs</a></p>