← All guides

How to calculate your GPA and CGPA (5.0 scale, with a worked example)

By Eduvora · Updated 12 October 2026

Your GPA is a single number that summarises how well you did in a semester. Your CGPA does the same for your whole programme so far. The arithmetic is simple once you know the three ingredients.

The three ingredients

Credit units show how much weight a course carries. A 3-unit course counts for more than a 2-unit course. Grade points convert a letter grade into a number. Quality points are the two multiplied together.

On the 5.0 scale used by many Nigerian universities, the grade points are:

GradeGrade point
A5
B4
C3
D2
E1
F0

Some schools use a slightly different table, for example without an E, so confirm with your school's handbook before relying on any calculator.

The formulas

Worked example: one semester

Suppose you took six courses in your first semester:

CourseUnitsGradeGrade pointQuality points
Course 13A53 × 5 = 15
Course 23B43 × 4 = 12
Course 33C33 × 3 = 9
Course 42A52 × 5 = 10
Course 54B44 × 4 = 16
Course 62D22 × 2 = 4
Total1766

Total units: 3 + 3 + 3 + 2 + 4 + 2 = 17. Total quality points: 15 + 12 + 9 + 10 + 16 + 4 = 66.

GPA = 66 ÷ 17 = 3.88 (to two decimal places).

Worked example: moving to CGPA

In the second semester you take courses worth 20 units and earn 62 quality points. Your second-semester GPA is 62 ÷ 20 = 3.10.

Now combine both semesters:

A common mistake: averaging GPAs

It is tempting to add 3.88 and 3.10 and divide by two. That gives 3.49, which is wrong. The second semester had more units, so it should count for more. Always work from total quality points and total units, never from averaged GPAs.

What about failed and repeated courses?

An F gives 0 grade points, but its credit units still count in the total units, so it lowers your GPA. Rules for resits and carryovers differ between universities, so check how your school records a repeated course.

Checking your work

  1. Write every course with its units and grade.
  2. Multiply units by grade point for each course.
  3. Add the quality points, then add the units.
  4. Divide, and round only at the end.

Your official GPA is whatever your school's records show. Use this method to plan and to understand your standing, and to spot mistakes early. To see which class of degree a CGPA falls into, read our guide on grades and degree classes in Nigerian universities.