GPA calculator

Add your courses with their credit hours and grades to get your semester GPA, and include your previous results to see your updated CGPA.

Course (optional)Credit hoursGradeRemove
Add previous semesters to get your CGPA

Choose a grade for at least one course to see your GPA.

How to use the GPA calculator

  1. For each course, enter its credit hours and choose the grade you received. The course name is optional; it just helps you keep track.
  2. Use Add course for more rows, or the × button to remove one.
  3. Your semester GPA updates as you go.
  4. To get your overall CGPA, open Add previous semesters, then enter your current CGPA and the credit hours you’ve already completed.

How GPA is calculated

GPA is a weighted average: courses with more credit hours count for more.

  1. Multiply each course’s grade points by its credit hours. The result is called quality points.
  2. Add up all the quality points.
  3. Divide by the total credit hours.

Example semester:

Course Credit hours Grade Points Quality points
Calculus 3 A 4.00 12.00
Physics 3 B+ 3.33 9.99
Programming 4 B 3.00 12.00
English 2 A- 3.67 7.34
Statistics 3 C+ 2.33 6.99
Total 15 48.32

GPA = 48.32 ÷ 15 = 3.22

How CGPA is calculated

CGPA combines every semester, again weighted by credit hours:

CGPA = (old CGPA × old credit hours + this semester’s quality points) ÷ total credit hours

If your CGPA was 3.20 after 60 credit hours, adding the semester above gives (3.20 × 60 + 48.32) ÷ 75 = 3.20. Notice how little one semester moves a CGPA once you have many credit hours behind you. That’s why strong results in your first year matter so much.

The grade scale

Grade Points
A+ / A 4.00
A- 3.67
B+ 3.33
B 3.00
B- 2.67
C+ 2.33
C 2.00
C- 1.67
D+ 1.33
D 1.00
F 0.00

The marks needed for each grade differ between universities, so the calculator works from the letter grade you received rather than your marks.

Tips for raising your CGPA

  • Focus on high-credit courses. A 4-credit course moves your GPA more than a 2-credit one.
  • Use the calculator to plan. Enter the grades you’re aiming for this semester to see what CGPA they’d give you, then work backwards to the target you need for a scholarship or admission.
  • Check repeat rules. If your university replaces a failed grade when you repeat the course, retaking it can raise your CGPA noticeably.

Last updated 3 December 2026

Frequently asked questions

What is the difference between GPA and CGPA?

GPA (grade point average) usually means the average for one semester. CGPA (cumulative GPA) is the average across all semesters so far, weighted by the credit hours of every course.

How do I calculate CGPA from semester GPAs?

Multiply each semester's GPA by its credit hours, add those together, and divide by the total credit hours. A simple average of semester GPAs is only correct if every semester had the same number of credit hours.

Which grade points does this calculator use?

It uses the common 4.0 scale followed by most Pakistani universities under HEC guidelines and by many universities abroad, A = 4.0, B = 3.0, C = 2.0, D = 1.0, F = 0, with plus and minus steps in between. Some universities use slightly different points, so check your university's handbook.

Do failed courses count in my GPA?

At most universities an F counts as 0 points and its credit hours are included, which pulls the GPA down. When the course is repeated, many universities replace the old grade with the new one. Rules differ, so check your university's policy.

How do I convert CGPA to a percentage?

There's no single formula. Each university publishes its own conversion, and some don't convert at all. Use the method your university or the organisation asking for the percentage specifies.