Skip to content
CalculatorFly

Weighted Average Calculator

Enter each value with its weight, or paste two columns. The weighted average and the working update as you type, calculated exactly on your device.

Values and weights

Weighted average
-
-Sum of weights Σw
-Sum of products Σ(w × x)
-Pairs
-Plain average (unweighted)

How to use the weighted average calculator

Enter each value with its weight, one pair per row, or switch to Paste a list and paste two columns straight from a spreadsheet. Weights can be anything that says how much each value counts: credits, quantities, percentages or frequencies. The weighted average, both sums and the full working update as you type.

Weighted average formula

Weighted average = Σ (wᵢ × xᵢ) ÷ Σ wᵢ

Multiply each value x by its weight w, add up the products, then divide by the sum of the weights. Weights don't need to add up to 1 or 100: dividing by Σw takes care of that. All arithmetic uses exact decimals, so 0.1 and 0.2 add to exactly 0.3, and a result that repeats (like 13.0666…) is shown rounded with its exact fraction.

Worked example

Scores of 85, 90 and 78 with weights 3, 2 and 4. The products are 3 × 85 = 255, 2 × 90 = 180 and 4 × 78 = 312, which add up to 747. The weights add up to 9, so the weighted average is 747 ÷ 9 = 83. The plain average of the three scores is 84.33: the heavier weight on 78 pulls the weighted average down.

FAQ

When should I use a weighted average?

Whenever some values matter more than others: grades by credit hours, the average price paid for shares bought in several lots, or ratings with different numbers of votes. For grade categories with percentage weights, the CalculatorFly weighted grade calculator also tells you what you need on the rest.

Can a weight be zero or negative?

A weight of zero is allowed and simply leaves that value out. Negative weights aren't accepted, and the weights must not all be zero.

How is this different from the mean?

The ordinary mean gives every value a weight of 1. If all your weights are equal, the weighted average equals the mean; the CalculatorFly mean, median and mode calculator covers that case.

Is my data sent anywhere?

No. Everything is calculated in your browser with WebAssembly, so your numbers stay on your device.