Skip to content
K Knidox Search…
Statistics · Averages

Weighted Mean Calculator

Enter value and weight pairs to get the weighted average — with the simple mean shown for comparison.

One pair per line: value then weight, separated by a comma or space. Blank or invalid lines are ignored.
Examples — tap to load
Weighted mean
83.33

From 3 pairs · Σwx = 500, Σw = 6

80
Simple (unweighted) mean
6
Total weight (Σw)

Compare the two: the weighted mean pulls toward the values carrying the largest weights, while the simple mean treats every value equally.

The weighted mean multiplies each value by its weight, adds those products, and divides by the total weight: Σwx ÷ Σw. For values 90, 80, 70 with weights 3, 2, 1 that is (270 + 160 + 70) ÷ 6 = 500 ÷ 6 = 83.33, higher than the simple mean of 80 because the 90 carries the most weight.

What a weighted mean is

A weighted mean is an average in which some values count for more than others. Instead of treating every number equally, you assign each a weight — how much it should influence the result — then combine them in proportion to those weights. It answers questions the simple mean cannot: what is my course grade when the final exam is worth more than a quiz, or what is the average price when some items sold in far larger quantities?

When every weight is equal, the weighted mean collapses back to the ordinary arithmetic mean. The two differ only when the weights differ, and the gap between them tells you how much the heavier-weighted values are shifting the average.

weighted mean = Σ(wᵢxᵢ) ÷ Σwᵢ

sum of each value times its weight, divided by the sum of the weights

Worked example

Three exam scores 90, 80, 70 weighted 3, 2, 1.

  1. 1
    Multiply each value by its weight. 90 × 3 = 270, 80 × 2 = 160, 70 × 1 = 70.
  2. 2
    Add the products to get Σwx. 270 + 160 + 70 = 500.
  3. 3
    Add the weights to get Σw. 3 + 2 + 1 = 6.
  4. 4
    Divide Σwx by Σw. 500 ÷ 6 = 83.33 — the weighted mean. The simple mean of 90, 80, 70 is 240 ÷ 3 = 80, so weighting the 90 more heavily raises the average.

Contribution of each pair

Each value’s share of the numerator is its weight times its value (wᵢxᵢ).

Value (xᵢ)Weight (wᵢ)Contribution (wᵢxᵢ)
903270
802160
70170
Σ6500

Where weighted means show up

Course grades. A syllabus rarely weights everything equally — a final worth 40% and homework worth 10% call for a weighted mean, with the percentage weights standing in for wᵢ.

Grade point averages. A GPA is a weighted mean of grade points weighted by course credit hours, so a 4-credit course moves your GPA twice as much as a 2-credit one.

Price indices and averages. Consumer price indices and average prices weight each item by how much is bought, so staples influence the figure more than rarely purchased goods. Any time some data points genuinely matter more than others, the weighted mean is the honest average.

What is the difference between a weighted mean and a simple mean?
The simple (arithmetic) mean divides the sum of the values by how many there are, treating each equally. The weighted mean multiplies each value by a weight first, so values with larger weights count for more. They match only when all weights are equal.
What if the weights don’t sum to 1?
That is fine — the weights don’t need to sum to 1 or to 100. Dividing by Σw normalises them automatically. Weights of 3, 2, 1 give the same result as 0.5, 0.333, 0.167, because only the ratios between the weights matter.
Can I use percentages as the weights?
Yes. Enter each value with its percentage weight, e.g. an exam worth 40% as “88, 40”. Because the calculator divides by the total weight, the percentages need not add up to exactly 100 — the result is scaled correctly regardless.
What happens if a weight is zero?
A value with a weight of 0 contributes nothing to Σwx and nothing to Σw, so it is effectively excluded from the average. At least one weight must be positive, since Σw must be greater than 0 to divide by.
Can a weighted mean fall outside the range of my values?
No. As long as the weights are non-negative, the weighted mean always lands between the smallest and largest values, just like a simple mean. Weighting shifts it toward the heavier values but never past the extremes.
How do I enter the value and weight pairs?
Put one pair per line: the value, then the weight, separated by a comma or a space — for example “90, 3”. Blank lines and lines without two valid numbers are ignored, so you can paste columns from a spreadsheet.