Weighted average calculator
When not all values carry the same weight, the arithmetic mean can be misleading. Assign a weight to each data point and calculate the true mean – the sum of the weights and the contribution of each row.
Workspace · Weighted average calculator
| Valor | Peso | Peso relativo | Aportación |
|---|---|---|---|
| 8 | 30 | 30 % | 2,4 |
| 6 | 50 | 50 % | 3 |
| 9 | 20 | 20 % | 1,8 |
Σ(valor × peso) / Σ(pesos) = 7,2
How to use it
Write down each value and its weight; the weight may be a credit, a number of hours or a quantity sold.
Add as many rows as you need.
Check the weighted average and the contribution column to understand the result.
Examples
Notes with credits
A grade of 8 with 30 credits, a grade of 6 with 50 credits and a grade of 9 with 20 credits give a weighted average of 7.3, not 7.67.
Average purchase price
If you buy 100 units at €2 and 300 at €3, the weighted average price is €2.75, not €2.50.
What you need to know
The weighted average is calculated as Σ(value × weight) ÷ Σ(weights). Each row contributes in proportion to its weight, and the contribution column shows that value already multiplied by the relative weight. The sum of the contributions equals the average.
Weights must be positive. A weight of zero excludes the value from the calculation; a negative weight is meaningless in a conventional weighted average. Values may be negative if they represent, for example, variations or temperatures.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
Average, median and mode calculator
Calculate the measures of central tendency for a list of numbers.
Percentage calculator
Calculate the percentage of a number, work out what percentage it is, and work out variations and increases.
Average mark calculator
Calculate your weighted average using marks and credits or percentages.
