DEV Community

Cover image for How to Calculate CGPA — Complete Guide for Pakistani University Students
Code Wiz Tools
Code Wiz Tools

Posted on • Originally published at codewiztools.com

How to Calculate CGPA — Complete Guide for Pakistani University Students

If you are a university student in Pakistan, you have probably asked at least one of these questions:

  • "What is my current CGPA?"
  • "How many As do I need to get off academic probation?"
  • "What CGPA do I need for a Gold Medal?"

This guide answers all of them — with the exact formula, worked examples, a grade conversion table, and a CGPA to percentage formula.


What is GPA and CGPA?

GPA (Grade Point Average) is your academic performance score for a single semester. It ranges from 0.0 to 4.0.

CGPA (Cumulative Grade Point Average) is your overall academic performance across all semesters combined. It is a weighted average of all your semester GPAs, weighted by credit hours.

Think of GPA as your score for one match, and CGPA as your season average.


The Grade Scale — 4.0 Standard

Most Pakistani universities (FAST-NUCES, NUST, COMSATS, UET, Punjab University, LUMS) use the 4.0 grade scale:

Grade Grade Points Percentage (approx.)
A / A+ 4.00 90–100%
A− 3.66 85–89%
B+ 3.33 80–84%
B 3.00 75–79%
B− 2.66 70–74%
C+ 2.33 65–69%
C 2.00 60–64%
C− 1.66 55–59%
D+ 1.30 50–54%
D 1.00 45–49%
F 0.00 Below 45%

How to Calculate Semester GPA — The Formula

GPA = Σ (Grade Points × Credit Hours) ÷ Total Credit Hours
Enter fullscreen mode Exit fullscreen mode

Step by step:

  1. For each subject, multiply the grade points by the credit hours
  2. Add all those products together
  3. Divide by the total credit hours across all subjects

Worked Example

Say you completed 5 subjects this semester:

Subject Credits Grade Grade Points Points × Credits
Data Structures 3 A 4.00 12.00
OOP 3 B+ 3.33 9.99
Calculus 3 B 3.00 9.00
Digital Logic 3 A− 3.66 10.98
Physics Lab 1 B+ 3.33 3.33
Total 13 45.30
GPA = 45.30 ÷ 13 = 3.48
Enter fullscreen mode Exit fullscreen mode

Your semester GPA is 3.48 — Dean's List territory at most universities.


How to Calculate Cumulative CGPA

Once you have multiple semesters, CGPA is the weighted average of all semester GPAs:

CGPA = Σ (Semester GPA × Semester Credits) ÷ Total Credits
Enter fullscreen mode Exit fullscreen mode

Worked Example — 4 Semesters

Semester GPA Credits GPA × Credits
Semester 1 3.20 18 57.60
Semester 2 3.48 13 45.24
Semester 3 3.75 18 67.50
Semester 4 3.10 18 55.80
Total 67 226.14
CGPA = 226.14 ÷ 67 = 3.37
Enter fullscreen mode Exit fullscreen mode

Your cumulative CGPA is 3.37.

Notice that Semester 3 (GPA 3.75) carries more weight than Semester 2 (GPA 3.48) because it had more credit hours. This is why taking extra courses in a good semester can significantly lift your CGPA.


How to Convert CGPA to Percentage

The most widely used formula at Pakistani universities:

Percentage = CGPA × 25
Enter fullscreen mode Exit fullscreen mode
CGPA Percentage
4.00 100%
3.75 93.75%
3.50 87.5%
3.00 75%
2.50 62.5%
2.00 50%

Note: Some universities use CGPA × 24 or other multipliers. Always check your university's official transcript or academic policy for the exact conversion — it can vary by department.


CGPA Thresholds at Pakistani Universities

Most universities follow a similar scale for awards and academic standing:

Gold Medal / President's Honor Roll: CGPA 3.5 to 4.0
Usually awarded to the top 1–3 students in a degree program at convocation.

Dean's List / Silver Medal: CGPA 3.0 to 3.49
Recognized on your transcript and at convocation. Some universities require 3.0+ every semester.

Good Standing: CGPA 2.5 to 2.99
You are meeting requirements and progressing normally.

Satisfactory / Minimum: CGPA 2.0 to 2.49
You are passing but may face restrictions on elective choices.

Academic Probation: Below CGPA 2.0
At FAST-NUCES, NUST, COMSATS, and most other universities, falling below 2.0 triggers academic probation. You may be required to repeat subjects, reduce credit load, or face expulsion after multiple semesters on probation.


3 Common CGPA Mistakes Students Make

Mistake 1 — Not counting lab credit hours

Lab courses are usually 1 credit hour. Students often forget to include them in the calculation. A failed lab (F = 0.00) in 1 credit hour pulls your GPA down more than you expect relative to its small credit weight.

Mistake 2 — Ignoring low-credit subjects

A 1-credit hour subject with an A (4.0) contributes far less to your GPA than a 3-credit subject with a B (3.0). Focus your exam preparation time proportional to credit hours.

Mistake 3 — Thinking one bad semester is permanent

Because CGPA is a weighted average across all semesters, one bad semester does less damage than it feels like. If you score 3.80 GPA in a strong 21-credit semester, it will significantly offset a weaker previous semester. Recovery is possible — but it requires consistently strong semesters, not just one good one.


How to Calculate: What GPA Do I Need This Semester?

You have a CGPA of 2.9 after 3 semesters (54 total credits) and want to reach 3.0 by the end of next semester (18 credits).

Target CGPA = (Current GPA × Current Credits + Next GPA × Next Credits) 
              ÷ (Current Credits + Next Credits)

3.0 = (2.9 × 54 + X × 18) ÷ (54 + 18)
3.0 × 72 = 156.6 + 18X
216 = 156.6 + 18X
18X = 59.4
X = 3.30
Enter fullscreen mode Exit fullscreen mode

You need a 3.30 GPA next semester to bring your CGPA up to 3.0.

This type of target GPA calculation is useful for planning how hard you need to work in an upcoming semester to reach a specific goal.


Free CGPA Calculator

If you do not want to do this by hand, I built a free CGPA Calculator that handles both semester GPA and cumulative CGPA:

  • Add subjects with grade and credit hours → Semester GPA calculated instantly
  • Add multiple semesters → Cumulative CGPA calculated with correct credit weighting
  • Grade scale table built in — no manual lookup needed
  • Shows CGPA to percentage conversion automatically
  • 100% browser-based — your academic data never leaves your device

Summary

  • GPA formula: Sum of (Grade Points × Credits) ÷ Total Credits
  • CGPA formula: Sum of (Semester GPA × Semester Credits) ÷ Total Credits
  • CGPA to percentage: CGPA × 25 (verify with your university)
  • Gold Medal threshold: 3.5+ at most Pakistani universities
  • Academic probation: Below 2.0 at most universities
  • One bad semester is recoverable — consistent strong semesters are the strategy

Check out CodeWizTools for more free tools built for students and developers — attendance calculator, assignment file renamer, PDF merger, and more.

Top comments (0)