How to Calculate GPA in Pakistan: The Complete Guide (2026)

The short answer

To calculate your GPA in Pakistan: multiply each course's grade points by its credit hours, add up all those products (your total quality points), and divide by your total credit hours for the semester. GPA = Σ (Grade Points × Credit Hours) ÷ Σ (Credit Hours). Pakistani universities use the HEC 4.0 scale, where an A is worth 4.00 grade points, a B+ is 3.33, a B is 3.00, a C is 2.00, and an F is 0.00. Credit hours matter: a 4-credit course counts four times as much as a 1-credit course. So a semester of four courses — 4 credit hours of A− (3.67), 4 of B+ (3.33), 3 of A (4.00), 1 of A (4.00) — gives (14.68 + 13.32 + 12.00 + 4.00) ÷ 12 = 44.00 ÷ 12 = 3.67. The rest of this guide gives you the official HEC tables, the step-by-step method, three fully worked examples, and the mistakes other websites teach.

Why every student in Pakistan asks this question

You finish your first university semester in Lahore, Karachi, Islamabad or Peshawar, and your result card arrives with a number like 3.41 — but no explanation of how it was produced. You came from Matric or FSc, where everything was a percentage. Now there are letter grades, grade points, credit hours, and something called quality points. Your university's handbook gives the formula in one line. Your seniors give you three different versions of it. And the online calculators disagree with each other: one says B+ is 3.5, another says 3.3; one says percentage ÷ 25 gives GPA, another says that shortcut is nonsense.

This guide resolves all of that, the Pakistan way. It follows the Higher Education Commission's uniform semester-system guidelines — the actual policy document universities are required to follow — and shows the complete calculation with real numbers, three times, so you can check your own transcript against it. You will also learn where the popular calculators get it wrong, because several of them genuinely do.

GPA vs CGPA vs SGPA — stop mixing them up

Three acronyms, one idea, three different scopes:

TermFull formWhat it coversFormula
GPAGrade Point AverageOne semester onlyΣ (GP × CH) ÷ Σ CH, this semester's courses
SGPASemester GPAOne semester only — same thing as GPASame as GPA (different label on some transcripts)
CGPACumulative GPAYour entire degree to dateΣ (GP × CH) ÷ Σ CH, all completed courses

The confusion is understandable. Students — and some websites — use "GPA" when they mean "CGPA". Here is the rule that clears everything up: CGPA is not the average of your semester GPAs. It is the credit-weighted average across every course you have ever completed. If semester 1 was 15 credit hours at GPA 3.20 and semester 2 was 18 credit hours at GPA 2.93, your CGPA is not (3.20 + 2.93) ÷ 2 = 3.07. The correct answer is 3.05 (full working in Worked Example 3 below). The difference looks small here, but over eight semesters it can move your degree classification.

Our full comparison — including which number goes on a CV, a scholarship form, or a foreign application — is in the guide CGPA vs GPA: What's the Difference? The Complete Pakistan Guide .

The official HEC grading table (2026)

HEC's Policy Guidelines for the Implementation of Uniform Semester Examination System, section 13.1 ("Fractionalized Grading System"), prints one grade-point value per percentage band — not ranges. One honest footnote: the document is titled Draft Policy Guidelines — it is the guidance HEC issued and universities implemented. We verified the table below against the primary PDF itself rather than trusting secondary copies, and this is what §13.1 actually prints:

GradeGrade-point valuePercentage band
A4.0085 and above
A−3.6680 – 84
B+3.3375 – 79
B3.0071 – 74
B−2.6668 – 70
C+2.3364 – 67
C2.0061 – 63
C−1.6658 – 60
D+1.354 – 57
D1.0050 – 53
F0.00Below 50

Two things to notice. First, HEC's table has no A+: the top grade is A, worth 4.00 at 85% and above. Some universities add A+ or use the rounded variant shown below, but the official document is clear. Second, HEC's policy states a rule that matters enormously for conversions: a student "getting any CGPA, in absolute or relative grading, will be given the minimum of the corresponding percentage" — so a CGPA of exactly 3.00 is certified as 71%, not "somewhere between 71 and 74". This is the basis of our CGPA to Percentage Calculator and the HEC band table in it.

