Skip to content
Softhat IT SolutionsSofthat IT Solutions

Free tool · For students

GPA and CGPA Calculator with CGPA to percentage

Work out your semester GPA from your courses, your CGPA from your semesters, and convert CGPA to percentage (or percentage to CGPA) on HEC's grading scale. Grading scales for AWKUM, University of Peshawar, Punjab University, UET Peshawar, UET Mardan, NUST and FAST are built in, each taken from the university's own rules.

GPA and CGPA Calculator

Price
Free, no sign-up
Includes
GPA, CGPA, CGPA ↔ %
Scales
HEC + 7 universities
Privacy
Runs in your browser

GPA · CGPA · Percentage

Calculate your GPA and CGPA

What do you want to calculate?
Enter each course as

Semester GPA

–

Enter credit hours and a grade for at least one course.

Worked examples

How the numbers are worked out

GPA = Σ (credit hours × grade points) ÷ Σ credit hours. CGPA uses the same formula across all semesters. This is the formula in HEC's semester-system guidelines and in each university rulebook listed below.

Semester GPA, Punjab University (PU's own example)

  1. Five 3-credit courses graded B (3.00), C+ (2.30), A (4.00), A- (3.70) and F (0.00).
  2. Quality points: 9.00 + 6.90 + 12.00 + 11.10 + 0.00 = 39.00.
  3. GPA = 39.00 ÷ 15 credit hours = 2.60.

Semester GPA from marks, University of Peshawar (UoP's own example)

  1. 65%, 72%, 80%, 51% and 42% in courses of 3, 3, 3, 2 and 3 credit hours.
  2. Grade points from the UoP table: 2.4, 3.0, 3.5, 1.1 and 0.0.
  3. Quality points: 7.2 + 9.0 + 10.5 + 2.2 + 0 = 28.9. GPA = 28.9 ÷ 14 = 2.064, reported as 2.06.

CGPA from three semesters

  1. Semester GPAs 3.20 (18 credit hours), 2.80 (17) and 3.50 (18).
  2. 3.20 × 18 + 2.80 × 17 + 3.50 × 18 = 57.6 + 47.6 + 63.0 = 168.2.
  3. CGPA = 168.2 ÷ 53 = 3.17.

CGPA to percentage on HEC's table (HEC's own example)

  1. CGPA 3.00 falls in band B: 2.67–3.00, which is 71–74%.
  2. HEC gives a CGPA the minimum percentage of its band, so 3.00 = 71%.
  3. Likewise 3.50 is in band A- (3.34–3.66, 80–84%), so it equals 80%.

HEC grading

HEC CGPA to percentage table

HEC's fractionalized grading system for the semester system. A CGPA is given the lowest percentage of its band.

HEC fractionalized grading system, semester system
GradeGrade pointsPercentage
A3.67–4.0085% and above
A-3.34–3.6680–84%
B+3.01–3.3375–79%
B2.67–3.0071–74%
B-2.34–2.6668–70%
C+2.01–2.3364–67%
C1.67–2.0061–63%
C-1.31–1.6658–60%
D+1.01–1.3054–57%
D0.10–1.0050–53%
F0.00Below 50%

Annual-system marks to grade points (HEC)

For degrees completed under the annual system only.

HEC conversion of annual system marks to GPA
PercentageGradeGrade points
85% and aboveA4.00
70–84%A-3.66–3.99
55–69%B2.66–3.65
45–54%C1.66–2.65
33–44%D1.00–1.65
Below 33%F0.00

The conversion that counts for you depends on your university: if your transcript or degree states a percentage, or your university has its own rule, use that.

University grading scales

Grade points by university

Each scale below is copied from the university's own rules. Choose it in the calculator to enter letter grades or marks.

Abdul Wali Khan University Mardan (AWKUM) (fixed marks table)

Marks to points: 90%+ 4.00 · 85% 3.75 · 80% 3.50 · 75% 3.25 · 70% 3.00 · 65% 2.75 · 60% 2.50 · 55% 2.25 · 50% 2.00 · below 50% 0.00 (every whole mark has its own value; the calculator uses the full table).

  • Grade points rise by 0.05 for every mark from 50% (2.00) to 89% (3.95); 90–100% is 4.00 (A+). Below 50% is F (0).
  • Applies to students admitted in Fall 2016 and later. Minimum CGPA for a Bachelor degree: 2.00.
  • The table lists whole marks only and the rules give no rounding rule, so enter whole marks as shown on your result.

Source: AWKUM: Semester Rules and Regulations, Undergraduate Programs (2019), §12 Grading Policy and §13 GPA/CGPAArchived copy (6 July 2024). awkum.edu.pk still links this file, but the link currently returns 404.

University of Peshawar (fixed marks table)

Marks to points: 85%+ 4.00 · 80% 3.50 · 75% 3.20 · 70% 2.80 · 65% 2.40 · 60% 2.00 · 55% 1.50 · 50% 1.00 · below 50% 0.00 (every whole mark has its own value; the calculator uses the full table).

  • Each whole mark from 50% (1.0) to 84% (3.9) has its own value; 85% and above is 4.0. Some steps repeat (78 and 79 are both 3.4). Below 50% is F.
  • GPA and CGPA are rounded to two decimal places.
  • Fractions are rounded to the nearest whole mark: 60.3 counts as 60 and 49.5 counts as 50 (§28 iii).

Source: University of Peshawar: Semester Regulations 2010 (2010 and onwards), §28 Grading SystemArchived copy (12 October 2025) of the file formerly at uop.edu.pk/resources/; the new uop.edu.pk site does not host it.

University of the Punjab (fixed marks table)

Letter grades: A 4.00 · A- 3.70 · B+ 3.30 · B 3.00 · B- 2.70 · C+ 2.30 · C 2.00 · C- 1.70 · D 1.00 · F 0.00

  • Letter grades are used for courses only, not for GPA or CGPA. Minimum CGPA for a 4-year BS: 2.00.
  • Any fraction counts as one mark: 64.1 or 64.9 becomes 65 (§XIV 5).

Source: University of the Punjab: Semester Rules and Regulations for Undergraduate Studies (Notification D/507/Acad, 20 February 2008), §XIV Grading SystemLinked from PU's notice page as “Rules for Semester System”. The same table appears in PU's 2025 affiliated-colleges semester rules.

UET Peshawar (relative grading)

Letter grades: 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

  • Relative grading: marks are normalised against the class (factor 100 ÷ the average of the top 10% of the class) before a grade is given, so your raw percentage alone does not fix your grade. Enter the letter grade from your result. Design studio courses use absolute marking.
  • SGPA and CGPA are rounded to two decimal places; for a repeated course only the best grade counts.

Source: UET Peshawar: Undergraduate Prospectus 2026-27, University Rules and Regulations §10.2–10.3 (Table 01)

UET Mardan (relative grading)

Letter grades: 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

  • Relative grading: marks are normalised (factor 100 ÷ the highest marks in the class) before a grade is given, so enter the letter grade from your result.
  • SGPA and CGPA are rounded to two decimal places; non-credit courses are not counted.

Source: UET Mardan: Undergraduate Prospectus 2026-27, §11.2–11.4 (Table 1)

NUST (relative grading)

Letter grades: A 4.00 · B+ 3.50 · B 3.00 · C+ 2.50 · C 2.00 · D+ 1.50 · D 1.00 · F 0.00

  • Relative grading on a 1.00–4.00 scale, so enter the letter grade from your result. D+ and D are for undergraduates only.
  • Architecture and Industrial Design (SADA) use absolute grading with different rules; check Chapter 4 of the handbook.

Source: NUST: UG Student Handbook 2026 (Fall 2026 entry), Chapter 2 paras 19–20

FAST-NUCES (relative grading)

Letter grades: A+ 4.00 · 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 rules publish no fixed marks-to-grade table, so enter the letter grade from your result.
  • For a repeated course only the latest grade counts, even if it is lower.

Source: FAST-NUCES: Undergraduate Academic Rules and Regulations 2026, §2.3 Grade Points and §2.4–2.6 GPA

  • Virtual University of Pakistan: VU uses relative grading and publishes grade-point ranges (for example A- is 3.66–3.99) rather than one value per grade, so enter the grade points shown on your VU result.
  • COMSATS University Islamabad: Not included: we could not read COMSATS's current official undergraduate regulations, and older campus handbooks may be out of date. Enter the grade points from your COMSATS result.

Official sources

Where these rules come from

Last checked against these documents on .

Universities update their rules; your own university's current regulations and your transcript are always final.

FAQ

Questions about GPA and CGPA

How is GPA calculated?

Multiply each course's grade points by its credit hours to get quality points, add them up, and divide by the total credit hours. For example, A (4.00) in a 3-credit course and B (3.00) in a 2-credit course: (12 + 6) ÷ 5 = 3.60. This is the formula in HEC's semester-system guidelines and in every university rulebook we checked.

How is CGPA calculated from semester GPAs?

Multiply each semester's GPA by that semester's credit hours, add them up, and divide by the total credit hours. A plain average of GPAs is only correct when every semester has the same credit hours.

How do I convert CGPA to percentage according to HEC?

HEC's fractionalized grading table places each CGPA in a grade band, and the CGPA gets the minimum percentage of that band. For example, CGPA 3.00 is in band B (2.67–3.00, 71–74%), so it equals 71%; CGPA 3.50 is in band A- (3.34–3.66, 80–84%), so it equals 80%.

Is there one official CGPA to percentage formula in Pakistan?

No. HEC recommends the band table this calculator uses, but universities can follow their own rules, and the percentage on your transcript or degree is what counts. None of the university rulebooks we checked (AWKUM, University of Peshawar, Punjab University, UET Peshawar, UET Mardan, NUST, FAST) publishes its own CGPA-to-percentage formula, so for anything official ask your university's examination section.

Why can't I enter marks for UET, NUST or FAST?

These universities use relative grading: your marks are compared with the class before a letter grade is given, so the same percentage can earn different grades in different classes. Their rules fix only the points for each letter grade, so enter the letter grade from your result.

What CGPA do I need to get my degree?

HEC's minimum is a CGPA of 2.00 out of 4.00 for a BS degree and 2.50 for MS/MPhil. Some programmes ask for more, for example NUST requires 2.50 in its Business and Social Sciences programmes.

Is my data saved or sent anywhere?

No. Everything is worked out in your browser. Your courses and grades are not sent to Softhat or anyone else, and they are cleared when you close the page.

Final year coming up? Browse our final year project ideas for computer science.

Make your final year project count

A strong FYP lifts your grades and your CV. Softhat mentors final-year students from choosing the idea to the viva, onsite or remote.

اردو