Weighted average formula — with grade examples: homework, quizzes, midterm and final

Weighted Average Formula — With Grade Examples

A weighted average is the maths behind almost every grade you will ever receive. Your course grade is a weighted average of your homework, quizzes, midterm and final. Your GPA is a weighted average of your courses, weighted by credits. And the score you need on the final exam is a weighted average worked backwards. This guide gives you the weighted average formula, three worked grade examples, the rearranged version that solves for a missing score, and the Excel formula — so you can do it by hand or in a spreadsheet.

The short version is this. Multiply each score by its weight, add the results together, and divide by the total weight. If the weights are percentages that add to 100, you can skip the division — the products already add up to the answer. The rest of this post is the weighted average formula written out properly, three examples you can follow step by step, and the mistakes that catch most students out.

weighted average formula — worked example: homework, quizzes, midterm and final

What Is the Weighted Average Formula?

The weighted average formula is a way of averaging numbers that do not count equally. Some scores matter more than others, and the formula gives the important ones a bigger say in the final result.

Weighted average = (value1 × weight1 + value2 × weight2 + … + valuen × weightn) ÷ (weight1 + weight2 + … + weightn)

Each value is a score, and each weight is how much that score counts. In a course, the values are your scores on homework, quizzes, the midterm and the final, and the weights are the percentages your teacher assigns to each one. In a GPA, the values are the grade points for each course and the weights are the credit hours. The formula is the same in both cases — only the labels change.

When the weights are percentages that add up to 100, the division step disappears. You multiply each score by its weight as a decimal, add the products, and the total is the answer. That is the version you will use most often, and it is the version in the examples below. If you would rather have a tool do the arithmetic, the Weighted Grade Calculator runs this exact formula with your own numbers.

How to Calculate the Weighted Average Formula in 3 Steps

How do you calculate a weighted average? Follow three steps, and the same three steps work whether you are averaging four course components or ten courses for a GPA.

Step 1: Turn each weight into a decimal. A weight of 40% becomes 0.40, a weight of 10% becomes 0.10, and a weight of 3 credits stays as 3. The rule is simple: percentages become decimals, credit hours stay as whole numbers.

Step 2: Multiply each score by its weight. A score of 88 with a weight of 0.40 gives 35.2. Do this for every score. Each product is that score’s contribution to the final answer.

Step 3: Add the products and divide by the total weight. Add all the products together. If your weights are percentages that add to 100, that sum is the answer. If your weights are credits, divide the sum by the total number of credits.

That is the whole method. The worked examples below show each step with real grade numbers, so you can check your own calculation against them line by line.

Worked Example 1: A Course Grade from Homework, Quizzes, Midterm and Final

This is the most common weighted average a student ever meets. A course is graded as homework 10%, quizzes 20%, midterm 30% and final exam 40%. The student’s scores are 92 on homework, 85 on quizzes, 78 on the midterm and 88 on the final. What is the course grade?

ComponentScoreWeightScore × weight
Homework9210% (0.10)92 × 0.10 = 9.2
Quizzes8520% (0.20)85 × 0.20 = 17.0
Midterm7830% (0.30)78 × 0.30 = 23.4
Final exam8840% (0.40)88 × 0.40 = 35.2
Total100%9.2 + 17.0 + 23.4 + 35.2 = 84.8

The course grade is 84.8%. On this site’s letter-grade scale that is a B (83–86%). Notice how the midterm pulls the result down: it is the lowest score, 78, and it carries the second-biggest weight, 30%. The final exam is the biggest weight at 40%, so the strong 88 there does most of the repair work. That is exactly what weighting means — a score only counts as much as its weight lets it.

If you want to check this against your own course, enter your scores and weights in the Weighted Grade Calculator and compare the result with 84.8% for these numbers.

Worked Example 2: A GPA Is a Weighted Average Too

Your GPA uses the same formula, with credit hours as the weights. A 4-credit course counts more than a 3-credit course, which is why a B in a heavy course hurts more than a B in a light one. Here is a three-course semester on the 4.0 scale, where A is 4.0, A− is 3.7 and B+ is 3.3.

