Weighted Average Calculator

Mean with per value weights plus plain mean for contrast.

Math and PercentUpdated 2026-10-101 min read
Weighted Average Calculator
2 to 50 numbers, like grades.
Matching weights, like 0.3, 0.5, 0.2.
Weighted mean
...
Plain mean...
Total weight...

What it does

Weighted averages give some values louder voices than others: finals count more than quizzes, expensive holdings move portfolios more than small ones. Each value multiplies by its weight before the total divides by all weights.

The tool above takes two matching lists: values with weights. It returns the weighted mean with the plain mean beside it for contrast, plus the total weight.

The default grades 90, 80, 70 at weights 0.3, 0.5, 0.2 read 27 + 40 + 14 = 81 against a plain mean of 80. The middle grade dominates through its half weight.

Definitions follow Khan Academy average units with the same weight normalization in LibreTexts math references. Both divide by the weight sum, so weights need no pre scaling to percentages.

How to use

  1. Type the values with commas or spaces.
  2. Type exactly as many weights in the same order.
  3. Read weighted mean first for the real answer.
  4. Compare plain mean to see the weight effect.
  5. Rescale weights freely; only shares matter.

Formula

Weighted = sum(value x weight) / sum(weights). Plain = sum / count.
value x weight
Each contribution scaled by importance.
sum weights
Normalizer, any scale works.
plain
Equal voice baseline for contrast.

Weights cannot go negative and must add above zero. Counts must match exactly or the page refuses instead of pairing wrongly.

Worked example

Example: 90, 80, 70 at 0.3, 0.5, 0.2

Defaults: values 90, 80, 70; weights 0.3, 0.5, 0.2.

  1. Products: 90x0.3 = 27, 80x0.5 = 40, 70x0.2 = 14.
  2. Sum: 27 + 40 + 14 = 81. Weights add to 1.
  3. Weighted: 81 / 1 = 81.
  4. Plain: (90+80+70)/3 = 80.
  5. Tool shows 81, 80, total weight 1.

Reference table

Same grades, three weightings
WeightsWeightedPlain
Equal thirds8080
0.3, 0.5, 0.28180
0.5, 0.3, 0.28380
0, 0, 17080

Limits

  • Weights model importance, not accuracy.
  • Negative weights rejected outright.
  • Lists cap at 50 pairs.
  • Outliers still pull through heavy weights.

Common mistakes

  • Mismatching value and weight order.
  • Forgetting to divide by weight sum.
  • Normalizing weights to 100 first unnecessarily.
  • Averaging the weights themselves into grades.
  • Using plain mean where weights apply.

Try it yourself

Quick checks. Answers sit tucked under each question.

100, 50 at 1, 1?

Weighted 75, plain 75, weight 2.

90, 70 at 3, 1?

(270+70)/4 = 85.

Weights 30, 50, 20 instead?

Same 81: shares match 0.3, 0.5, 0.2.

Questions

How do you calculate weighted average?

Sum of value times weight over sum of weights: 81 here.

Must weights add to 100?

No. Division normalizes any scale; 30/50/20 matches 0.3/0.5/0.2.

Weighted vs plain mean?

Weighted voices values unequally; plain voices all alike.

Can weights be zero?

Yes for ignored values, but the total must stay above zero.

Negative weights?

Rejected here; they model offsets needing different math.

Where is this used?

Grades, portfolios, GPA credits, shipping blends, survey scores.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.