If you’re a university student in Pakistan, you’ve probably typed “how to calculate CGPA” into Google at least once โ usually right before result day. The good news: the math behind CGPA is simple once you see it laid out. This guide walks you through the exact CGPA formula used under the HEC 4.0 grading scale, with a worked example you can follow with your own transcript.
By the end, you’ll be able to calculate your CGPA by hand in under two minutes โ or use our free CGPA calculator to do it instantly.
What Is CGPA?
Before you learn how to calculate CGPA, it helps to understand what the number means. CGPA (Cumulative Grade Point Average) is the average of your grade points across all semesters you’ve completed so far. Unlike SGPA (Semester GPA), which only reflects one semester, CGPA gives you โ and anyone reviewing your transcript โ a full picture of your academic performance across your entire degree.
Pakistani universities under HEC guidelines almost universally use a 4.0 scale, where:
- 4.0 = highest grade point (usually A/A+)
- 0.0 = failing grade point (F)
The CGPA Formula (HEC 4.0 Scale)
The official formula, based on HEC’s semester system guidelines, is:
CGPA = Total Grade Points Earned รท Total Credit Hours Attempted
Where:
Grade Points Earned (per course) = Credit Hours ร Grade Point of that course
This is different from simply averaging your semester GPAs โ it’s credit-hour weighted, meaning a 3-credit course affects your CGPA more than a 1-credit course. This is exactly how to calculate CGPA under HEC’s official Undergraduate Education Policy, which all Pakistani universities are required to follow.
Step 1: Calculate SGPA First
Before you can calculate CGPA, you need each semester’s SGPA (Semester Grade Point Average). The formula is:
SGPA = ฮฃ (Credit Hours ร Grade Point) รท Total Credit Hours (that semester)
Example โ Semester 1:
| Course | Credit Hours | Grade | Grade Point | Credit Hours ร GP |
|---|---|---|---|---|
| Calculus I | 3 | A | 4.0 | 12.0 |
| Programming Fundamentals | 4 | A- | 3.7 | 14.8 |
| English | 3 | B+ | 3.3 | 9.9 |
| Islamic Studies | 2 | A | 4.0 | 8.0 |
| Total | 12 | 44.7 |
SGPA = 44.7 รท 12 = 3.73
How to Calculate CGPA Across Multiple Semesters
Once you have SGPA for each semester, CGPA is calculated the same way โ but across all semesters combined:
CGPA = (Sum of all Credit-Hour-Weighted Grade Points across all semesters) รท (Total Credit Hours attempted so far)
Worked Example โ 2 Semesters:
| Semester | Credit Hours | Grade Points Earned |
|---|---|---|
| Semester 1 | 12 | 44.7 |
| Semester 2 | 15 | 51.0 |
| Total | 27 | 95.7 |
CGPA = 95.7 รท 27 = 3.54
Notice this is not the same as averaging 3.73 and 3.40 (Semester 2’s SGPA) directly โ credit hours change the weighting. This is the single biggest mistake students make (see below).
Common Mistakes When Calculating CGPA
- Averaging SGPAs directly instead of weighting by credit hours โ this gives a wrong result if semesters have different total credit loads.
- Forgetting repeated/improved courses โ check whether your university replaces the old grade or averages both attempts (this varies by institution).
- Ignoring withdrawn (W) or incomplete (I) courses โ these are usually excluded from CGPA but still show on transcripts, which confuses students.
- Using the wrong grading scale โ some private universities use a 4.3 scale instead of HEC’s standard 4.0, which changes every grade point value.
CGPA Calculation Varies Slightly by University
While the core formula above applies almost everywhere in Pakistan, grade-point boundaries (what percentage equals an A, A-, B+, etc.) differ between institutions. If you want your exact CGPA calculated instantly using your specific university’s grading policy, use one of our dedicated calculators:
- University of Agriculture Faisalabad (UAF) CGPA Calculator
- Punjab University (PU) CGPA Calculator
- COMSATS CGPA Calculator
- NUST CGPA Calculator
- FAST-NUCES CGPA Calculator
- LUMS CGPA Calculator
- UET Lahore CGPA Calculator
- Bahria University CGPA Calculator
Want to see how these CGPA requirements compare for admissions, scholarships, and probation limits? Check our CGPA requirements comparison across Pakistani universities.
CGPA vs GPA: What’s the Difference?
CGPA and GPA are often used interchangeably, but they’re not identical โ GPA usually refers to a single semester’s average, while CGPA is cumulative. We’ve covered this in full detail, including how it affects scholarship and job eligibility, in our CGPA vs GPA guide.
How to Improve Your CGPA
If your current CGPA is lower than you’d like, focus on:
- Prioritize high-credit-hour courses โ a strong grade in a 4-credit course moves your CGPA more than the same grade in a 1-credit course.
- Use the “what-if” feature in our calculator to see exactly what grades you need next semester to hit your target CGPA.
- Talk to your academic advisor early about repeat/improvement policies at your specific university โ they differ significantly.
Calculate Your CGPA Instantly
You now know how to calculate CGPA manually โ but for your actual transcript, use our free CGPA Calculator โ it applies your university’s exact grading scale automatically and supports semester-by-semester “what-if” projections.
Frequently Asked Questions
What is the CGPA formula used in Pakistan?
CGPA = Total Grade Points Earned รท Total Credit Hours Attempted, using the HEC-standard 4.0 grading scale adopted by most Pakistani universities.
Is CGPA the same as percentage?
No. CGPA is a grade-point average on a 4.0 scale, while percentage reflects raw marks. Many universities provide a separate conversion formula โ check our CGPA vs GPA guide for details.
Does CGPA include failed courses?
Yes, failed courses (grade point 0.0) are included in the credit-hour total, which lowers your CGPA. This is why repeating failed courses to replace the grade matters.
How is SGPA different from CGPA?
SGPA measures a single semester’s performance. CGPA is the cumulative average across every semester you’ve completed so far.
Can I calculate CGPA without knowing credit hours?
No โ credit hours are essential to the formula. Simply averaging your grades without weighting by credit hours will give an inaccurate CGPA.
Final Thoughts
Now that you know how to calculate CGPA by hand, you can see it isn’t complicated once you understand it’s credit-hour weighted, not a simple average. But manually recalculating it every semester is time-consuming and error-prone โ which is exactly why we built our free calculators for each major Pakistani university. Bookmark this page, and use the tool above whenever your new semester results are out.