Weighted Mean Calculator

Type value:weight pairs like 85:4

What you can type:

  • Pairs: 85:4, 90:3, 70 is 85 with weight 4, 90 with weight 3 and 70 with weight 1. A missing weight counts as 1.
  • Two pasted columns: 85 ⇥ 4 ↵ 90 ⇥ 3 pasted from Excel or Google Sheets (values, then weights) is two pairs.
  • CSV: 85,4 ↵ 90,3 from a CSV file is two pairs, one per line.
  • Labels: Math ⇥ 85 ⇥ 4 with a column of labels in front reads the value and weight after the label.
  • Labels in a CSV file: Art history,70,2 ↵ Math,85,4 is 70 with weight 2 and 85 with weight 4, each after its label.
  • Fractions: 17/20:1, 3/4:2 is 0.85 with weight 1 and 0.75 with weight 2.
  • Decimal commas: 1,5:2 is 1.5 with weight 2.
  • Anything else: Score:Credits, 85:4 reads 85 with weight 4 and names “Score:Credits” as ignored. Nothing is dropped silently: the line under the field names everything that was ignored.

↵ is a new line and ⇥ a tab.

Values used (value × weight): 85 × 4, 90 × 3, 70 × 2
Values used
#ValueWeight
1854
2903
3702

Weighted mean 83.3333, 3 values.

Worked example for 85:4, 90:3, 70:2.

Weighted mean 83.3333

Sum of value × weight
750
Sum of weights
9
Unweighted mean
81.6667
Count
3
85, weight 490, weight 370, weight 2709080Weighted mean 83.3385, weight 490, weight 370, weight 2709080▲ 83.33
Each dot is a value, sized by its weight. The line balances at the ▲.
Show the steps
  1. Multiply each value by its weight and add them up: 85×4 + 90×3 + 70×2 = 750
  2. Add the weights: 4 + 3 + 2 = 9
  3. Divide the first sum by the second: 750 ÷ 9 ≈ 83.3333

Full calculator on MeanCalculator.com (opens in a new tab)