GPA Calculator

Scholarships, Dean’s List, and even job shortlists in Pakistan often come down to one number: your CGPA. A GPA calculator takes the guesswork out of tracking it — enter your courses, credit hours, and grades, and see your semester GPA instantly, with cumulative GPA and a what-if planner built in.

This GPA calculator supports the standard 4.0 scale, the HEC Pakistan grading scale used by local universities, and a custom scale where you can edit every grade point — so your numbers always match your transcript. Add unlimited courses, factor in previous semesters, and test what grades you need to hit your target CGPA. No signup, no app — everything runs privately in your browser.

GPA Calculator

Add your courses — get semester GPA, cumulative GPA, and a what-if planner.

HEC Pakistan scale: A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0.

Your courses this semester

–Semester GPA
0Credit hours
–Cumulative GPA

Cumulative GPA (optional — include previous semesters)

What-if planner (what GPA do you need next?)

🔒 100% private — everything runs in your browser, nothing is uploaded.

How to Use the GPA Calculator

  1. Choose your grading scale. Pick the standard 4.0 scale (with plus/minus grades), the HEC Pakistan scale (A/B/C/D/F), or a custom scale where you can edit every grade point to match your university.
  2. Add your courses. For each course, enter the name, credit hours, and the grade you earned or expect. Click “+ Add course” for more rows; remove any row with the ✕ button.
  3. Read your semester GPA. It updates live as you type — no button needed.
  4. Add previous semesters (optional). Enter your previous total credit hours and CGPA to see your updated cumulative GPA including this semester.
  5. Try the what-if planner. Enter a target CGPA and your planned credit hours for next term to find out exactly what GPA you need to hit your goal.

Features That Set This Tool Apart

  • HEC Pakistan scale built in. Unlike generic calculators, this tool includes the A=4.0, B=3.0, C=2.0, D=1.0 scale used across Pakistani universities — no manual conversion.
  • What-if planner. Set a target CGPA and instantly see the semester GPA you need next term. Perfect for planning scholarship comebacks.
  • Semester + cumulative in one view. Track this term’s performance and your running CGPA together, with previous-semester credits factored in.
  • Live calculation. Every keystroke updates your GPA immediately — no “calculate” button, no page reloads.
  • Unlimited courses. Add as many course rows as your semester actually has.
  • Private by design. Your grades never leave your browser — no account, no tracking.

How GPA Is Calculated (With a Worked Example)

GPA is a weighted average: each course’s grade points are multiplied by its credit hours, the results are added up, and the total is divided by total credit hours. Courses with more credits pull your GPA harder — a 4-credit course matters twice as much as a 2-credit one. The formula is: GPA = total grade points ÷ total credit hours.

Here’s a worked example on the standard 4.0 scale. Suppose you took three courses: Programming (3 credits, grade A = 4.0), Calculus (4 credits, grade B+ = 3.3), and English (2 credits, grade A− = 3.7). Multiply each: 3 × 4.0 = 12.0, 4 × 3.3 = 13.2, 2 × 3.7 = 7.4. Add them: 12.0 + 13.2 + 7.4 = 32.6 grade points. Divide by total credits (9): 32.6 ÷ 9 = 3.62 GPA. Try these exact numbers in the GPA calculator above and you’ll get the same result.

Cumulative GPA (CGPA) works the same way across all semesters: (previous credits × previous CGPA + current grade points) ÷ (previous credits + current credits). Note that retaken courses are handled differently by different universities — some replace the old grade, others average both attempts — so check your university’s policy if you’re repeating a course.

The HEC Pakistan Grading Scale Explained

Pakistan’s Higher Education Commission recommends a four-point grading scale for universities following the semester system: A = 4.0, B = 3.0, C = 2.0, D = 1.0, and F = 0. This is simpler than the American plus/minus system — there are no A− or B+ grades, just five letter grades mapping to whole-number grade points.

