Education

How to Calculate GPA and CGPA: Formula and Worked Examples

How GPA and CGPA are calculated on a 4.0 scale using credit hours and grade points, with worked examples and tips for checking your university’s own scale.

GPA (grade point average) summarises one semester. CGPA (cumulative GPA) summarises all your semesters so far. Both are weighted by credit hours, so a 4-credit course counts more than a 2-credit course.

The GPA formula

GPA = total quality points ÷ total credit hours, where quality points for a course = grade points × credit hours.

A common 4.0 scale

GradeGrade points
A4.00
A−3.67
B+3.33
B3.00
B−2.67
C+2.33
C2.00
D1.00
F0.00

Universities differ. Some do not use plus and minus grades, and some give different points to the same letter. Always use the grading table printed by your own university or HEC-recognised institution.

Worked example: one semester

CourseCreditsGradeQuality points
Accounting3A (4.00)12.00
Statistics4B+ (3.33)13.32
Marketing3B (3.00)9.00
English2A− (3.67)7.34
Total1241.66

GPA = 41.66 ÷ 12 = 3.47.

Calculating CGPA

Add up the quality points and credit hours of every semester, then divide. Example: after 60 credit hours you had a CGPA of 3.20, and this semester you earn a GPA of 3.35 over 15 credit hours.

CGPA = (3.20 × 60 + 3.35 × 15) ÷ (60 + 15) = 242.25 ÷ 75 = 3.23.

Notice that the average of 3.20 and 3.35 would be 3.275, which is wrong. Credit hours matter.

Retaken courses

Many universities replace the old grade with the new one when you repeat a course, but rules vary. Check your academic handbook.

Plan your target

To reach a target CGPA, work out the quality points you need: required total = target × total credits, minus the points you already have. Divide that by next semester’s credit hours to see the GPA you must earn.

The free GPA Calculator does these sums for you and keeps your data in your browser.

Keep reading