Free Tool · Multi-Scale · Credit-Hour Weighted

GPA Calculator

Compute your weighted GPA on a 4.0, 5.0 or 10.0 scale with credit-hour weighting and step-by-step working.

Grade points must not exceed the scale maximum.
# Course name Grade points Credit hours
Preview: fill in at least one course

What this GPA calculator does

This tool computes your grade point average from a list of courses, each with its own grade point value and credit hours. GPA is a weighted average: courses with more credit hours count more towards the final result. The calculator supports the three scales most common in Pakistan and internationally — 4.0, 5.0, and 10.0 — plus a percentage mode for institutions that report marks out of 100. It shows every intermediate quantity: the weighted contribution of each course, the total credit hours, and the sum of weighted points, so you can see exactly where the final number comes from.

Formula

GPA (weighted average)
GPA = Σ (grade point × credit hours) Σ (credit hours)

Each course contributes its grade point multiplied by its credit hours to the numerator. The denominator is the total credit hours.

Alternative form (using course averages)
GPA = w1 g1 + w2 g2 + … + wn gn w1 + w2 + … + wn

Where wi is the credit hours of course i and gi is its grade point.

Variable definitions

  • gi — grade point earned in course i (e.g. 3.7 on a 4.0 scale).
  • wi — credit hours of course i (e.g. 3 for a typical course).
  • n — number of courses.
  • GPA — weighted average of grade points, on the same scale.

Worked examples

Example 1: Four courses on a 4.0 scale

Maths (3 cr, grade 3.7)
Physics (4 cr, grade 3.3)
English (3 cr, grade 4.0)
Chemistry (2 cr, grade 3.0)
  1. Weighted points: 3 × 3.7 = 11.1; 4 × 3.3 = 13.2; 3 × 4.0 = 12.0; 2 × 3.0 = 6.0.
  2. Sum of weighted points: 11.1 + 13.2 + 12.0 + 6.0 = 42.3.
  3. Total credit hours: 3 + 4 + 3 + 2 = 12.
  4. GPA = 42.3 / 12 = 3.525.

Example 2: Single course — trivial case

  1. Maths (3 cr, grade 3.5): weighted points = 10.5.
  2. Total credit hours = 3.
  3. GPA = 10.5 / 3 = 3.5.

With a single course, GPA is just that course's grade point.

Example 3: Same grades, different credit hours

Course A (1 cr, grade 4.0)
Course B (1 cr, grade 4.0)
Course C (4 cr, grade 2.0)
  1. Weighted points: 1 × 4.0 + 1 × 4.0 + 4 × 2.0 = 4 + 4 + 8 = 16.
  2. Total credits: 1 + 1 + 4 = 6.
  3. GPA = 16 / 6 ≈ 2.667.
  4. Note: two perfect scores are outweighed by one low-scoring 4-credit course. This is why credit weighting matters.

Example 4: Five courses on a 5.0 scale

Physics (3 cr, grade 4.5)
Maths (3 cr, grade 5.0)
Chemistry (3 cr, grade 3.5)
Biology (3 cr, grade 4.0)
English (2 cr, grade 4.5)
  1. Weighted: 13.5 + 15 + 10.5 + 12 + 9 = 60.0.
  2. Credits: 3 + 3 + 3 + 3 + 2 = 14.
  3. GPA = 60 / 14 ≈ 4.2857.

Example 5: What GPA do I need to raise my average?

  1. Current: 12 credits, GPA 3.2 → weighted points = 12 × 3.2 = 38.4.
  2. Target: 15 credits total at GPA 3.5 → needed weighted points = 15 × 3.5 = 52.5.
  3. Needed from the next 3 credits: 52.5 − 38.4 = 14.1.
  4. Required grade point in the next course: 14.1 / 3 = 4.7 — which exceeds a 4.0 scale.
  5. Conclusion: with a 4.0 scale, hitting 3.5 after this few credits is impossible from 3.2. More courses are needed to raise the average gradually.

GPA scales used in Pakistani universities

  • 4.0 scale — used by most public and private universities in Pakistan (NUST, LUMS, UET, Punjab University, etc.). Grade points typically range from 0.0 (F) to 4.0 (A).
  • 5.0 scale — used by some institutions and in intermediate/FSc level gradings. Grade 5.0 is the maximum.
  • 10.0 scale — used by the Pakistani CSS examination and by a small number of institutions. Common in Indian institutions (CBSE-based).
  • Percentage — some boards and institutions report percentages rather than GPA; the two can be roughly converted but no universal formula exists.

Always confirm the scale your institution uses before interpreting a GPA figure. A 3.5 means something very different on a 4.0 versus a 5.0 scale.

Common mistakes to avoid

  • Forgetting to weight by credit hours. A simple average of grade points ignores the fact that some courses carry more weight. Always multiply each grade point by its credit hours before summing.
  • Mixing scales. A grade point of 4.5 is valid on a 5.0 scale but not on a 4.0 scale. Keep every value on the same scale throughout.
  • Using the wrong number of decimal places. Most institutions round GPA to two decimal places. Internally, keep full precision and round only at the end.
  • Adding credit hours to grade points. These are different quantities with different units. Keep them separate in the calculation.
  • Forgetting to include failed courses. A fail (F, or 0.0) still counts in the credit hours denominator, which is why a single F drags down GPA more than it might appear.
  • Assuming CGPA equals GPA. GPA is for one term; CGPA accumulates across terms. They are computed the same way over different inputs.
  • Treating a 3.5 on a 5.0 scale as equivalent to 3.5 on a 4.0 scale. They are completely different performance levels. Always quote the scale alongside the GPA.

FAQ

How is GPA calculated?

GPA is a weighted average of your grade points: GPA = Σ(grade point × credit hours) / Σ(credit hours). Each course contributes its grade point multiplied by its credit hours to the numerator; the denominator is the total credit hours. The result is on whatever scale your institution uses — commonly 4.0, 5.0, or 10.0.

What is the difference between GPA and CGPA?

GPA is the grade point average for a single term or semester. CGPA (cumulative GPA) is the average across all semesters completed so far. The two are computed the same way; they simply cover different time periods.

What does a 4.0 GPA mean?

On the standard US 4.0 scale, a 4.0 is the maximum, typically corresponding to straight A grades. Some institutions award 4.3 for A+, so check your own grading policy. In Pakistan, most universities use a 4.0 scale, but some use 5.0 or a percentage-based system.

How do credit hours affect GPA?

Credit hours act as weights. A 3-credit course contributes three times as much as a 1-credit course with the same grade. If you scored an A in a 4-credit course and a C in a 1-credit course, the A dominates the GPA. This is why GPA is called a weighted average.

Can I convert GPA to a percentage?

There is no single universal conversion formula, and different institutions use different methods. On a 4.0 scale, a rough rule of thumb is percentage ≈ GPA × 25, but this is approximate. Always use your institution's official conversion table when one exists.

What if I take the same course twice?

It depends on your institution's policy. Some replace the old grade with the new one (grade replacement), while others average the two. This calculator treats each row independently, so if your institution uses grade replacement, omit the earlier attempt from the input.

Related tools

Related Hira Academy resources

Planning your GPA? Check the study resources for your subjects with our free Class 9 notes and Class 10 notes, and track your progress through the Student Portal.

↑