Calculate your semester GPA the exact way Pakistani universities do it — credit-weighted, on HEC's 4.0 grading scale. Add your courses, enter credit hours and grades (letters or marks), and get your GPA instantly, with the full working shown. Free, no sign-up, works on any device.
How to use this calculator
- Choose your input mode. Pick Letter grades if your result card shows grades (A, B+, C− …); pick Marks percentage if you have raw marks — the calculator converts them using HEC's standard grade bands.
- Fill in your courses. For each course, enter the credit hours (usually 2, 3 or 4 — check your transcript) and the grade. The optional course-name column is just to keep your working readable.
- Add or remove rows with the buttons so the list matches your semester exactly. Blank rows are ignored.
- Click "Calculate my GPA". Your GPA appears to two decimals, with the letter equivalent, a standing assessment, and the complete per-course breakdown so you can verify the maths line by line.
The formula, explained
Pakistani universities calculate semester GPA with a credit-weighted average:
In words: multiply every course's grade points by its credit hours, add those products up (total grade points), and divide by the total credit hours.
The weighting is the whole point of the formula. A 4-credit course contributes four times as much as a 1-credit lab to your final GPA. An A in a 4-credit core course moves your GPA far more than an A in a 1-credit seminar — which is exactly why "my semester average is 3.4" can be wrong if you just averaged the grade points without weighting (see Worked example 4 below).
HEC's 4.0 grade-point table
These are the standard grade points used across HEC-compliant universities in Pakistan:
| Grade | Grade points | Typical marks band |
|---|---|---|
| A | 4.00 | 85–100 |
| A− | 3.67 | 80–84 |
| B+ | 3.33 | 75–79 |
| B | 3.00 | 70–74 |
| B− | 2.67 | 65–69 |
| C+ | 2.33 | 60–64 |
| C | 2.00 | 55–59 |
| C− | 1.67 | 50–54 |
| D+ | 1.33 | 45–49 |
| D | 1.00 | 40–44 |
| F | 0.00 | Below 40 |
Two important caveats. First, some universities (notably FAST-NUCES on its relative-grading scheme, and a few others) publish their own band boundaries — your own university's prospectus always wins over this table. Second, this calculator's Marks percentage mode uses the bands above; if your university's bands differ, use Letter grades mode instead.
Worked examples
Example 1 — a typical 5-course semester
Aliya takes five courses. Her transcript shows:
| Course | Credits | Grade | GP | Points |
|---|---|---|---|---|
| Calculus II | 4 | A− | 3.67 | 14.68 |
| Physics | 4 | B+ | 3.33 | 13.32 |
| English Composition | 3 | A | 4.00 | 12.00 |
| Pak Studies | 2 | B | 3.00 | 6.00 |
| Lab (Programming) | 1 | A | 4.00 | 4.00 |
Total grade points = 14.68 + 13.32 + 12.00 + 6.00 + 4.00 = 50.00. Total credit hours = 4 + 4 + 3 + 2 + 1 = 14. GPA = 50.00 ÷ 14 = 3.57.
Example 2 — one F in an otherwise strong semester
Bilal has five 3-credit courses: A, A−, B+, B — and an F in one 3-credit course. Points = 12.00 + 11.01 + 9.99 + 9.00 + 0.00 = 42.00; hours = 15; GPA = 42.00 ÷ 15 = 2.80. Without that F, the same grades give 42.00 ÷ 12 = 3.50 — a single failed 3-credit course costs 0.70 GPA points, because the F's 3 credit hours sit in the denominator contributing nothing to the numerator.
Example 3 — repeated courses
HEC universities generally count both attempts of a repeated course in the credit-weighted total, unless the university's own regulations say otherwise. If Sara earned D (1.00) in a 3-credit course, repeated it, and earned B (3.00), the standard treatment counts 6 credit hours and 12.00 points. Your registrar's office can confirm your university's exact rule — do not assume the first attempt disappears.
Example 4 — the mistake to avoid
Danish averages his grade points directly: (4.00 + 3.67 + 3.00 + 2.67 + 4.00) ÷ 5 = 3.47. But his credits are 4, 4, 3, 2, 1. Credit-weighted: (16.00 + 14.68 + 9.00 + 5.34 + 4.00) ÷ 14 = 49.02 ÷ 14 = 3.50. The unweighted average is wrong — and it can err in either direction depending on which courses carry the credits. Always weight by credit hours.
Frequently asked questions
GPA (Grade Point Average) covers one semester only. CGPA (Cumulative GPA) covers all semesters to date — it is the credit-weighted average across every course you have completed. Our full comparison is in the guide CGPA vs GPA: What's the Difference?.
Its share equals its credit hours divided by your total semester hours. In a 16-credit semester, a 4-credit course drives 25% of your GPA and a 1-credit course about 6%. That is why protecting your heavy core courses matters more than perfecting a 1-credit lab.
HEC requires a minimum 2.00 CGPA to graduate; falling below 2.00 in a semester typically puts a student on academic probation, and repeated probation can lead to dismissal. Universities add their own rules on top (e.g. caps on repeated courses), so check your prospectus.
The credit-weighting formula is the same; only the grade-point mapping can differ. If your university's bands differ from the standard table, enter your letter grades directly (mode 1) — the letters carry the official grade points your university assigned, so the calculation is exact regardless of bands.
Three levers: (1) target your highest-credit courses — a one-letter jump in a 4-credit course moves GPA roughly 4× as much as in a 1-credit course; (2) clear F and D grades by repeating courses your university allows you to repeat; (3) do the arithmetic first — our worked Example 1 shows how a planned semester maps to a GPA, so you can set grade targets per course instead of hoping.
Most universities print GPA to two decimal places, rounding half-up (3.565 → 3.57). This calculator matches that convention. For CGPA-to-percentage conversions on equivalence certificates, see our CGPA to Percentage Calculator.
Related tools & guides
- Grade Calculator — marks → grade, weighted final grade, and final-exam target planner (HEC, pre-2026 board, and 2026 IBCC modes).
- Grade Calculator Pakistan: How to Calculate Your Grade from Marks
- CGPA to Percentage Calculator
- CGPA to Percentage in Pakistan: The Complete HEC Guide
- CGPA vs GPA: What's the Difference? The Complete Pakistan Guide
- CGPA Recovery Calculator — target planner, what-if semester planner, and retake analyser with both policy scenarios.
- Per-University GPA and Grading Systems: The Complete 2026 Guide — NUST, FAST, IBA, LUMS, UET and PU's handbook-verified scales and worked examples.
- FAST GPA Calculator — semester GPA, CGPA tracker, repeat handler and standing checker on FAST's official 2026 scale.
- StudyCalc home — all free student calculators and guides.
- University Merit Calculator Pakistan: The Complete Admission Merit Guide (2026) — verified formulas, worked examples, closing merits and the mistakes that cost students seats.
- Age Calculator Pakistan — exact age in years/months/days, age on admission cut-off dates, and a CSS 21–30 age-eligibility checker.
- IBA GPA Calculator — semester GPA, CGPA tracker and relative-grading simulator on IBA’s official Spring-2010 scale (no D grade).