Calculating GPA from marks in Pakistan involves converting subject marks to grade points and applying a weighted average using credit hours. Here is the step-by-step method with a worked example.

To calculate GPA from marks: convert each subject's percentage to a grade point using your university's scale, multiply each grade point by the subject's credit hours, sum those values, and divide by total credit hours. The result is your semester GPA. Always use your university's specific grade scale, not a generic one, as conversions vary by institution.
Knowing how to calculate GPA from marks is useful at every stage of university life: checking your standing mid-semester, working out what you need in finals to hit a target GPA, or understanding your transcript when applying for a scholarship or job. The calculation is straightforward once you know the steps. This guide walks through the standard method used at most Pakistani universities with a concrete worked example.
Most Pakistani universities use a 4.0 GPA scale. The calculation involves three steps: converting marks to grade points, weighting by credit hours, and dividing.
The common grade scale used at HEC-recognised universities is shown below. Check your university's student handbook or portal for their exact scale, as there are small variations.
| Marks (%) | Letter grade | Grade points |
|---|---|---|
| 90-100 | A | 4.0 |
| 85-89 | A- | 3.7 |
| 80-84 | B+ | 3.3 |
| 75-79 | B | 3.0 |
| 70-74 | B- | 2.7 |
| 65-69 | C+ | 2.3 |
| 60-64 | C | 2.0 |
| 55-59 | C- | 1.7 |
| 50-54 | D | 1.0 |
| Below 50 | F | 0 |
Subjects are not all equal in weight. A 3-credit-hour course counts for more than a 1-credit-hour lab. To account for this, multiply each subject's grade point by its credit hours. This gives you the "quality points" for each subject.
Add up all quality points (grade point x credit hours) from Step 2. Divide by the total credit hours taken in the semester. The result is your semester GPA.
Suppose you have three subjects this semester with the following results:
| Subject | Marks (%) | Grade points | Credit hours | Quality points |
|---|---|---|---|---|
| Physics | 85 | 3.7 | 3 | 11.1 |
| Calculus | 72 | 2.7 | 2 | 5.4 |
| English | 91 | 4.0 | 1 | 4.0 |
| Total | 6 | 20.5 |
GPA = 20.5 / 6 = 3.42. This is a weighted average, not a simple average of the three percentage scores or even the three grade points. The credit hours determine the weight of each subject.
The grade scale in this post is standard at many HEC-recognised universities, but not universal. NUST, FAST, and COMSATS all publish their own official grade scales, and there are small differences. Using the wrong scale gives you a wrong GPA. Before using any online calculator or the table above, confirm the exact scale from your university's student handbook, official website, or registrar. Even a small difference in the 70-74% range (some universities award B, others B-) can shift your GPA by 0.1 to 0.2 points.
Co-Founder, Parhlai | ML Engineer
Zalaid Saleem is a co-founder of Parhlai and a machine-learning engineer by passion. He writes about learning to code, AI and data science careers, and the engineering path in Pakistan.

No app needed. A university CGPA calculator works by taking your semester GPAs, weighting them by cr...

CGPA stands for Cumulative Grade Point Average. It is your overall academic performance across all s...

Converting CGPA to percentage in Pakistan depends on your university's scale. The standard HEC formu...
Parhlai is your AI-guided solution for mastering university entry tests in Pakistan. Prepare with confidence, ensuring your success with our cutting-edge platform tailored to your needs.
© 2026, Parhlai. All rights reserved.