CourseGradeGrade pointsCreditsPoints × credits
EnglishA4.034.0 × 3 = 12.0
BiologyB+3.343.3 × 4 = 13.2
HistoryA−3.733.7 × 3 = 11.1
Total1012.0 + 13.2 + 11.1 = 36.3

Now divide by the total weight, which here is the total credits: 36.3 ÷ 10 = 3.63 GPA. That is the step students most often forget. The weights here are credits, not percentages, so they do not add to 100 and the division is required. The same three courses averaged without weights would give (4.0 + 3.3 + 3.7) ÷ 3 = 3.67 — close, but wrong, because it treats the 4-credit biology course as equal to the others. The full method, with every step explained, is in the guide on how to calculate your GPA.

Worked Example 3: What Score Do I Need on the Final?

The most useful version of the weighted average formula is the one worked backwards. You know your scores so far, you know the final exam’s weight, and you want to know the score that gets you to your target grade. The formula rearranges to: needed score = (target − points earned so far) ÷ weight of the remaining work.

Take a course graded as homework 20%, midterm 30%, quizzes 10% and final exam 40%. The student has scored 90 on homework, 80 on the midterm and 85 on quizzes, and wants an overall grade of 85%. What must they score on the final?

First, work out the points earned so far. Homework: 90 × 0.20 = 18.0. Midterm: 80 × 0.30 = 24.0. Quizzes: 85 × 0.10 = 8.5. Added together, that is 18.0 + 24.0 + 8.5 = 50.5 points out of 60 earned so far, with 40 points still available from the final.

Next, find the gap. The target is 85, so the final must supply 85 − 50.5 = 34.5 points. The final is worth 40% of the grade, so the score needed is 34.5 ÷ 0.40 = 86.25%. Check it: 50.5 + (0.40 × 86.25) = 50.5 + 34.5 = 85.0, exactly the target.

Two things are worth noticing. First, the student needs 86.25% on the final even though their target is only 85% — because the midterm score of 80 is dragging the average down and the final has to compensate. Second, if the answer had come out above 100, the target would be impossible with these scores, and the student would know to aim for the next grade down instead. The Final Grade Calculator runs this same rearranged formula for any target grade.

Weighted Average Formula vs Simple Average: Why the Difference Matters

A simple average treats every score equally. A weighted average does not. The difference is small when the weights are close together, and large when one score dominates — and in real courses one score almost always dominates.

Go back to Example 1: scores of 92, 85, 78 and 88. The simple average is (92 + 85 + 78 + 88) ÷ 4 = 343 ÷ 4 = 85.75%. The weighted average is 84.8%. The gap is almost a full point, and it exists because the lowest score, the 78 midterm, carries 30% of the grade while the highest score, the 92 homework, carries only 10%. The simple average over-credits the homework and under-credits the midterm.

A quick two-item example makes the same point more sharply. One assignment is worth 70% and you score 88; another is worth 30% and you score 95. The weighted average is (88 × 0.70) + (95 × 0.30) = 61.6 + 28.5 = 90.1%. The simple average would say 91.5%. The 95 barely moves the result because it is only worth 30% — and that is the correct answer, because that is what the weights say.

The practical lesson is to study in proportion to the weight. An hour spent on a component worth 40% of your grade moves your final grade four times as far as an hour spent on a component worth 10%. Students who average their scores without weights do not just get the wrong number — they also misjudge where their effort matters most.

Weighted Average Formula in Excel and Google Sheets

How do you use the weighted average formula in Excel? The function is SUMPRODUCT, and it does the multiply-and-add step in one line. Put your scores in one column and your weights in the next, then use this formula.

=SUMPRODUCT(scores, weights)/SUM(weights)

For Example 1, with scores in cells A2:A5 and weights as decimals in B2:B5, the formula is =SUMPRODUCT(A2:A5,B2:B5)/SUM(B2:B5). Because the weights add to 1, the /SUM(B2:B5) part divides by 1 and can be left out — but keeping it in protects you if the weights ever do not add to 100. The same formula works unchanged in Google Sheets.

If your weights are percentages like 10, 20, 30 and 40 instead of decimals, either divide them by 100 first or divide the whole result by 100 at the end. Mixing percentages with decimals in the same formula is the most common spreadsheet mistake with weighted averages, and it gives an answer exactly 100 times too large — a result like 8,480% instead of 84.8% is the giveaway.

