Math

How to Calculate a Weighted Average

21 Jun 20266 minInformational guide

A weighted average gives some numbers more influence than others. Instead of treating every value as equally important, it lets each value carry a weight that reflects how much it should count. A final exam worth half your grade should move your average more than a short quiz, and a weighted average is how that happens.

This guide explains what a weighted average is, how it differs from a simple average, the formula behind it, and how to work one out step by step. It also covers grades, prices, ratings, and percentage weights, with short examples you can follow by hand. When you would rather skip the arithmetic, the weighted average calculator runs the same steps instantly.

What a weighted average is

A weighted average is an average where each value is multiplied by a weight before everything is added up and divided. The weight stands for importance, size, frequency, or any factor that makes one value count more than another. Higher weights pull the result toward the values they are attached to.

Picture a course where the final exam matters far more than homework. A weighted average reflects that by giving the exam a larger weight, so a strong final lifts the overall mark more than a strong homework score would.

How a weighted average differs from a simple average

A simple average adds the values and divides by how many there are, treating each one equally. A weighted average first scales each value by its weight, so equal treatment is no longer assumed.

Take the scores 90, 80, and 70. A simple average is 240 divided by 3, which is 80. Now suppose the first score should count for 50 percent, the second for 30 percent, and the third for 20 percent. The weighted average becomes 83.00, because the high score now carries more of the total. Same numbers, different result, because the weights changed what each value contributes. If every weight is identical, the two methods agree, which is why a simple average is really a weighted average with equal weights. For the equal-weight version, an average calculator does the job in one step.

The weighted average formula

The formula is short:

Weighted average = sum of (value times weight) divided by sum of the weights

In words, multiply each value by its weight, add those products together, then divide by the total of all the weights. The division by total weight is the step that keeps the result on the same scale as the original values.

How to calculate a weighted average step by step

Work through it in four steps:

  1. List each value next to its weight.
  2. Multiply every value by its own weight.
  3. Add up all of those products.
  4. Divide that sum by the total of the weights.

Using 90, 80, and 70 with weights of 50, 30, and 20, the products are 4,500, 2,400, and 1,400, which add to 8,300. The weights add to 100. So 8,300 divided by 100 is 83.00. The result sits closer to 90 than a plain average would, because the 90 carried the largest weight.

What weights mean

A weight is a number that says how much a value should count. It can be a percentage, a count, a size, a price quantity, or a credit value. What matters is that the weights describe relative importance consistently across all the values. Doubling a weight roughly doubles how much that value pulls on the result, as long as the other weights stay the same.

Do weights need to add up to 1, 100, or another total

No. Weights do not need to sum to any particular number. Because the formula divides by the total of the weights, the method works whether they add to 1, to 100, or to 837. Weights of 50, 30, and 20 give the same answer as weights of 5, 3, and 2, since only their proportions matter. Percentages that total 100, or decimals that total 1, are common and easy to read, but they are a convenience rather than a requirement.

Weighted average with percentages

When weights are written as percentages, you can use them directly as the weights and divide by their total. With weights of 50 percent, 30 percent, and 20 percent on the scores 90, 80, and 70, the total weight is 100 and the weighted average is 83.00. You do not have to convert the percentages to decimals first, though dividing by the total still applies if they do not add up to exactly 100. The percentage calculator helps when the weights themselves need working out.

Weighted average with grades or scores

Grades are the most common place people meet weighted averages, because assessments rarely count equally. Suppose homework scores 85 and is worth 20 percent, a midterm scores 78 and is worth 30 percent, and a final scores 90 and is worth 50 percent.

ComponentScoreWeightScore times weight
Homework85201,700
Midterm78302,340
Final90504,500

The products total 8,540, and the weights total 100, so the course grade is about 85.40. A dedicated grade calculator follows the same logic, and a GPA calculator extends it by weighting each course grade by its credit hours.

Weighted average with prices, costs, ratings, or quantities

Weighted averages appear far beyond the classroom. For prices, the weight is usually quantity. If you buy 2 kg of one item at 10 per kg, 3 kg of another at 12 per kg, and 5 kg of a third at 15 per kg, the weighted average price is (20 plus 36 plus 75) divided by 10, which is about 13.10 per kg. Here the weights add to 10, not 100, and the formula still works.

Ratings follow the same pattern, with the number of reviews as the weight. A product rated 5 stars by 200 people, 4 stars by 150, and 3 stars by 50 has a weighted average of (1,000 plus 600 plus 150) divided by 400, which is about 4.38 stars. A plain average of 5, 4, and 3 would be 4, which understates how many people gave the top score.

Common mistakes

  • Averaging the values and ignoring the weights, which throws away the whole point of weighting.
  • Forgetting to divide by the total weight, which leaves an inflated sum rather than an average.
  • Mixing decimal and percentage weights in the same calculation, such as using 0.5 for one value and 30 for another.
  • Treating all values as equally important when the situation clearly weights them differently.
  • Averaging percentages directly when they come from groups of different sizes. A rate of 90 percent on 100 items and 50 percent on 10 items is not a 70 percent overall rate, because the groups are not the same size.

When to use a weighted average calculator

By hand, a weighted average is manageable for a few values, but it gets error-prone once there are many rows, awkward weights, or decimals to track. A calculator removes the slips, especially the easy-to-miss step of dividing by the total weight. Enter each value with its weight in the weighted average calculator and it returns the result with a row-by-row breakdown, so you can see which values are doing the most work. Treat the output as an estimate and confirm the exact method your class, report, or platform expects.

FAQ

What is a weighted average? A weighted average is an average where each value is multiplied by a weight that reflects its importance before the totals are added and divided. Values with larger weights influence the result more.

How do you calculate a weighted average? Multiply each value by its weight, add the products together, then divide by the sum of the weights. The final division keeps the answer on the same scale as the original values.

Do weights have to add up to 100? No. Because you divide by the total of the weights, any total works. Weights of 50, 30, and 20 give the same result as 5, 3, and 2, since only the proportions matter.

What is the difference between an average and a weighted average? A simple average treats every value equally, while a weighted average lets some values count more. When all weights are equal, the two give the same answer.

How do I calculate a weighted grade? Multiply each score by its weight, such as a percentage of the final grade, add those results, and divide by the total weight. For example, scores of 90, 80, and 70 weighted 50, 30, and 20 give 83.00.

Why is my weighted average different from a simple average? Because the weights are not equal. Heavier weights pull the result toward their values, so a weighted average can sit above or below a plain average of the same numbers.

Educational only. Weighted average results depend on the values, weights, rounding method, and context. Treat calculator results as estimates and check the method required by your class, report, workplace, platform, or official source.