Weighted Average Calculator
Calculate a weighted average (weighted mean) from values and their weights – grades, prices, portfolio returns and more.
Weighted average formula
Weighted average = Σ(value × weight) ÷ Σ weights
Example: values 80, 90, 70 with weights 20, 30, 50: (1,600 + 2,700 + 3,500) ÷ 100 = 78, compared with a simple average of 80.
Common uses
- Course grades – try the weighted grade calculator.
- Average cost of shares bought at different prices.
- Portfolio returns weighted by holding size.
- Inventory valuation (weighted average cost).
Frequently asked questions
Do weights need to add up to 100?
No – the formula divides by the total weight.
What is the weighted average cost of shares?
Total spent ÷ total shares; use prices as values and share counts as weights.
Last updated 16 November 2026. Results are estimates for general information and are not financial, tax, legal or medical advice.