For the per-course GPA calculation you are about to learn, the multiplication needs one discrete value per grade. University portals and transcripts almost universally show the rounded convention — A− = 3.67, B− = 2.67, C− = 1.67, D+ = 1.33 — a hundredth above HEC's printed 3.66 / 2.66 / 1.66 / 1.3 (IBA Karachi and GIKI publish the rounded values on their official scales). Same bands, same letters, and the difference moves a GPA by at most a hundredth or two, so treat it as a rounding convention, not a dispute. The examples below follow the portal convention because that is what students see on their result cards. The full story — relative grading, institutional scales, and the errors ranking pages make with this table — is in our guide University Grading Systems in Pakistan: HEC Scale vs Relative Grading (2026 Guide) :

GradeGrade points (used in GPA math)
A4.00
A−3.67
B+3.33
B3.00
B−2.67
C+2.33
C2.00
C−1.67
D+1.33
D1.00
F0.00

A note on variants: many Pakistani calculator websites round these further to 3.70 / 3.30 / 2.70, and a few use slightly different percentage boundaries (e.g. B− at 65–69 instead of 68–70). Your own university's published grade table is the final authority — but HEC's §13.1 table above is the standard it should match. Nothing in the method below changes — only the lookup values.

Your university might use a different table — check before you trust

