Calculators
Home › Learn › How to Calculate a Weighted Average

How to Calculate a Weighted Average

Multiply, add, divide: the three steps, worked by hand.

Published 26 November 2026

Quick answer: A weighted average gives each value a say in proportion to its weight: multiply value by weight, add the products, divide by the total weight. A market stall selling 125 kilos of apples at three prices averages $2.06 a kilo, not the plain $2.13. A student at 82, 74 and 91, weights 20, 30 and 50, scores 84.1.

Three prices, one stall

A market stall sells apples at three prices across the week. Monday: 40 kilos at $2.10 a kilo. Tuesday: 25 kilos at $2.40. Wednesday: 60 kilos at $1.90. The owner wants one number for the week: the average price a kilo actually fetched. The plain mean of the three prices is (2.10 + 2.40 + 1.90) ÷ 3 = $2.13. That number is wrong. It gives Tuesday's price the same say as Wednesday's, but Wednesday sold more than twice as many kilos as Tuesday. The kilos are the weights. The honest average weights each price by how many kilos sold at it.

Multiply each price by its kilos first. Monday: 40 × 2.10 = $84. Tuesday: 25 × 2.40 = $60. Wednesday: 60 × 1.90 = $114. Add the three takings: 84 + 60 + 114 = $258. That is the money the stall took in all week. Now add the kilos: 40 + 25 + 60 = 125. Divide: 258 ÷ 125 = $2.06 a kilo. The true average price sits below the plain $2.13, because the cheapest price, $1.90, carried the most kilos. Whenever some values count more than others, the plain mean misleads, and the weighted average is the fix.

The three steps

Every weighted average runs the same three steps. Multiply each value by its weight. Add the products. Divide by the total weight. In symbols, weighted mean = Σ(x × w) ÷ Σw, where x is a value and w is its weight. Nothing else is involved. The hard part is never the arithmetic. It is spotting which numbers are the values and which are the weights, and keeping them in the same order.

Worked example: a gradebook

A student scores 82 on assignments, 74 on quizzes and 91 on the exam. The weights are 20%, 30% and 50%. Multiply first: 82 × 20 = 1,640. 74 × 30 = 2,220. 91 × 50 = 4,550. Add the products: 1,640 + 2,220 + 4,550 = 8,410. The weights add to 100. Divide: 8,410 ÷ 100 = 84.1. The plain mean of the three scores is 82.33, and it understates the result, because the exam, the best score, carries half the weight. The weighted average gives the exam its full say.

Read the answer against the weights. The exam is worth half the course, so the final mark should sit closer to 91 than to 74. It does: 84.1 is above the plain mean and below the exam score. That sense check takes two seconds and catches most slips. If the weighted average lands nearer the lightly weighted value than the heavily weighted one, something is crossed.

Weights that do not add to 100

Weights do not have to be percentages. They can be counts, credit hours, kilos, pounds, or plain small numbers, and the answer stays put as long as the proportions stay the same. Take three test scores, 70, 80 and 90, with weights 2, 3 and 5. Multiply: 70 × 2 = 140. 80 × 3 = 240. 90 × 5 = 450. Add the products: 140 + 240 + 450 = 830. Add the weights: 2 + 3 + 5 = 10. Divide: 830 ÷ 10 = 83.

Now write the same weights as percentages, 20, 30 and 50. The products become 1,400, 2,400 and 4,500, the total is 8,300, and dividing by 100 gives 83 again. Decimals do the same: weights 0.2, 0.3 and 0.5 give 14 + 24 + 45 = 83, divided by 1.0. Only the proportions matter, because the final division by the total weight scales everything back. Use whichever form your source hands you: a syllabus gives percentages, a transcript gives credit hours, a shop gives kilos.

Combining group averages

The most common weighted average in practice is two averages joined into one. A small class of 15 pupils averages 88. A big class of 45 pupils averages 76. What is the average across all 60 pupils? Average the two means and you get 82. That gives the class of 15 the same say as the class of 45, and it is wrong. Weight each mean by its class size. 15 × 88 = 1,320. 45 × 76 = 3,420. Add: 1,320 + 3,420 = 4,740. Divide by 60 pupils: 4,740 ÷ 60 = 79. The true average sits much nearer 76 than 88, because three quarters of the pupils are in the big class.

The gap between 82 and 79 is the whole point. Averaging averages without weighting flatters the small group. The grand mean calculator runs this same calculation for group means and group sizes, and the grouped data mean calculator does it for frequency tables. Any time you combine averages from groups of different sizes, weight first.

A portfolio return

Money works the same way, with pounds as weights. An investor holds $5,000 at 6%, $3,000 at 4% and $2,000 at 8%. The plain mean of the three rates is 6.0%. That pretends the money is split evenly, and it is not. Multiply each rate by its pot: 5,000 × 6 = 30,000. 3,000 × 4 = 12,000. 2,000 × 8 = 16,000. Add: 30,000 + 12,000 + 16,000 = 58,000. Divide by the $10,000 invested: 58,000 ÷ 10,000 = 5.8%. The true return sits below 6%, because the biggest pot earns the middle rate and the smallest pot earns the top one.

