Tools & Calculators

How to Calculate CGPA: A Step-by-Step Guide and Calculator

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.

A student calculating CGPA on a laptop next to grade point conversion formulas
Guide on how to calculate CGPA and convert grade points to percentage.
CGPA Calculator (4.0 Scale)
Enter your total and obtained marks for each course. The calculator auto-assigns grades and computes your CGPA on a 4.0 scale.

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.


Your CGPA (out of 4.0)
0.00
Percentage
0.00%


Totals: 0 credit hours across 0 courses. This CGPA calculator uses the standard formula (total grade points ÷ total credit hours) on a 4.0 scale. Always confirm your university’s official grade–point mapping, as it can vary.

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:

CGPA = Total Grade Points ÷ Total Credit Hours
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.

Step-by-step formula diagram showing how to calculate CGPA out of 4 using credit hours and grade points
Visual breakdown of the CGPA calculation formula using course credits and grade points.
Worked example:

CourseCredit HrsTotalObtainedGrade (GPA)Quality Points
Calculus310088A (4.00)12.00
Programming410076B+ (3.33)13.32
English310072B (3.00)9.00
Physics310082A− (3.67)11.01
Total1345.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

Conversion chart comparing CGPA out of 4 to percentage marks for Pakistani university grading scales
Comparison scale converting CGPA out of 4.0 into percentage marks for university systems.

marks range for each grade.

GradeGPAHEC Standard (NUST, COMSATS)Conservative (NUML, Punjab)
A4.0085–100%90–100%
A−3.6780–84%85–89%
B+3.3375–79%80–84%
B3.0070–74%75–79%
B−2.6765–69%70–74%
C+2.3360–64%65–69%
C2.0055–59%60–64%
C−1.6750–54%55–59%
D+1.3345–49%53–54%
D1.0040–44%50–52%
F0.00Below 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.

Frequently Asked Questions

What is the difference between GPA and CGPA?
GPA (Grade Point Average) is calculated for a single semester, while CGPA (Cumulative Grade Point Average) combines the grade points of all semesters completed so far, weighted by credit hours. Your CGPA is the running average of every semester GPA across your degree.
How do I convert CGPA out of 4 to percentage?
Multiply your CGPA by 25, or equivalently divide by 4 and multiply by 100. For example, a 3.5 CGPA on the 4.0 scale equals (3.5 ÷ 4) × 100 = 87.5%. Use the converter in the calculator above to do this automatically.
How is CGPA calculated with credit hours?
Multiply each course’s grade point by its credit hours to get quality points, add all quality points, then divide by the total credit hours. Courses with more credit hours have a larger impact on your CGPA.
Why does NUML show a different CGPA than NUST for the same marks?
Yes. Under HEC guidelines, universities such as COMSATS, NUST and Punjab University use the same 4.0-scale formula (total grade points ÷ total credit hours). Only the grade-to-point mapping and marks bands vary slightly between institutions, so confirm your university’s official grading key.
ADVERTISEMENT - 320x50
Scroll to Top