Here is where GPA guides usually stop and where this one does not. The HEC table is the standard, but it is not universal in the details:

  • Relative grading (grading on a curve). NUST, FAST-NUCES, GIKI and some other institutions grade many courses relative to class performance: the cutoffs move with the class average. In a relative-grading course, your 80% might be a B if the class average was 88%, or an A if the class average was 65%. The GPA formula is identical — but the letter grade your marks map to is decided by the curve, not by the fixed percentage bands above. Always check your course outline for "absolute" or "relative" grading.
  • Coarse scales. Some MPhil programmes (notably QAU's) use a coarse scale — A / B / C / F with no plus/minus grades. The bands are wider and the GPA math uses fewer values. Covered in "The 5.0 scale and special cases" below.
  • Annual-system degrees. Older annual-system programmes (and conversions from them) use HEC's separate annual conversion table: 85%+ = A (4.00); 70–84% = A− (3.66–3.99); 55–69% = B (2.66–3.65); 45–54% = C (1.66–2.65); 33–44% = D (1.00–1.65); below 33% = F. Do not apply the semester table to an annual-system result card.
  • Boundary differences. Even HEC-compliant universities shift boundaries a few points (A at 80% instead of 85%, say). The registrar's published table — usually in the student handbook or the university prospectus — outranks every website, including this one.

The GPA formula, explained

GPA = Σ (Grade Points × Credit Hours) ÷ Σ (Credit Hours), computed over every course in one semester.

Each term means something concrete:

  • Grade Points (GP): the number your letter grade is worth — 4.00 for an A, 3.33 for a B+, 0.00 for an F. Looked up from the table above, not invented.
  • Credit Hours (CH): the weight of the course — typically 3 for a theory course, 4 for a heavy core course, 2 for a light course, 1 for a lab. Printed on your transcript next to each course.
  • Quality Points (QP): grade points × credit hours, per course. A 3-credit course at B (3.00) produces 9.00 quality points. This is the unit that actually adds up.

The division at the end turns the total back into the familiar 0–4 scale. The weighting is the entire point of the formula: a 4-credit course contributes four times as many quality points as a 1-credit course at the same grade. That is why your semester's heaviest courses decide your GPA, and why a straight average of grade points — no matter how many websites teach it — is wrong.

[IMAGE-1]

Step by step: calculate your semester GPA

  1. List every course you completed this semester, with its credit hours. Count only courses with letter grades — exclude withdrawn (W), incomplete (I), and pass/fail courses. Most Pakistani semesters total 15–18 credit hours.
  2. Convert each letter grade to grade points using your university's table (the HEC discrete values: A = 4.00, A− = 3.67, B+ = 3.33, B = 3.00, B− = 2.67, C+ = 2.33, C = 2.00, C− = 1.67, D+ = 1.33, D = 1.00, F = 0.00).
  3. Multiply each course: grade points × credit hours. These are your quality points per course. Write them down — do not round yet.
  4. Add up all quality points, and separately add up all credit hours.
  5. Divide total quality points by total credit hours, and round the result to two decimals. That is your semester GPA.

Two habits that prevent 90% of errors: do your rounding only at the very end (rounding quality points mid-calculation can shift your GPA by a hundredth or more), and never include credit hours from a course you withdrew from — a W is not a zero, it simply does not enter the calculation.

Worked example 1 — a full semester with mixed credit hours

Hassan's fourth-semester transcript at a public university shows four courses:

CourseCredit hoursGradeGrade pointsQuality points
Calculus4A−3.6714.68
Physics4B+3.3313.32
English Composition3A4.0012.00
Programming Lab1A4.004.00
Total1244.00

Step 3's multiplications: 3.67 × 4 = 14.68; 3.33 × 4 = 13.32; 4.00 × 3 = 12.00; 4.00 × 1 = 4.00. Step 4's totals: 14.68 + 13.32 + 12.00 + 4.00 = 44.00 quality points; 4 + 4 + 3 + 1 = 12 credit hours. Step 5: 44.00 ÷ 12 = 3.6667…, rounded to two decimals = 3.67.

Notice what the lab does here. Hassan got an A in his 1-credit lab — a perfect score — but it contributes only 4.00 of his 44.00 quality points (about 9%). His 4-credit Calculus A− contributes 14.68 (a third of the total). Same grades, wildly different influence. That asymmetry is the reason the simple "average of grade points" method gives a different — wrong — answer here: (3.67 + 3.33 + 4.00 + 4.00) ÷ 4 = 3.75, a full 0.08 above the real 3.67. Enough to cross a scholarship cutoff.

[IMAGE-2]

Worked example 2 — from raw marks to GPA

Many students receive marks, not letters. The correct path is always marks → letter grade → grade points → quality points. Skipping the letter-grade step is where the popular shortcuts go wrong.

Fatima's three courses came back as percentages. Using the HEC bands (80–84 = A−, 71–74 = B, 68–70 = B−):

CourseCredit hoursMarksLetterGPQuality points
Data Structures382%A−3.6711.01
Operating Systems473%B3.0012.00
Technical Writing269%B−2.675.34
Total928.35

GPA = 28.35 ÷ 9 = 3.15 exactly = 3.15.

Now compare the "direct percentage" shortcut that several popular calculators teach: average the marks (82 + 73 + 69) ÷ 3 = 74.67%, then "convert" with % × 4 ÷ 100 = 2.99. That shortcut answers 2.99 where the real answer is 3.15 — an error of 0.16, nearly half the 0.34 gap between an A− and a B+ semester. The shortcut fails because it weights every course equally (a 4-credit course counts the same as a 2-credit one) and because the marks-to-grade-point mapping is stepped, not linear: 73% and 74% are both worth 3.00, but 74% and 75% jump from 3.00 to 3.33. Linear shortcuts cannot see those steps.

Worked example 3 — CGPA across two semesters (and the unweighted trap)

Bilal's first semester: 15 credit hours at GPA 3.20 → quality points = 15 × 3.20 = 48.00. His second semester: 18 credit hours at GPA 2.93 → quality points = 18 × 2.93 = 52.74.

The correct CGPA pools everything: (48.00 + 52.74) ÷ (15 + 18) = 100.74 ÷ 33 = 3.0527… = 3.05.

The trap: averaging the two GPAs, (3.20 + 2.93) ÷ 2 = 3.065 → 3.07. The trap answer is wrong because semester 2's 18 credit hours deserve more influence than semester 1's 15. The two methods only agree when every semester has identical credit hours — which almost never happens, since summer semesters, labs, and repeat courses constantly change the load. This is also the single most repeated error on student forums: if you see "my CGPA is the average of my GPAs", the writer either got lucky with equal credit loads or got the number wrong.

The update formula you will reuse every semester: New CGPA = (Old CGPA × Old Credits + New Semester GPA × New Credits) ÷ (Old Credits + New Credits). It is the same pooling arithmetic, done incrementally.

The 7 errors other guides make — corrected

While researching this guide I read the three highest-ranking pages for "how to calculate GPA in Pakistan" line by line. Each of them contains at least one real mistake. Here they are, so you can spot them in the wild:

  1. "B+ is 3.5." A major international calculator's step-by-step section says B+ is worth 3.5 — while its own grade table says 3.3. The HEC value is 3.33 (3.30 in the rounded variant). If your university follows HEC, 3.5 inflates every B+ by 0.17.
  2. "86% marks = 3.4 GPA." One popular guide converts with 86 × 4 ÷ 100 = 3.4. But on the HEC table, 86% is an A — worth 4.00, not 3.4. The guide's own formula manufactures a full grade point of error.
  3. "Percentage = GPA × 25." The most common shortcut online. It is not HEC's official conversion. HEC's rule is the "minimum of the range" principle: a 3.00 CGPA is certified as 71%, not 75%. The ×25 shortcut is fine for informal estimates; it is wrong on official documents, equivalence certificates, and anywhere the number has to be defensible.
  4. "Straight A's means 100%." A straight-A student on the 4.0 scale has a GPA of 4.00, not 100%. An A covers 85–100%; the grade point has already collapsed that range. This mistake comes from mixing the percentage scale with the grade-point scale as if they were the same ruler.
  5. Worked examples with all-equal credit hours. Several guides demonstrate the formula with five identical 3-credit courses — the one case where the simple average of grade points accidentally gives the right answer. A worked example that cannot show why weighting matters is not teaching the formula; it is hiding it. (Worked Example 1 above exists for exactly this reason.)
  6. Grade tables with no percentage bands. A guide can tell you "map your marks to a letter first" and then give you a letter-to-points table with no percentage column — leaving you no way to do the mapping it just told you to do. The bands are in the table in this guide for a reason.
  7. Mixing up GPA and CGPA in worked math. Pages titled "GPA" that compute multi-semester examples, or "CGPA" pages whose only example is a single semester, teach the distinction as a vocabulary footnote instead of showing it in arithmetic. GPA and CGPA are different calculations over different course sets — Worked Examples 1 and 3 above keep them in separate rooms.

Relative vs absolute grading in Pakistan

This is the least-understood part of the Pakistani GPA system, and it explains why two students with the same marks can get different grades.

Absolute grading is what the HEC table above describes: fixed bands. 85% is always an A, 73% is always a B. Most public universities use absolute grading in most courses — your marks map to grades exactly as printed.

Relative grading grades you against the class. The instructor sets the cutoffs after seeing the marks distribution — often around the class mean and standard deviation. In a brutal 300-student NUST physics section where the class average is 62%, the A band might start at 80%; in an easier section averaging 78%, it might start at 88%. Your letter grade — and therefore your grade points — depends on where you stood relative to your classmates, not on an absolute number.

Three practical consequences:

  • You cannot compute a final GPA from raw marks in a relative-grading course. Until the curve is applied, your 80% is not "an A−" — it is an unknown. Wait for the letter grades on your result card.
  • Your friend's grade does not predict yours. The same 80% is a different letter grade in different sections, different semesters, and different universities. Do not copy a friend's marks-to-grade mapping from another university.
  • Find the policy in the course outline. Instructors are required to state the grading scheme. Look for the words "relative", "absolute", "bell curve", or "criterion-referenced" — and the actual percentage cutoffs, when published.

GPA to percentage conversion — the right way

When a job application, CSS form, or scholarship asks for your percentage and your transcript shows a GPA, there are two defensible answers — and the difference between them is exactly what our first article and first tool page are about:

  • Everyday use (applications, CVs): the linear formula — Percentage = (GPA ÷ 4.0) × 100. A 3.50 GPA → 87.5%. This is the working standard for informal contexts.
  • Official use (equivalence certificates, attestation, government forms): HEC's "minimum of the range" rule — a 3.00 CGPA is certified as 71%, a 3.67 as 85%, a 2.50 as 68%. Your university's Controller of Examinations applies this, not you.

Full tables, the 5.0-scale variants, and the official reverse formulas are in our guide CGPA to Percentage in Pakistan: The Complete HEC Guide and in the CGPA to Percentage Calculator (links will appear here once published).

The 5.0 scale, QAU MPhil, and special cases

Most Pakistani undergraduates live on the 4.0 scale and can stop there. For everyone else:

  • The 5.0 scale. Used by some MPhil/MS programmes and select institutions (QAU uses it in some programmes). The math is identical; only the maximum changes. Grade bands shift upward: on a 5.0 scale, an A is typically 5.00 and the HEC reverse-conversion formulas add 1.00 to the 4.0 values (see the band tables in our Percentage to CGPA guide). Never mix scales in one calculation.
  • QAU MPhil's coarse scale. A few programmes use only A / B / C / F — no plus/minus grades. The bands are wider (an A might cover 80–100%), which makes each grade jump bigger and the GPA math coarser. The quality-points method is unchanged.
  • Repeated courses. Most Pakistani universities count both attempts in the credit-weighted total unless the regulations say the first attempt is replaced. A repeated course is not "free": the original F's credit hours often stay in the denominator. Your registrar's office is the authority — do not assume either policy.
  • W (withdrawn) and I (incomplete). Neither carries grade points. A W drops the course from the GPA calculation entirely (the credits leave both numerator and denominator). An I is temporary — it converts to a real grade (or an F, at many universities) when the deadline passes.
  • Pass/fail (S/U) courses. A "Satisfactory" earns the credits toward graduation but contributes nothing to the GPA — no grade points, no quality points. Failing a pass/fail course earns nothing and still appears on the transcript.
  • Summer semesters. Summer courses count exactly like regular-semester courses: their credit hours enter the same totals. Students forget this and undercount their credit hours — then wonder why their computed GPA does not match the transcript.

What your GPA means — the benchmarks that matter

A GPA is only useful against a reference point. Here are the ones Pakistani students actually encounter:

BenchmarkTypical thresholdContext
Graduation floor2.00 CGPAHEC minimum for a degree; below it is probation, then dismissal
Dean's List3.50 – 3.70+Varies by university (FAST/COMSATS ~3.5, NUST ~3.7); semester-based
Private-sector screening2.50 – 3.00Common minimum on job ads and trainee programmes
MS/PhD admissions (Pakistan)3.00+HEC and university requirement for most graduate programmes
Fulbright / Chevening / HEC scholarships3.00 – 3.50+Competitive schemes sit higher; 3.50+ is the comfort zone

Thresholds move by programme and year — treat these as orientation points, not guarantees. And remember that trajectory matters: a transcript reading 2.60, 3.10, 3.50, 3.80 tells a better story than a flat 3.20, even though the flat student's CGPA is barely lower. Where applications allow it, a one-line note about the trend is honest and effective.

Raising your GPA strategically

Most "how to improve your GPA" advice is motivation. Here is the arithmetic instead — because the formula tells you exactly where effort pays off.

[IMAGE-3]

The credit-weight leverage

One letter-grade jump (say, B to B+, a 0.33 increase in grade points) in a 4-credit course adds 1.32 quality points; the same jump in a 1-credit course adds 0.33. In a 15-credit semester, the 4-credit jump moves your GPA by 1.32 ÷ 15 = 0.088; the 1-credit jump moves it by 0.33 ÷ 15 = 0.022. Four times the leverage. Rule: protect and upgrade your heaviest courses first. A B+ in a 4-credit core course is worth more GPA than an A in a 1-credit lab.

The target-GPA formula

If your CGPA is below where you want it, compute exactly what you need next semester:

Required semester GPA = (Target CGPA × Total credits after − Current CGPA × Current credits) ÷ New credits

Worked: Usman has completed 60 credit hours at CGPA 2.80 (quality points = 168.00) and wants a 3.00 after 15 more credits. Required = (3.00 × 75 − 2.80 × 60) ÷ 15 = (225 − 168) ÷ 15 = 57 ÷ 15 = 3.80. That is the honest number: a full 3.80 semester. If 3.80 is unrealistic, the formula also tells him his options — a lower target, more credits, or both. Do the arithmetic before the semester, not after.

The repeat economics

Repeating a course is the highest-leverage move available — if your university's policy replaces (or improves) the old attempt. Raising a 3-credit F (0.00 → 0 quality points) to a B (3.00 → 9.00 quality points) adds 9.00 points to the numerator without adding new credit hours to the denominator. Few other single actions move a GPA that much. But check the policy first: where both attempts count, the gain is smaller.

Frequently asked questions

What is the formula for calculating GPA in Pakistan?

GPA = Σ (Grade Points × Credit Hours) ÷ Σ (Credit Hours), computed over one semester's courses. Use HEC's 4.0 grade-point values (A = 4.00, B+ = 3.33, B = 3.00, C = 2.00, F = 0.00) and your transcript's credit hours.

What is a 3.5 GPA in percentage in Pakistan?

For everyday use: (3.50 ÷ 4.0) × 100 = 87.5%. For official purposes: HEC's band rule gives a 3.50 the minimum of the A− band — 80%. The two answers serve different purposes; see "GPA to percentage conversion" above.

Is 2.5 GPA good in Pakistan?

It is above HEC's 2.00 graduation floor but below most scholarship and graduate-admission cutoffs (usually 3.00+). It passes degree requirements and many job screenings; it does not open competitive scholarships. The more useful question is whether it is rising or falling.

How is CGPA calculated from semester GPAs?

Not by averaging the GPAs. Pool the quality points: CGPA = Σ (each semester's GPA × its credit hours) ÷ Σ (all credit hours). Or incrementally: New CGPA = (Old CGPA × Old Credits + New GPA × New Credits) ÷ (Old Credits + New Credits).

Does an F still hurt my CGPA if I retake the course?

At most Pakistani universities, yes — both attempts enter the credit-weighted total unless your university's written policy replaces the first attempt. The retake adds new quality points, which usually more than compensates, but the original F's credit hours often stay in the denominator.

What is relative grading?

Grading on a curve: your letter grade is set by your position in the class distribution, not by fixed percentage cutoffs. Used at NUST, FAST-NUCES, GIKI and others. The GPA formula is identical; the marks-to-grade mapping is decided per class, per semester.

Which grading scale does HEC use?

HEC's uniform semester system uses a 4.0 maximum scale with fixed percentage bands (A = 85%+, 4.00 down through F below 50%, 0.00). Some MPhil/MS programmes use a 5.0 scale.

Can I calculate GPA without knowing credit hours?

Not accurately. Credit hours are the weights in the formula — without them you can only compute an unweighted average, which is a different (wrong) number whenever courses have different credit hours. Credit hours are printed on your transcript.

Do withdrawn (W) courses affect my GPA?

No. A W removes the course from the GPA calculation entirely — no grade points, no credit hours. It appears on the transcript but does not enter the arithmetic.

How do I convert my annual-system marks to GPA?

Use HEC's separate annual conversion table: 85%+ = A (4.00); 70–84% = A− (3.66–3.99); 55–69% = B (2.66–3.65); 45–54% = C (1.66–2.65); 33–44% = D (1.00–1.65); below 33% = F. Do not apply the semester-system table to annual-system marks.

Quick accuracy checklist

  • Every course has its transcript credit hours (not a guess)
  • Letter grades mapped with your university's table, not a random website's
  • W, I, and pass/fail courses excluded from the totals
  • Quality points computed per course, no rounding until the final division
  • Final result rounded to two decimals
  • If checking CGPA: courses pooled across semesters, not an average of semester GPAs
  • If converting to percentage: the right method for the context (linear for applications, HEC band for official documents)

If you would rather let the computer do it, our GPA Calculator implements exactly the method in this guide — letter grades or raw marks, HEC 4.0 values, full per-course breakdown shown . For conversions, the CGPA to Percentage Calculator handles both directions .

Related tools and guides

Next in this series: the Grade Calculator tool and the companion guide "Grade Calculator Pakistan: How to Calculate Your Grade from Marks (HEC + 2026 Board Rules)", plus a guide to merit calculation for Pakistani university admissions.

Post a Comment