How to Calculate GPA and CGPA in Pakistan (HEC 4.0 Scale)
Learn how to calculate your semester GPA and cumulative CGPA on the Pakistan HEC 4.0 scale, with grade points, credit hours, and worked examples.
Understanding the HEC 4.0 GPA scale
Most universities in Pakistan follow the Higher Education Commission (HEC) 4.0 grading scale. Under this system each letter grade maps to a grade point, usually with A grades near 4.0 and failing grades at 0.0. Your GPA is a weighted average of these grade points, where the weight is the number of credit hours for each course.
The key idea is that a three credit-hour course affects your GPA more than a one credit-hour course. That is why a high grade in a heavy course helps more, and a low grade in a heavy course hurts more. Always confirm the exact grade point table your own university uses, because some institutions adjust the boundaries slightly.
GPA usually refers to a single semester, while CGPA (cumulative GPA) combines all your semesters into one running average. Both use the same weighted-average method, just over a different set of courses.
How to calculate your semester GPA
To find your GPA for one semester, follow these steps:
First, list every course with its credit hours and the grade point you earned. Convert each letter grade to its grade point using your university's table (for example A equals 4.0, B equals 3.0, and so on).
Second, multiply each course's grade point by its credit hours. This gives you the quality points for that course.
Third, add up all the quality points, then add up all the credit hours. Divide total quality points by total credit hours. The result is your GPA. The GPA calculator does this weighting automatically so you avoid arithmetic slips.
For a quick example, imagine three courses: a 3 credit-hour course with a 4.0, a 3 credit-hour course with a 3.0, and a 2 credit-hour course with a 3.5. Quality points are 12, 9, and 7, totalling 28. Total credit hours are 8. Your GPA is 28 divided by 8, which is 3.5.
Calculating CGPA across semesters
Your CGPA extends the same method across every semester you have completed. Add the quality points from all semesters together, add all the credit hours together, and divide. You do not simply average your semester GPAs, because semesters can have different total credit hours.
If you want to see how a target grade in your remaining courses would change your standing, the grade calculator helps you test different scenarios before results are finalised. Many students use this to work out the minimum grade they need to reach a scholarship or graduation threshold.
To translate marks into a percentage first, or to check a weighted class result, the percentage calculator is a fast companion tool.
Tips for Pakistani students
Confirm your university's exact grade point boundaries, since a mark of 80 might be an A at one institution and an A-minus at another. Small differences change your grade point.
Recalculate after every result so you always know where you stand, especially if you are close to a probation line or a scholarship cut-off. Keeping a running CGPA spreadsheet, or using an online calculator each semester, prevents surprises.
Remember that repeat or improvement policies vary. Some universities replace the old grade, others average both attempts. Check your handbook so your own calculation matches the official transcript.
Frequently asked questions
What is the difference between GPA and CGPA?
GPA is the weighted grade-point average for a single semester, while CGPA is the cumulative average across all completed semesters. Both use credit hours as weights.
Is the HEC scale always out of 4.0?
Most Pakistani universities use a 4.0 scale, but the exact grade point for each letter grade can differ slightly between institutions, so always check your own university's grading table.
How do I convert my percentage marks to GPA?
First convert your marks in each course to the letter grade your university assigns, then to its grade point on the 4.0 scale. There is no single universal formula, so use your institution's official conversion table.
Related tools
GPA Calculator
Calculate weighted GPA from grade points and credits.
Grade Calculator
Calculate weighted course grade from scores and weights.
Percentage Calculator
Calculate percent of a number, percentage share, and percentage increase or decrease for everyday math.