Skip to main content
Calculators July 01, 2026 6 min read

CGPA & GPA Calculator: Track Grades Across Semesters

CGPA & GPA Calculator: Track Grades Across Semesters

Scholarships, graduate school, and graduation honors all come down to one number — but computing it by hand across multiple semesters is tedious and easy to get wrong. A free CGPA and GPA calculator converts letter grades and credit hours into semester GPA and cumulative CGPA instantly, with credit-weighted math built in.

GPA tracks one term; CGPA tracks your entire academic career. Knowing both lets you measure immediate performance and long-term standing — and run “what grade do I need?” scenarios before finals week.

How GPA and CGPA Are Calculated

Each letter grade maps to quality points (A = 4.0, B = 3.0, etc.). Multiply grade points by credit hours for each course, sum the quality points, and divide by total credits:

GPA = Total Quality Points ÷ Total Credit Hours Attempted

Example: 4-credit A (16 pts) + 3-credit B (9 pts) = 25 quality points ÷ 7 credits = 3.57 GPA.

CGPA uses the same formula but sums quality points and credits across all semesters. A common mistake is averaging semester GPAs directly — that only works when every term has identical credit loads.

Plan Ahead with a GPA Calculator

Manual calculation at the end of every term invites errors — especially with plus/minus grades and fractional credits. A GPA calculator lets you enter target grades for upcoming courses and see exactly what you need to hit a scholarship threshold or honors cutoff.

Step-by-Step: Calculate Your Grades

Open the ToolMars CGPA & GPA Calculator and follow these steps:

  1. Set your grading scale — 4.0, 5.0, 10.0, or percentage-based.
  2. Enter each course — name, letter grade, and credit hours.
  3. Add previous semesters for cumulative CGPA.
  4. Review results — semester GPA, overall CGPA, total credits, and quality points.

Multi-semester tracking rules

  • Weight by credits: A 5-credit lab moves CGPA more than a 2-credit seminar.
  • Retakes: Verify whether your school replaces or averages the old grade.
  • Plus/minus grades: A- may be 3.7 at one school and 3.67 at another — check your handbook.
Scale variations: Letter-to-point mappings differ by institution. Always match the calculator scale to your school's grading policy.

Sample GPA Calculation in TypeScript

export function calculateAcademicStanding(semesters: { courses: { gradePoints: number; credits: number }[] }[]) {
  let totalCredits = 0;
  let totalQualityPoints = 0;

  const semesterSummaries = semesters.map((sem, index) => {
    let semCredits = 0;
    let semPoints = 0;
    sem.courses.forEach(c => {
      semCredits += c.credits;
      semPoints += c.gradePoints * c.credits;
    });
    totalCredits += semCredits;
    totalQualityPoints += semPoints;
    return { semesterNumber: index + 1, gpa: semCredits > 0 ? semPoints / semCredits : 0 };
  });

  return {
    semesters: semesterSummaries,
    cgpa: totalCredits > 0 ? totalQualityPoints / totalCredits : 0,
  };
}

Related Planning Tools

Academic milestones often overlap with age-restricted programs. Verify eligibility dates with the Age Calculator when applying for scholarships or exams. For course-level grade projections, see our semester grade calculator guide and age tracking guide for timeline planning.

Conclusion

Your GPA and CGPA should be tools for planning — not surprises on report day. Enter your courses, weight by credits, and run scenarios before finals. Open the ToolMars CGPA & GPA Calculator and know exactly where you stand.

Frequently Asked Questions

What is the difference between GPA and CGPA?

GPA is one term; CGPA combines all semesters into one credit-weighted average.

How do credit hours affect GPA?

Higher-credit courses carry more weight. GPA = quality points ÷ credit hours.

Can I calculate CGPA after a retake?

Yes — follow your school's retake policy (replace, average, or exclude old grade).

Why not average semester GPAs?

Different credit loads require weighting. Averaging GPAs directly skews lighter semesters.

What GPA is needed to graduate?

Typically 2.0 undergraduate, 3.0+ graduate — confirm with your advisor.

Does it support different scales?

Yes — 4.0, 5.0, 10.0, and percentage scales are available.

Is my grade data stored online?

No. All calculation runs locally in your browser.

Written by Toolmars Labs Team