How to Compute Grades: The Weighted Formula, Explained

Almost every course grade is built the same way: categories, weights, and one weighted sum. This guide walks through the formula with real numbers, so you can check any gradebook by hand. If you'd rather skip the math, the grade calculator runs exactly this formula for you.

The one idea behind almost every course grade

Teachers split a course into categories — homework, quizzes, tests, projects, the final exam — and give each category a weight: the share of the course grade it controls. The weights are printed in the syllabus, and the syllabus is the source of truth: two teachers of the same subject can weight the same categories differently, and both are "right" for their own class.

The weights usually add up to 100%. That one fact explains most grade surprises. Your grade is not the average of everything you have scored — it is each category pulling in proportion to its weight.

The formula, in plain English

course grade = (category score × weight + category score × weight + …) ÷ total weight

That is the whole method. Everything else in this guide — dropped scores, extra credit, points-based classes — is a variation on these three steps.

Worked example 1 — a typical high school class

A class graded in four categories. Three are finished; the final exam is still to come.

CategoryWeightScoreContributes
Homework20%9292 × 0.20 = 18.4
Quizzes20%8585 × 0.20 = 17.0
Tests40%7878 × 0.40 = 31.2
Final exam20%Not taken yet—

Add the contributions: 18.4 + 17.0 + 31.2 = 66.6. Those 66.6 points are banked — they are yours whatever happens on the final.

But the course is only 80% graded, so the standing grade divides by the weight counted so far: 66.6 ÷ 80 = 83.25, shown as 83.3% — a B. Not 66.6% (that would be counting the untaken final as a zero), and not the average of the three scores — the next sections show why both of those are wrong.

College classes publish the same categories in the syllabus, final exam row included. The college grade calculator lays the categories out row by row and keeps the standing grade honest while the final is still blank.

Worked example 2 — a points-based class

Some teachers skip categories entirely: every assignment is simply worth points. There is nothing to weight, because the points do the weighting for you.

Points earned: 18 + 84 + 45 = 147. Points possible: 20 + 100 + 50 = 170. Grade = 147 ÷ 170 = 86.5%.

Notice what the points did: the 100-point test moved the grade five times as much as the 20-point quiz, automatically. In a points class, a big assignment is a heavy category.

When the simple average lies to you

Take worked example 1's three graded categories: 92, 85 and 78. The simple average is (92 + 85 + 78) ÷ 3 = 85.0%. The weighted standing grade is 83.3%. Same scores, two different answers, nearly two points apart.

The simple average pretends tests — 40% of the course — count the same as homework at 20%. The weighted formula charges each category its real share, so the weakest score (the 78 on tests) pulls harder than the simple average admits. The two methods only agree when every weight is equal, or when there is just one category.

When the weights really are equal — one set of scores, each counting once — the simple average is the right tool, and it has its own guide: how to calculate your grade average works the plain average for percentages, letter grades and points scores, including dropped scores and the rounding rule.

Dropped scores, extra credit, and other syllabus wrinkles

Check your own grade

You have the formula — now run it on your own numbers. The grade calculator takes classes and their weights; the college grade calculator takes one class's syllabus categories, including a final that hasn't happened yet; and the grade average calculator handles plain averages of scores, letter grades or points.

Frequently asked questions

How do I compute my grade if my teacher uses points? Add up the points you have earned and divide by the points possible so far. A quiz at 18/20, a test at 84/100 and a project at 45/50 give 147 ÷ 170 = 86.5%. There are no weights to apply — the size of each assignment is its weight.

What if a category has no grades in it yet? Leave it out entirely — do not count it as zero. Divide the points you have banked by the weight graded so far instead: in worked example 1 above, 66.6 banked points over 80% of the course gives a standing grade of 83.3%. The missing category joins the sum when its first score lands.

Is my grade the average of my test scores? Only when tests are the whole course, or every category happens to weigh the same. With categories, each category is averaged first and then weighted: the scores 92, 85 and 78 average to 85.0% simply, but weighted 20/20/40 the standing grade is 83.3%.