Common Mistakes with the Weighted Average Formula

What is the most common mistake when calculating a weighted average? Forgetting that the weights have to add up to the same total as the scale you are using. The five mistakes below cover nearly every wrong answer students get.

1. Averaging the scores and ignoring the weights. This is the simple-average error from the section above. If your teacher gave you weights, they are part of the calculation — leaving them out gives a different, wrong grade.

2. Weights that do not add to 100%. Before you calculate, add the weights. Homework 10% + quizzes 20% + midterm 30% + final 40% = 100%. If your weights add to 90% or 110%, something is missing or double-counted, and no formula will fix it. Find the missing component first.

3. Mixing percentages and decimals. Either use 0.40 for the final or use 40 and divide by 100 at the end — never multiply a score by 40 and also treat the result as a percentage. Pick one form and use it for every component.

4. Averaging letter grades instead of points. An A and a C do not average to a B unless the two courses carry the same credits. Convert letters to grade points first (A = 4.0, B = 3.0, C = 2.0 on the 4.0 scale), then weight by credits, as in Example 2.

5. Averaging percentages from different totals. A score of 45/50 and a score of 18/20 are both 90%, but they are not the same amount of work, and averaging the percentages 90 and 90 hides nothing here — the trap is when the totals differ and the percentages differ, for example 8/10 (80%) and 45/50 (90%). The correct method is to add the points earned and divide by the points possible, which is itself a weighted average weighted by the totals. If the tests are weighted by your teacher on top of that, use the teacher’s weights.

Where the Weighted Average Formula Shows Up in Your Grades

Once you can see the weighted average formula, you will spot it everywhere in school. Your course grade is a weighted average of its components. Your GPA is a weighted average of your courses, weighted by credits. A semester GPA is a weighted average of two quarters. Even a class curve is often applied to a weighted average rather than to a single test. The formula is one idea with many names — and the Grade Formulas hub collects the other formulas that work the same way, including the percentage-of-marks formula and the GPA formula.

If you want the thinking behind the weights themselves — why teachers weight a final exam more than a homework set, and what a fair weighting looks like — the companion guide on understanding grade weighting covers that side of it. This post is the formula; that post is the reason the formula exists.

Frequently Asked Questions

What is the weighted average formula?

The weighted average formula is: weighted average = (value1 × weight1 + value2 × weight2 + …) ÷ (weight1 + weight2 + …). Multiply each score by its weight, add the products, and divide by the total weight. When the weights are percentages adding to 100%, the division step is already done and the sum of the products is the answer.

How do you calculate a weighted average with percentages?

Turn each percentage into a decimal (40% becomes 0.40), multiply each score by its decimal weight, and add the results. For example, homework 10% at 92, quizzes 20% at 85, midterm 30% at 78 and final 40% at 88 gives 9.2 + 17.0 + 23.4 + 35.2 = 84.8%. Always check first that the weights add to 100%.

What is the difference between a weighted average and a simple average?

A simple average treats every score equally; a weighted average gives bigger weights a bigger say. With scores of 92, 85, 78 and 88, the simple average is 85.75%, but weighted at 10%, 20%, 30% and 40% the result is 84.8% — lower, because the lowest score carries the second-biggest weight. Use a weighted average whenever the scores count differently.

How do I find the score I need on the final exam?

Rearrange the formula: needed score = (target grade − points earned so far) ÷ weight of the final. Multiply each score so far by its weight and add them, subtract that total from your target, then divide by the final exam’s weight as a decimal. If the answer is above 100, the target is not reachable with your current scores.

What is the weighted average formula in Excel?

In Excel or Google Sheets, use =SUMPRODUCT(scores, weights)/SUM(weights), with your scores in one range and your weights in the next. If the weights are decimals that add to 1, the /SUM(weights) part can be left out. If your weights are whole percentages (10, 20, 30, 40), divide them by 100 first or the answer will come out 100 times too large.

Is GPA a weighted average?

Yes. A GPA is a weighted average of your courses, weighted by credit hours. Each course’s grade points are multiplied by its credits, the products are added, and the total is divided by the total credits. That is why a 4-credit course affects your GPA more than a 3-credit course with the same grade.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *