CGPA calculator with credit hours for Pakistani students: add each course with its grade and credit hours, or each semester with its SGPA, and get your cumulative CGPA on the HEC 4.00 scale. If your university has its own grading table, use its dedicated calculator listed below for an exact match with your transcript.
Uses the common HEC 4.0 letter scale. If your university uses different grade points, use the university-specific calculator or check your result card.
Estimate only. Your official CGPA is the one on your university LMS/transcript.
How Does a CGPA Calculator Work?
A CGPA calculator follows a mathematical process to determine your cumulative academic performance.
Although the exact formula differs among institutions, the calculation generally involves the following steps.
Step 1: Collect Your Grades
Gather your grades or grade points for each completed course or semester.
For example:
| Subject | Grade |
| Mathematics | A |
| Physics | B+ |
| Chemistry | A |
| English | Aโ |
Step 2: Convert Grades into Grade Points
Many institutions assign numerical values to letter grades.
A sample grading scale might look like this:
| Grade | Grade Point* |
| A | 4.00 |
| Aโ | 3.70 |
| B+ | 3.30 |
| B | 3.00 |
| C+ | 2.30 |
| C | 2.00 |
* Example only. Grade-point values vary by institution. Always use your university’s official grading scale.
Step 3: Include Credit Hours (If Required)
Many universities assign different weights to courses based on their credit hours.
For example:
| Course | Credit Hours |
| Mathematics | 4 |
| Physics | 3 |
| English | 2 |
| Programming | 4 |
Courses with more credit hours generally have a greater impact on your final CGPA in weighted grading systems.
Step 4: Apply the Appropriate Formula
The calculator applies your institution’s grading formula to determine your cumulative grade point average.
The final result represents your overall academic performance after considering all completed coursework.
CGPA Formula
There is no single universal CGPA formula because educational institutions use different grading systems.
However, the two most common methods are shown below.
Method 1: Credit-Hour Weighted Formula
Many universities calculate grades using the following weighted formula:
What Each Variable Means
| Variable | Description |
| Grade Points | Numerical value assigned to your grade |
| Credit Hours | Weight of each course |
| ฮฃ | Total (sum) of all values |
When this formula is applied to all completed semesters, it calculates your CGPA.
When it is applied to only one semester, it calculates your GPA or SGPA, depending on your institution.
Method 2: Average of Semester GPAs
Some institutions calculate CGPA by averaging semester GPAs.
This approach only produces the same result as the credit-weighted formula if every semester carried identical credit hours — which is rarely true for a real degree. Treat this as a simplification, not the standard method: most universities officially use the credit-weighted formula above.
Always confirm which method your institution follows.

Worked Example: Calculating CGPA Using Credit Hours
The following example demonstrates how a weighted CGPA calculation works.
| Course | Grade Point | Credit Hours | Grade Point ร Credit Hours |
| Mathematics | 4.00 | 3 | 12.00 |
| Physics | 3.30 | 4 | 13.20 |
| English | 3.70 | 2 | 7.40 |
| Programming | 4.00 | 3 | 12.00 |
| Total | โ | 12 | 44.60 |
Input the above data into our CGPA Calculator:

Using the weighted formula:
If you enter these values into our CGPA Calculator, you’ll instantly get 3.72 without doing the math yourself.

This example is for demonstration purposes only. Your actual result depends on your institution’s grading scale, credit-hour structure, and official calculation method.
When Should You Use a CGPA Calculator?
A CGPA calculator is useful in many academic situations, including:
- After completing a semester
- Before applying for scholarships
- While preparing university applications
- Before internship or job applications
- When planning future academic goals
- Before graduation to check eligibility
- To estimate the impact of future grades on your overall CGPA
Using a calculator regularly helps you monitor your academic progress and make informed decisions throughout your studies.
Calculate CGPA with Credit Hours
Many universities calculate CGPA using credit hours rather than taking a simple average of grades. This method gives more weight to courses that carry more credits because they usually require more classroom time, assignments, and assessments.
For example, a 4-credit engineering course has a greater impact on your CGPA than a 2-credit elective.
If your university uses a credit-based grading system, you should always include credit hours when calculating your CGPA.
Credit-Hour Weighted Formula
Most universities use the following formula:
CGPA = ฮฃ (Grade Points ร Credit Hours) รท ฮฃ Credit Hours
Where:
- Grade Points = Numerical value assigned to your grade
- Credit Hours = Weight of the course
- ฮฃ = Total (sum) of all values
This method ensures that courses with higher academic weight contribute more to your final CGPA.
Step-by-Step Example
Suppose you completed five courses.
| Course | Grade | Grade Point* | Credit Hours | Grade Point ร Credit Hours |
| Mathematics | A | 4.00 | 4 | 16.00 |
| Physics | B+ | 3.30 | 3 | 9.90 |
| Chemistry | Aโ | 3.70 | 3 | 11.10 |
| English | A | 4.00 | 2 | 8.00 |
| Computer Science | B | 3.00 | 4 | 12.00 |
| Total | โ | โ | 16 | 57.00 |
Now apply the formula:
CGPA = 57.00 รท 16 = 3.56
Final CGPA = 3.56
Important: The grade-point values above are examples only. Your institution may use a different grading scale.
Why Credit Hours Matter
Consider these two courses:
| Course | Credit Hours | Grade |
| Mathematics | 4 | A |
| History | 2 | C |
Even though History has a lower grade, Mathematics has a greater influence on the final CGPA because it carries more credit hours.
Ignoring credit hours can produce an incorrect CGPA.

