GPA calculator

Grade point average weighted by credits, alongside the unweighted mean for comparison.

Inputs

GPA calculator

1 field

One non-negative grade per row, optionally followed by a positive weight; an omitted weight is 1.

Results are reference estimates. Verify the inputs before making important decisions.

Fill in the fields and the result will appear here automatically.

Computes an average from a list of grades where each may carry its own weight — credits, hours or any other measure of how much a subject counts. The unweighted mean is shown beside it, so the gap between the two immediately reveals whether the heavy subjects are what drags the result down. No scale is imposed: any non-negative grade is accepted, so five-point, hundred-point and four-point systems all work. The calculator does not convert between them — conversion tables differ between institutions, and quietly picking one would pass somebody else's rule off as universal.

FAQ
5 questions
Freshness
formula-based

How it works

Formula and logic

Weighted mean = Σ(grade × weight) / Σweights; unweighted mean = Σgrades / row count. An omitted weight is 1; an explicit weight must be positive. Use one grading scale throughout. Results normally round to four decimal places; positive values below 0.0001 or at least 10¹² use scientific notation with four significant digits. Institutional rules, including retakes and rounding, are not reproduced.

Example

Grades of 5, 4 and 3 with credits 3, 4 and 2 give a weighted average of 4.1111 against an unweighted 4.

Fields and units

  • Grades: one per line, weight after a space — unitless

How to use

  • — Enter one grade per line.
  • — Add the subject weight after a space — credits or hours.
  • — If weights do not matter, leave the grade alone: the weight defaults to one.
  • — Compare the weighted average with the unweighted one to see the effect of heavy subjects.

Method and limitations

Calculation method
Formula and logic
Limitation
Use one grading scale throughout. Institutional rules, including retakes and rounding, are not reproduced.

FAQ

What should I use as a weight?

Credits, course units or hours — any measure of how much a subject contributes. If there is no such measure, leave the weight out.

Which grading scale is supported?

Any non-negative one: five-point, hundred-point, four-point GPA. The calculation does not convert between scales, so enter them all in one.

Why is the unweighted mean also shown?

So the effect of the weights is visible. If the weighted figure is noticeably lower, the low grades fell on the subjects carrying the most credits.

What if a weight is zero?

That line is rejected: a subject with zero weight cannot affect the result, and it is usually a typo rather than an intention.

Can grades be fractional?

Yes. 4.5 or a decimal comma without following whitespace is a fractional grade. Separate the weight with whitespace or a semicolon: “5 3” or “5; 3”. The legacy “5, 3” with whitespace after the comma also means grade 5 with weight 3.