Guides Maths and money
How to Calculate GPA and CGPA, with Worked Examples
Step-by-step GPA and CGPA calculations using credit hours, plus how to plan for a target CGPA.
Universities in Pakistan and around the world summarise academic performance with two numbers: the GPA, or grade point average, for a single semester, and the CGPA, or cumulative grade point average, across all semesters so far. Scholarships, internships, admissions to master's programmes and many job applications ask for these figures, so it is worth knowing exactly how they are calculated and how to plan for the result you want.
This guide explains the method with a complete worked example, shows the most common mistake, explains how to work out the GPA you need next semester and covers grade scales and conversions.
Grade scales and rules differ between universities. Always check your own institution's handbook; the examples here use a common 4.0 scale for illustration.
Grade points and credit hours
Two numbers sit behind every course result:
- Grade points, the numerical value of your letter grade. On a common 4.0 scale, an A is worth 4.0 and a B is worth 3.0.
- Credit hours, the weight of the course. A three-credit-hour course counts three times as much as a one-credit lab.
A typical 4.0 scale looks like this, although the marks needed for each grade vary between institutions:
| Grade | Grade points |
|---|---|
| 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 |
Calculating a semester GPA
Formula: GPA = total quality points ÷ total credit hours, where quality points for a course = grade points × credit hours.
Worked example: a first semester with five courses.
| Course | Credit hours | Grade | Grade points | Quality points |
|---|---|---|---|---|
| Calculus | 3 | A | 4.00 | 12.00 |
| Physics with lab | 4 | B+ | 3.33 | 13.32 |
| English | 2 | A− | 3.67 | 7.34 |
| Programming | 4 | B | 3.00 | 12.00 |
| Pakistan Studies | 2 | A | 4.00 | 8.00 |
| Total | 15 | 52.66 |
GPA = 52.66 ÷ 15 = 3.51.
Notice how the four-credit courses pull the result more than the two-credit ones. A B in a four-credit course costs more than a B in a two-credit course. The GPA Calculator handles any number of courses and grade scales.
Calculating CGPA: weight by credits, not by semester
The CGPA combines all semesters, again weighted by credit hours.
Formula: CGPA = total quality points from all semesters ÷ total credit hours from all semesters.
Continuing the example, suppose the second semester had 18 credit hours with a GPA of 3.20. Its quality points are 18 × 3.20 = 57.6.
CGPA = (52.66 + 57.6) ÷ (15 + 18) = 110.26 ÷ 33 = 3.34.
The most common mistake
Many students simply average their semester GPAs: (3.51 + 3.20) ÷ 2 = 3.36. That is wrong whenever semesters have different credit loads, because it gives a 15-credit semester the same weight as an 18-credit one. The correct CGPA here is 3.34, slightly lower, because the larger second semester had the lower GPA. Over several semesters with uneven loads, the error can grow large enough to matter for a scholarship cut-off. The CGPA Calculator weights semesters correctly.
Planning for a target CGPA
You can work out the GPA you need next semester to reach a target.
Formula: required GPA = (target CGPA × total credits after next semester − current quality points) ÷ next semester's credits.
Example: after two semesters, the student above has 110.26 quality points from 33 credits, a CGPA of 3.34. To reach a CGPA of 3.50 after a third semester of 18 credits:
required GPA = (3.50 × 51 − 110.26) ÷ 18 = (178.5 − 110.26) ÷ 18 = 68.24 ÷ 18 = 3.79.
That is demanding but possible. The calculation also shows an important pattern: the more credits you have completed, the harder it is to move your CGPA. A strong semester in your first year lifts the CGPA much more than the same semester in your final year, so early effort pays off.
Within-course grades
Your course grade usually comes from several weighted components, such as assignments, quizzes, a midterm and a final exam. If assignments count for 20%, quizzes 10%, the midterm 25% and the final 45%, each mark is multiplied by its weight and the results are added. The Grade Calculator does this, and the Final Grade Calculator shows the final exam mark you need for the course grade you want.
Repeated and improved courses
Universities treat repeated courses differently. Some replace the old grade with the new one in the CGPA, some keep both attempts, and some cap the grade that a repeated course can earn. Some also count failed courses in the credit total until they are cleared. Because these rules change the calculation significantly, check your handbook or ask the examinations office before planning around a repeat.
Converting CGPA to a percentage
Employers and foreign universities sometimes ask for a percentage or an equivalent grade. There is no single universal formula. Many universities print their own conversion table or formula on the transcript, and that is the one to use. Applications abroad may also require a credential evaluation service, which applies its own methods. Avoid inventing a conversion yourself, because a figure that does not match your institution's official method can cause problems during verification.
Comparing CGPAs between universities
Many universities in Pakistan report results on a 4.0 scale, but the same CGPA does not always mean the same performance. One university may award an A from 85 marks, another from 80 or 90, and some departments grade on a curve while others use fixed thresholds. When employers or admissions committees compare candidates from different institutions, they often look at class position, transcripts and the grading scale printed on them as well as the headline CGPA. If you are applying with a CGPA from a university that grades strictly, it can help to include the grading scale or your position in the class.
Relative and absolute grading
Under absolute grading, fixed marks earn fixed grades: for example, 85 and above is an A, whatever the rest of the class scores. Under relative grading, sometimes called grading on a curve, grades depend on how you performed compared with classmates, so the marks needed for an A change from one class to the next. Knowing which system a course uses helps you set realistic targets: in a relative system, a difficult paper that everyone finds hard may still produce good grades for those who prepare well.
Keep your own record
Keep a simple spreadsheet with every course, its credit hours, your marks and your grade, and update it each semester. Compare it with your official result card when it arrives. Keep a scanned copy of each result card in the same folder, so everything is in one place when you apply. Errors in transcripts are rare but do happen, and they are far easier to correct in the same semester than years later, when you need a transcript urgently for a job or a visa.
Common mistakes
- Averaging semester GPAs. Weight by credit hours instead.
- Forgetting zero-credit or pass/fail courses. These usually do not affect GPA, but check the rules.
- Using the wrong scale. Some institutions use 4.0, others 5.0 or percentage systems; never mix them.
- Rounding too early. Keep two or three decimals until the end; the transcript shows the official rounding.
- Assuming repeat rules. Policies on repeated courses vary widely.
Privacy
The GPA and grade calculators on this site run entirely in your browser. Your courses and results are not uploaded or stored.