Related Conversions: SGPA and Percentage
Need to work with SGPA or percentage instead of CGPA? Rather than duplicate that math here, use these dedicated tools and guides, each covering one conversion in full depth:
- SGPA to CGPA Calculator — convert semester-by-semester SGPA into a cumulative CGPA
- CGPA to Percentage Calculator — convert your CGPA into a percentage using common scales
- CGPA vs GPA vs SGPA vs Percentage — a full side-by-side comparison of all four, including which one you actually need for a given situation
Common Mistakes When Calculating CGPA
Even small mistakes can lead to an incorrect CGPA.
Here are some of the most common errors.
1. Ignoring Credit Hours
Many students calculate a simple average even though their university uses weighted credit hours.
Always confirm your institution’s calculation method.
2. Using the Wrong Grade Scale
Pakistani universities all use the HEC 4.00 scale, but the marks needed for each grade differ. For example, UAF has no plus or minus grades, while NUST, FAST and COMSATS each publish their own letter-grade tables. Use the calculator for your university (NUST, FAST, COMSATS, PU, UAF) so the grade points match your transcript.
Use only your university’s official grading scale.
3. Mixing GPA and CGPA
A semester GPA is not the same as your cumulative CGPA.
Keep these calculations separate unless your institution specifies otherwise.
4. Forgetting Repeated Courses
Some universities:
- Replace the old grade with the new grade.
- Average both attempts.
- Apply another official policy.
Always check your institution’s academic regulations.
5. Rounding Too Early
Avoid rounding intermediate values.
Round only the final CGPA if required by your institution.
6. Using an Unofficial Percentage Formula
Many websites promote a single CGPA-to-percentage formula.
In reality, conversion policies vary significantly between institutions.
Use only your university’s official conversion rules.

Do All Universities Calculate CGPA the Same Way?
No.
One of the biggest misconceptions among students is that every university calculates CGPA using the same formula.
In reality, institutions may differ in several ways, including:
- Marks ranges for each letter grade (all use the HEC 4.00 scale, but cutoffs differ)
- Credit-hour weighting
- Treatment of repeated courses
- Passing grade requirements
- Rules for incomplete or withdrawn courses
- Methods for converting CGPA to percentage
For this reason, always rely on your university’s:
- Academic regulations
- Official grading policy
- Student handbook
- Registrar’s office guidance
- Official transcript information
If you are applying to another institution or another country, verify whether they require CGPA, GPA, percentage, or another grading format.
Use Our CGPA Calculator
Instead of calculating everything manually, you can use the CGPACal.com CGPA Calculator to estimate your cumulative academic performance quickly and accurately.
It helps you:
- Calculate CGPA in seconds
- Reduce manual calculation errors
- Work with multiple semesters
- Include credit hours where required
- Monitor your academic progress throughout your studies
Frequently Asked Questions (FAQs)
1. What is a CGPA calculator?
A CGPA calculator is an online tool that helps you calculate your Cumulative Grade Point Average (CGPA) using your grades, grade points, and, where applicable, credit hours. It saves time and reduces the risk of manual calculation errors.
2. How is CGPA calculated?
The calculation method depends on your educational institution.
Many universities use this formula:
CGPA = ฮฃ (Grade Points ร Credit Hours) รท ฮฃ Credit Hours
Some institutions instead calculate CGPA by averaging semester GPAs. Always check your university’s official grading policy.
3. Is CGPA the same as GPA?
Not always.
At many institutions:
- CGPA represents your overall academic performance across multiple semesters.
- GPA represents performance during a single semester or academic period.
However, some universities use these terms interchangeably. Always follow your institution’s terminology.
4. What is the difference between CGPA and SGPA?
SGPA (Semester Grade Point Average) measures your performance in one semester.
CGPA (Cumulative Grade Point Average) measures your performance across all completed semesters.
5. Do all universities calculate CGPA in the same way?
No.
Universities may differ in:
- Grade scales
- Credit-hour systems
- Treatment of repeated courses
- Passing requirements
- Rounding rules
- Percentage conversion methods
Always use your institution’s official grading policy.
6. What are credit hours?
Credit hours represent the academic weight of a course.
Courses with more credit hours usually contribute more to your final CGPA when a weighted calculation is used.
7. Can I calculate my CGPA without credit hours?
It depends on your university.
If your institution uses a simple average of grade points or semester GPAs, credit hours may not be required.
If it uses a weighted grading system, credit hours are essential.
8. Can I calculate CGPA for all semesters?
Yes.
A CGPA calculator is designed to combine your academic performance across all completed semesters.
9. Can I calculate my future CGPA?
Yes.
Many students use a CGPA calculator to estimate how future grades may affect their cumulative academic performance.
Remember that this is only an estimate until your official grades are released.
10. Is there one universal CGPA formula?
No.
Different universities use different grading systems.
There is no single formula that applies to every institution worldwide.
11. Is CGPA important for scholarships?
Yes.
Many scholarship providers require applicants to meet a minimum CGPA requirement.
Always review the official eligibility criteria for the scholarship you are applying for.
12. Does CGPA matter for jobs?
It can.
Some employersโparticularly for graduate, internship, and entry-level positionsโconsider academic performance during recruitment.
Work experience, skills, and interviews are also important factors.
13. Can repeated courses affect my CGPA?
Yes.
Each university has its own policy regarding repeated courses.
Some replace the previous grade, while others include both attempts or apply another approved method.
14. How often should I calculate my CGPA?
It is a good practice to calculate your CGPA after each semester so you can monitor your academic progress and set realistic goals.
15. Is an online CGPA calculator accurate?
A CGPA calculator can provide accurate results when you enter the correct grades, credit hours, and grading scale.
The result is only as accurate as the information entered and should always follow your institution’s official calculation method.