Learning how to calculate CGPA is essential for every university student tracking academic progress. Your Cumulative Grade Point Average (CGPA) summarises your performance across all semesters on a single 4.0 scale. Use the free CGPA calculator below to work out your CGPA out of 4.0 instantly, then convert it to a percentage — followed by a complete, step-by-step guide covering the formula, conversions, and the grading rules used by HEC and Pakistani universities.

Using HEC standard grading: A starts at 85%, D at 40%, F below 40%. This is the default scale used by most HEC-recognised universities.
0.00
0.00%
What is CGPA and What Does It Stand For?
CGPA stands for Cumulative Grade Point Average. It is the average of the grade points you have earned across all semesters of your degree, weighted by the credit hours of each course. While a GPA (Grade Point Average) measures a single semester, your CGPA is cumulative — it rolls every semester together into one number, usually on a 4.0 scale.
What is CGPA in university? It is the single most important indicator of your overall academic standing. Universities use it to determine honours, probation, scholarship eligibility, and graduation requirements, and employers and foreign admissions committees use it to compare applicants quickly. Knowing how to calculate CGPA accurately helps you plan the grades you need in upcoming semesters.
How to Calculate CGPA Out of 4 (The Standard Formula)
The formula to calculate CGPA out of 4 is straightforward:
where Grade Points for a course = Grade Point value × Credit Hours.
Follow these steps to calculate your CGPA:
Step 1: List every course with its credit hours and marks
Write down each course, its credit hours, and the grade point earned (on the 4.0 scale — for example A = 4.0, B = 3.0, C = 2.0).
Step 2: Get the grade point for each course from your marks
Your percentage (obtained ÷ total × 100) determines the grade. Multiply the grade point by credit hours to get “quality points” for each course.
Step 3: Add up the quality points and the credit hours
Sum all quality points, then sum all credit hours.
Step 4: Divide total quality points by total credit hours
The result is your CGPA out of 4.0.

| Course | Credit Hrs | Total | Obtained | Grade (GPA) | Quality Points |
|---|---|---|---|---|---|
| Calculus | 3 | 100 | 88 | A (4.00) | 12.00 |
| Programming | 4 | 100 | 76 | B+ (3.33) | 13.32 |
| English | 3 | 100 | 72 | B (3.00) | 9.00 |
| Physics | 3 | 100 | 82 | A− (3.67) | 11.01 |
| Total | 13 | — | 45.33 |
CGPA = 45.33 ÷ 13 = 3.49 out of 4.0. Enter these marks in the calculator above — it auto-assigns the grades and verifies the CGPA.
How to Convert CGPA into Percentage
Once you know your CGPA, converting it to a percentage helps when applications ask for marks in percent. The method depends on your grading scale.
Converting CGPA to percentage on the 4.0 scale
For a 4.0 scale, the standard formula is Percentage = (CGPA ÷ 4.0) × 100, which is the same as CGPA × 25. So a 3.49 CGPA equals about 87.25%. This is the default method used by our converter and by most HEC-recognised universities in Pakistan.
Converting CGPA to percentage on the 10-point scale
Universities that grade on a 10-point scale (common in India and some international systems) typically use Percentage = CGPA × 9.5. Use the “10.0 scale” option in the calculator if your CGPA is out of 10 rather than 4.
If you also need marks-based conversions, our percentage calculator for marks, division and grade handles raw obtained/total marks directly.
How to Calculate CGPA in Pakistan (HEC & University Standards)
In Pakistan, the Higher Education Commission (HEC) recommends a 4.0 GPA scale, and most universities follow it — so learning how to calculate CGPA in Pakistan uses the same total-grade-points ÷ total-credit-hours formula shown above. What differs slightly between universities is the grade-to-point mapping and the

marks range for each grade.
| Grade | GPA | HEC Standard (NUST, COMSATS) | Conservative (NUML, Punjab) |
|---|---|---|---|
| A | 4.00 | 85–100% | 90–100% |
| A− | 3.67 | 80–84% | 85–89% |
| B+ | 3.33 | 75–79% | 80–84% |
| B | 3.00 | 70–74% | 75–79% |
| B− | 2.67 | 65–69% | 70–74% |
| C+ | 2.33 | 60–64% | 65–69% |
| C | 2.00 | 55–59% | 60–64% |
| C− | 1.67 | 50–54% | 55–59% |
| D+ | 1.33 | 45–49% | 53–54% |
| D | 1.00 | 40–44% | 50–52% |
| F | 0.00 | Below 40% | Below 50% |
COMSATS: a COMSATS CGPA calculator uses the same 4.0 formula; COMSATS applies a relative/absolute grading policy where letter grades map to the points above. NUST and Punjab University likewise follow the HEC 4.0 GPA rules, though exact marks bands for each grade differ by department. Why two scales? Universities like NUST, COMSATS and FAST follow the HEC standard scale where an A grade starts at 85%. Traditional universities like NUML, Punjab University and Quaid-i-Azam University use a conservative scale where an A starts at 90% — meaning the same marks can produce a different CGPA depending on your university. Our calculator above lets you select your university so the correct grading scale is applied automatically.
Always cross-check your transcript’s official key. If you are calculating admission merit rather than CGPA, see our NUST aggregate calculator for entry-test-based merit.