In practice, your university converts your percentage marks in each course to a letter grade first, then to grade points. The percentage bands for each letter vary slightly between universities (a common pattern is A for 80%+, B for 65–79%, C for 50–64%, D for 40–49%), so confirm your institution’s specific cutoffs on your transcript or student handbook. What matters for the GPA math is the letter-to-point mapping, which the HEC scale keeps uniform.

This matters because using the wrong scale silently corrupts your result. If your university uses the HEC scale but you calculate with an American plus/minus scale, a B (3.0) might get entered as a B+ (3.3) — inflating your GPA and setting you up for a nasty surprise at result time. Select “HEC Pakistan scale” in the tool above and your numbers will match your official transcript’s logic.

How to Raise Your GPA: Strategies That Work

A low GPA feels permanent, but the math is more forgiving than it looks — especially early in your degree when you have many credits ahead of you. Use the what-if planner in this GPA calculator to test scenarios, then apply these strategies:

  • Attack high-credit courses first. A 4-credit course moves your GPA twice as much as a 2-credit one. An extra hour of study on Calculus beats an extra hour on a 1-credit lab.
  • Protect your strong subjects. It’s easier to turn a B into an A in a subject you’re good at than to drag an F to a C in one you struggle with. Secure the easy wins first.
  • Use grade replacement policies. Many Pakistani universities let you retake a failed or low-grade course, with the new grade replacing the old in CGPA computation. One retaken F can lift your CGPA dramatically.
  • Front-load effort in the semester. Sessional marks, quizzes, and assignments often make up 40–50% of the final grade in Pakistani universities. Banking these early means your final exam carries less pressure.
  • Do the credit math before dropping. Withdrawing from a course you’re failing can protect your GPA, but it also delays graduation. Run both scenarios in the calculator before deciding.
  • Target the next grade boundary. Moving from 79% to 80% (B to A on many scales) is worth a full grade point — find out exactly where you stand relative to boundaries and focus there.

GPA Calculator: Frequently Asked Questions

How is GPA calculated?

GPA is a weighted average: multiply each course’s grade points by its credit hours, add up all the grade points, and divide by total credit hours. For example, a 3-credit A (4.0) gives 12 grade points; add every course’s points and divide by total credits. This GPA calculator does the arithmetic live as you enter courses, and handles cumulative GPA across semesters too.

What is the difference between weighted and unweighted GPA?

Unweighted GPA treats every course equally on a 4.0 scale, regardless of difficulty. Weighted GPA gives extra points for harder courses (such as AP or honors classes in the US system), so GPAs can exceed 4.0. Pakistani universities under HEC use an unweighted 4.0 scale, so the GPA calculator above defaults to unweighted math — select the HEC Pakistan scale for local transcripts.

What is the HEC Pakistan grading scale?

The Higher Education Commission recommends A = 4.0, B = 3.0, C = 2.0, D = 1.0, and F = 0 for universities on the semester system. There are no plus/minus grades. Universities convert your percentage marks to a letter grade using their own cutoffs, then apply these grade points. Choose the HEC Pakistan scale in this GPA calculator to match how Pakistani universities compute your official GPA.

How can I raise my GPA quickly?

Focus on high-credit courses first since they move the average most, retake failed courses if your university replaces the old grade, and bank sessional marks early — they often count for nearly half your final grade in Pakistani universities. Use the what-if planner in this GPA calculator to see exactly what semester GPA you need for your target CGPA, then build your study plan around that number.

Does retaking a course improve my CGPA?

Usually yes, but policies differ. Many Pakistani universities replace the old grade with the new one in CGPA computation when you repeat a course, which can lift your average substantially — especially for failed courses worth several credits. Some institutions average both attempts or show both on the transcript. Check your university’s academic rules before retaking, then model both scenarios in the GPA calculator.

Your GPA shapes scholarships, admissions, and job shortlists — so track it with real numbers, not guesswork. This GPA calculator gives you semester GPA, cumulative GPA, and a what-if planner for your target, with the HEC Pakistan scale built in. Add your courses, set your goal, and study with a number in sight.