GPA Calculator Formula
Understand the math behind the gpa calculator. Each variable explained with a worked example.
Formulas Used
Grade Point Average
gpa = total_quality_points / total_creditsTotal Quality Points
total_quality_points_out = total_quality_pointsTotal Credit Hours
total_credits_out = total_creditsVariables
| Variable | Description | Default |
|---|---|---|
grade1 | Course 1 Grade Points | 3.5 |
credits1 | Course 1 Credits | 3 |
grade2 | Course 2 Grade Points | 3 |
credits2 | Course 2 Credits | 4 |
grade3 | Course 3 Grade Points | 4 |
credits3 | Course 3 Credits | 3 |
grade4 | Course 4 Grade Points | 2.5 |
credits4 | Course 4 Credits | 3 |
total_quality_points | Derived value= grade1 * credits1 + grade2 * credits2 + grade3 * credits3 + grade4 * credits4 | calculated |
total_credits | Derived value= credits1 + credits2 + credits3 + credits4 | calculated |
How It Works
How GPA Is Calculated
GPA is a weighted average of your grades across all courses. Each letter grade gets a number (A=4.0, B=3.0, C=2.0, D=1.0, F=0). Multiply each grade point by the course's credit hours, add them up, then divide by total credit hours. A 3-credit A and a 4-credit B gives you (12 + 12) / 7 = 3.43 GPA.
The Formula
GPA = Sum of (Grade Points x Credit Hours) / Total Credit Hours
Plus/minus grading shifts the scale: A+ stays at 4.0 (most schools cap it there), A- = 3.7, B+ = 3.3, B- = 2.7, and so on in 0.3 increments.
When to Use This
Checking your semester GPA before grades are finalized. Planning what grades you need in remaining courses to hit a target GPA. Estimating whether you qualify for dean's list (usually 3.5+), academic probation (usually below 2.0), or a specific program's GPA requirement.
Cumulative vs. Semester GPA
Semester GPA covers one term. Cumulative GPA covers your entire academic career. A bad semester hurts your cumulative GPA, but the damage gets diluted as you complete more credit hours. A freshman who gets a 2.0 in a 15-credit semester then earns 3.5 for seven straight semesters ends up with a 3.31 cumulative.
Weighted vs. Unweighted (High School)
High schools sometimes use weighted GPAs where honors courses are on a 5.0 scale and AP courses on a 5.0 or 6.0 scale. This calculator uses the standard unweighted 4.0 scale. If your school uses weighted grades, check if they have their own weighting table.
Common Mistakes
Worked Example
A student takes 4 courses: Course 1 (3.5 grade, 3 credits), Course 2 (3.0 grade, 4 credits), Course 3 (4.0 grade, 3 credits), Course 4 (2.5 grade, 3 credits).
- 01Course 1 quality points: 3.5 x 3 = 10.5
- 02Course 2 quality points: 3.0 x 4 = 12.0
- 03Course 3 quality points: 4.0 x 3 = 12.0
- 04Course 4 quality points: 2.5 x 3 = 7.5
- 05Total quality points: 10.5 + 12.0 + 12.0 + 7.5 = 42.0
- 06Total credits: 3 + 4 + 3 + 3 = 13
- 07GPA = 42.0 / 13 = 3.23
Frequently Asked Questions
What is a good GPA?
A GPA of 3.0 or above is generally considered good for college. A 3.5+ is very good and qualifies for many honors programs. A 3.7+ is excellent and competitive for graduate school. Requirements vary significantly by institution and program.
How is GPA different from a simple average?
GPA is a weighted average. A 4-credit course contributes more to your GPA than a 1-credit course. A simple average would treat all courses equally regardless of credit hours.
Can my GPA be higher than 4.0?
On a standard unweighted 4.0 scale, 4.0 is the maximum. However, weighted GPAs used in some high schools can exceed 4.0 by awarding bonus points for honors (+0.5) or AP/IB (+1.0) courses.
How much does one bad grade affect my GPA?
It depends on how many credit hours you have completed. Early in your studies with fewer total credits, one low grade has a bigger impact. Later, with many credits accumulated, a single bad grade is diluted by all previous coursework. Use our GPA calculator to model specific scenarios.
Ready to run the numbers?
Open GPA Calculator