Weighted Average Calculator
Enter your values and a matching list of weights. The weighted average appears with the plain average beside it, so you can see what the weighting changed.
How to use this calculator
- Enter your values in the first box — grades, prices, scores, rates.
- Enter the weights in the second box, in the same order. The third weight belongs to the third value.
- Read the weighted average, then compare it with the unweighted one beside it. The gap between them is what the weighting is doing.
Both boxes take commas, spaces or new lines, so two columns copied out of a spreadsheet can be pasted straight in.
How to calculate a weighted average
Each value is counted as many times as its weight says, and the total is divided by the number of counts rather than the number of values.
- x — each value, e.g. a grade of 4.0
- w — its weight, e.g. 4 credit hours
- Σ — "the sum of", added across every pair
When every weight is the same, the weights cancel out and the result is the ordinary mean. That is worth knowing: the plain average is just a weighted average where nothing counts for more than anything else.
A worked example: grade point average
| Course | Grade | Credits |
|---|---|---|
| Statistics | 4.0 | 4 |
| Economics | 3.0 | 4 |
| History | 4.0 | 3 |
| Chemistry | 2.3 | 2 |
The products are 4.0 × 4 = 16, 3.0 × 4 = 12,4.0 × 3 = 12 and 2.3 × 2 = 4.6, which add to 44.6. The credits add to 13, so the GPA is 44.6 ÷ 13 = 3.43.
Averaging the four grades without weights gives 3.325. The weighted figure is higher because the weakest grade came from the smallest course — which is exactly the distinction a GPA exists to make.