The same logic prices a shop's stock, a survey's results and a price index. The CPI weights each item by what households actually spend on it, so bread counts more than caviar. A survey weights each group by its share of the population, so a small oversampled group cannot steer the result. Wherever the parts are unequal in size, the weighted average is the honest single number.

When every weight is equal

Give every value the same weight and the weighted average turns back into the plain mean. Scores of 70, 80 and 90 with weights 1, 1 and 1 give (70 + 80 + 90) ÷ 3 = 80, exactly the ordinary average. That is a useful check. If your weights are equal, both formulas must agree. If they do not, a weight is mistyped. The plain mean is simply the weighted average with every weight set to one.

That also settles when to reach for the weighted version. If every value counts once, use the plain mean. If some values count more, through credit hours, class sizes, kilos or pounds, weight them. The decision is made before any arithmetic, and it is the only decision that matters.

The same average in a spreadsheet

Excel and Google Sheets both carry the calculation as one function. Put the values in A2:A4 and the weights in B2:B4, then type =SUMPRODUCT(A2:A4, B2:B4)/SUM(B2:B4). For the gradebook, values 82, 74, 91 and weights 20, 30, 50, SUMPRODUCT returns 8,410 and SUM returns 100, so the formula gives 84.1. For the shop, values 2.10, 2.40, 1.90 and weights 40, 25, 60 give 258 divided by 125, which is 2.064. SUMPRODUCT multiplies matching pairs and adds the products, which is the first two steps of the method. The division by SUM is the third step. Check the function against one hand calculation first, the 84.1 or the 2.064 above, and then trust it for the long lists.

Reading the answer honestly

With positive weights, a weighted average always lands between the smallest and the largest value. The shop average of $2.06 sits between $1.90 and $2.40. The gradebook mark of 84.1 sits between 74 and 91. The portfolio return of 5.8% sits between 4% and 8%. If your answer falls outside that span, a weight is out of order, mistyped, or negative. That range check is the fastest error test there is.

A weight of zero drops that value out entirely. Give the quizzes a weight of zero and the gradebook becomes (82 × 20 + 91 × 50) ÷ 70 = (1,640 + 4,550) ÷ 70 = 6,190 ÷ 70 = 88.43. The quizzes simply stop counting. Negative weights have no ordinary meaning in grades, surveys or portfolios, so stick to positive ones in normal use.

Watch out

Three slips cause nearly every wrong weighted average. First, adding up value times weight and stopping there. In the gradebook that total is 8,410, which is not an average of anything. The last step, dividing by the total weight, is what turns it into 84.1. Second, weights in the wrong order, which no calculator can detect: read the table it shows and check each row before trusting the answer. Third, averaging averages without weighting: two classes at 88 and 76 do not average to 82. They average to 79, because the class of 45 carries three times the weight of the class of 15.

That is the whole method. Multiply each value by its weight, add the products, divide by the total weight. Run any of these numbers through the weighted average calculator and it will agree: the tool shows the same gradebook mark, 84.1, with the multiplication table beside the answer.

Frequently asked questions

How do I calculate a weighted average by hand?

Multiply each value by its weight, add the products, then divide by the total weight. For scores of 82, 74 and 91 with weights 20, 30 and 50, the products are 1,640, 2,220 and 4,550. They add to 8,410, the weights add to 100, and 8,410 divided by 100 is 84.1. The plain mean of the three scores is 82.33, which gives the exam too little say.

Do weights have to add up to 100?

No. The calculation divides by the total weight at the end, so any scale works. Scores of 70, 80 and 90 with weights 2, 3 and 5 give 83, and the same scores with weights 20, 30 and 50 give 83 too. Percentages, counts, credit hours and decimals all give the same answer as long as the proportions stay the same.

How do I calculate a weighted average in Excel?

Put the values in one column and the weights in the next, then use =SUMPRODUCT(values, weights)/SUM(weights). For the gradebook, =SUMPRODUCT(A2:A4, B2:B4)/SUM(B2:B4) with values 82, 74, 91 and weights 20, 30, 50 returns 84.1. Google Sheets has the same functions. Check the result against one hand calculation first.

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

A normal average gives every value equal importance, as if each weight were 1. A weighted average lets some values count more. A stall selling 125 kilos of apples at three prices averages $2.06 a kilo by weight, while the plain mean of the three prices is $2.13. The plain mean is just the weighted average with equal weights.

Can a weighted average be higher than my biggest value?

With positive weights, no. It always lands between the smallest and the largest value, pulled toward the ones with the heaviest weights. The shop average of $2.06 sits between $1.90 and $2.40, and the gradebook mark of 84.1 sits between 74 and 91. An answer outside that span means a weight is out of order, mistyped, or negative.