New Tool Radar

AI for Data & Spreadsheets

How to Recompute a Weighted Average With Unequal Weights

Multiply each value by its weight and divide by the total weight before you trust a weighted average, because the plain mean ignores the weights.

Schematic diagram: an AI answer says aI says the weighted average is 80, while the correct value is Correct weighted average is 78; the verdict is Wrong.

A weighted average gives some values more say than others. Eurostat defines it as an average where each item is multiplied by a number based on its relative importance, the results are summed, and the total is divided by the sum of the weights. Dividing by the number of values instead is the most common error.

Use the practice table

The table below is synthetic. It is about a fictional training course, and it was not produced by any AI tool. It is the only source for the exercise.

Practice table — fictional course scores and weights:

  • Quiz: 80, weight 2.
  • Project: 90, weight 3.
  • Final exam: 70, weight 5.

Practice AI answer: “The weighted average is 80.”

Check the answer

Expected result. We checked Eurostat’s weighted average definition. We did not run an AI tool on the practice table. The checked list below is what to expect if the weighted average is correct; run the same check yourself on the table above.

What was checked AI answer says Correct value Verdict
Quiz contribution not shown 80 x 2 = 160 Correct
Project contribution not shown 90 x 3 = 270 Correct
Final exam contribution not shown 70 x 5 = 350 Correct
Sum of weights not shown 2 + 3 + 5 = 10 Correct — divide by the total weight, not by 3 values
Weighted average 80 78 Wrong — (160 + 270 + 350) / 10 = 78; 80 is the plain mean (80 + 90 + 70) / 3

The plain mean is the answer to a different question

The AI answer computed the plain mean, which treats the quiz, project, and exam as equals. The exam carries half the total weight, so it pulls the result toward 70. Whenever weights differ, multiply first, add, and divide by the sum of the weights.

See also: check-ai-average-against-small-table.

What to do with each verdict

  • Correct: keep the weighted average, and keep the weights with it.
  • Wrong: replace it with the weighted calculation and say the old figure was the plain mean.
  • A weight is missing: do not compute a weighted average until every weight is stated.

Limits

  • If the weights add to 1, the division step can be skipped, but the multiplication step cannot.
  • A weighted average always falls between the smallest and largest value being averaged.
  • No AI tool was run for this guide. The practice table and answer are synthetic.

Sources

See all