No app needed. A university CGPA calculator works by taking your semester GPAs, weighting them by credit hours, and dividing. Here is the manual method with a full worked example.

A university CGPA calculator applies this formula: CGPA = sum of (Semester GPA x Semester Credit Hours) divided by total credit hours. In a two-semester example, Semester 1 GPA of 3.4 with 18 credit hours and Semester 2 GPA of 3.2 with 16 credit hours gives a CGPA of 3.31. Always use your university's official grade scale for the calculation.
A university CGPA calculator does one thing: it takes your semester GPAs and credit hours and produces your cumulative GPA. You do not need a special app for this. The formula is simple enough to run on a calculator or a piece of paper. Understanding the manual method also means you can catch errors in your transcript and know exactly where your CGPA stands before official results are published.
If you want to calculate from raw marks rather than from a known GPA, you will first need to convert each subject's marks to a grade point using your university's scale. The step-by-step method for that is covered in our guide on how to calculate GPA from marks.
CGPA is a weighted average of your semester GPAs, with credit hours as the weight. The formula is:
CGPA = Sum of (Semester GPA x Semester Credit Hours) divided by Total Credit Hours taken across all semesters.
This is important: CGPA is not a simple average of your semester GPAs. A semester where you took 21 credit hours has more influence on your CGPA than a semester where you took 9 credit hours. The weighting is what makes CGPA a fair measure of overall performance across semesters of different sizes.
| Semester | Semester GPA | Credit hours | GPA x Credit hours |
|---|---|---|---|
| Semester 1 | 3.4 | 18 | 61.2 |
| Semester 2 | 3.2 | 16 | 51.2 |
| Total | 34 | 112.4 |
CGPA = 112.4 / 34 = 3.31. This is the number that appears on your cumulative transcript after two semesters. Note that a simple average of 3.4 and 3.2 would give 3.3, which is close but slightly different because the semesters have different credit hour totals. With larger differences in semester sizes, the gap between a simple average and the correct weighted average can be more significant.
| Semester | Semester GPA | Credit hours | GPA x Credit hours |
|---|---|---|---|
| Semester 1 | 3.6 | 18 | 64.8 |
| Semester 2 | 3.3 | 18 | 59.4 |
| Semester 3 | 3.1 | 16 | 49.6 |
| Semester 4 | 3.5 | 17 | 59.5 |
| Total | 69 | 233.3 |
CGPA = 233.3 / 69 = 3.38. A simple average of the four semester GPAs (3.6 + 3.3 + 3.1 + 3.5) / 4 = 3.375, which is close but not identical. The manual calculation is always more accurate.
Co-Founder, Parhlai | ML Engineer
Zalaid Saleem is a co-founder of Parhlai and a machine-learning engineer by passion. He writes about learning to code, AI and data science careers, and the engineering path in Pakistan.

CGPA stands for Cumulative Grade Point Average. It is your overall academic performance across all s...

Calculating GPA from marks in Pakistan involves converting subject marks to grade points and applyin...

Converting CGPA to percentage in Pakistan depends on your university's scale. The standard HEC formu...
Parhlai is your AI-guided solution for mastering university entry tests in Pakistan. Prepare with confidence, ensuring your success with our cutting-edge platform tailored to your needs.
© 2026, Parhlai. All rights reserved.