Weighted Average Calculator
Enter each value and its weight on its own line to get the weighted average, the plain average for comparison, and how much each row counts toward the result.
How to use the weighted average calculator
Type one value and its weight per line, separated by a space or comma, for example 92 30 for a 92 that counts 30%. Weights can be percentages, credit hours, quantities or dollar amounts; they don't need to add up to 100.
The formula
Weighted average = Σ(value × weight) ÷ Σ(weight)
Multiply each value by its weight, add the products, then divide by the total weight.
Example: a course grade
| Category | Score | Weight | Score × weight |
|---|---|---|---|
| Homework | 92 | 30% | 2,760 |
| Quizzes | 85 | 20% | 1,700 |
| Midterm | 78 | 25% | 1,950 |
| Final project | 88 | 25% | 2,200 |
| Total | 100 | 8,610 |
Weighted average: 8,610 ÷ 100 = 86.1. The simple average of the four scores is 85.75; the heavier homework weight pulls the result up.
Example: average cost per share
| Purchase | Price per share | Shares |
|---|---|---|
| January | $50 | 100 |
| March | $40 | 50 |
| June | $60 | 25 |
Weighted average price: (50×100 + 40×50 + 60×25) ÷ 175 = 8,500 ÷ 175 = $48.57 per share. The simple average of the three prices ($50) overstates it because fewer shares were bought at $60.
Other common uses
- GPA: grade points weighted by credit hours.
- Portfolio return: each fund's return weighted by the dollars invested.
- Average speed over a trip: each leg's speed weighted by time spent, not distance.
- Survey ratings: each rating weighted by how many people chose it.
- Inventory cost: unit cost weighted by quantity on hand.
Weighted vs. simple average
A simple average treats every value equally, which is right only when each one counts the same. Whenever items have different importance, size or frequency, the weighted average is the accurate one. For a plain average, median and mode, see the mean, median and mode calculator.
Frequently asked questions
How do I calculate a weighted average?
Multiply each value by its weight, add those products, and divide by the sum of the weights.
Do the weights have to add up to 100%?
No. The formula divides by the total weight, so weights of 3, 2 and 1 work the same as 50%, 33.3% and 16.7%.
How do I calculate my grade with weighted categories?
Multiply each category average by its weight, add them up and divide by the total weight of the categories you've completed.
What's the difference between weighted and simple average?
A simple average gives every value equal importance; a weighted average lets some values count more than others.