GPA Calculator for Pakistani Universities
Quick answer: GPA = total quality points ÷ total credit hours. For each course, multiply the credit hours by the grade points (A = 4.00, B+ = 3.33, B = 3.00 on the HEC scale), add them up and divide by the credit hours. Example: 15 credit hours with 48.61 quality points gives a GPA of 3.24. Enter your own courses in the calculator below.
How to calculate GPA step by step
- Write down every course with its credit hours (usually 2, 3 or 4).
- Find each course's grade from your marks using the table below.
- Multiply credit hours × grade points = quality points.
- Add all quality points.
- Divide by total credit hours. That is your semester GPA.
Lab courses often carry 1 credit hour – include them, they count too.
Worked example with real numbers
A first-semester student has five courses. Using the HEC 4.0 table:
| Course | Credit hours | Marks | Grade | Points | Quality points |
|---|---|---|---|---|---|
| Calculus | 3 | 88% | A | 4.00 | 12.00 |
| Physics | 4 | 82% | A- | 3.66 | 14.64 |
| English | 3 | 76% | B+ | 3.33 | 9.99 |
| Programming | 3 | 69% | B- | 2.66 | 7.98 |
| Pakistan Studies | 2 | 62% | C | 2.00 | 4.00 |
| Total | 15 | 48.61 |
GPA = 48.61 ÷ 15 = 3.24. Grade cut-offs from the 4.0 scale (HEC / most universities) table in our calculator.
HEC grade points table
This is the table our calculator uses by default. Your university may use its own cut-offs (for example A- at 3.67) – pick your university page if we have one.
| Grade | Marks (%) | Grade points |
|---|---|---|
| A | 85–100% | 4.00 |
| A- | 80–84% | 3.66 |
| B+ | 75–79% | 3.33 |
| B | 71–74% | 3.00 |
| B- | 68–70% | 2.66 |
| C+ | 64–67% | 2.33 |
| C | 61–63% | 2.00 |
| C- | 58–60% | 1.66 |
| D+ | 54–57% | 1.30 |
| D | 50–53% | 1.00 |
| F | Below 50% | 0.00 |
HEC semester grading table. Some universities use 3.67 / 2.67 / 1.67 / 1.33 or slightly different cut-offs.
GPA from marks without grades
If you only have marks, convert each course to a grade first. 88% is A (4.00), 76% is B+ (3.33), 69% is B- (2.66). Then follow the steps above. If all courses have the same credit hours, GPA is simply the average of grade points. For percentage of total marks use the marks percentage calculator.
University-specific GPA calculators
Grade tables differ slightly. Use: UAF, COMSATS, Punjab University, UET, NUST, UMT, UOG, GCUF, Karachi University, Bahria.
Common mistakes
- Averaging GPAs of different semesters without credit hours.
- Forgetting failed (F) courses – they add credit hours with 0 points until repeated.
- Using percentage instead of grade points in the formula.
- Rounding each course result before adding.
Next step: combine semesters with the GPA to CGPA calculator.