Weighted Average Calculator
Find the weighted average of any list: course marks with different weightings, grades with credit hours, the average price of shares bought at different prices, or survey scores. Enter each value with its weight and see the result, the total weight and every step of the working.
| Item (optional) | Value | Weight | Remove |
|---|---|---|---|
Weights can be credits, hours, quantities or percentages (add % if you like). They do not have to add up to 100.
- Weighted average
- 77.3
- Total of weights
- 100
- Plain average (ignoring weights)
- 75.666667
Formula: Σ(value × weight) ÷ Σ(weight).
Working
- Assignments: 78 × 20 = 1,560 (20% of the total weight)
- Mid-term: 64 × 30 = 1,920 (30% of the total weight)
- Final exam: 85 × 50 = 4,250 (50% of the total weight)
- Sum of value × weight = 7,730
- Weighted average = 7,730 ÷ 100 = 77.3
About Weighted Average Calculator
Weighted Average Calculator gives each number an importance before averaging it. In an ordinary mean every entry counts equally. Here each value is multiplied by its weight, the products are added, and the total is divided by the sum of the weights.
Weights can be anything that measures importance: percentages from a syllabus, credit hours, units bought, days, or votes. Because the result divides by the total weight, the weights do not have to reach 100 or 1. Typing 1, 1 and 2 gives exactly the same answer as 25%, 25% and 50%.
When to use it
- Your course grade is made of coursework, a mid-term and a final exam, each worth a different share.
- You bought the same share or mutual fund several times at different prices and want your average cost.
- You need a grade point average where each subject carries a different number of credits.
Worked example
A student scores 78 in assignments worth 20%, 64 in a mid-term worth 30% and 85 in a final worth 50%. The products are 15.6, 19.2 and 42.5, which add up to 77.3. The weights total 100, so the weighted average is 77.3. The plain average of 78, 64 and 85 would be 75.666667, lower because the strong final exam counts for more.
For shares: 40 bought at 210 and 60 bought at 190 give (8,400 + 11,400) ÷ 100 = 198 per share.
Good to know
- A weight of 0 leaves a row out of the result but keeps it visible, which is handy for “what if I skip this test” questions.
- Negative weights are rejected, since they rarely make sense and can produce misleading answers.
- If you type percentages that do not total 100%, a warning appears. The number is still mathematically right for what you entered, but a missing row is the usual cause.
- Need the median, mode or range of plain numbers instead? Use the Average Calculator.
How to use Weighted Average Calculator
- Enter each value and its weight on its own row (the item name is optional).
- Add or remove rows as needed. Weights can be plain numbers or percentages.
- Read the weighted average and check the working below it.
Privacy: how it works
Calculations run in your browser. Nothing you type is sent anywhere.
Frequently asked questions
Do the weights have to add up to 100?
No. The calculator divides by the total of the weights, so 2, 3 and 5 give the same answer as 20%, 30% and 50%. If you type percentages that do not total 100%, it warns you in case a row is missing.
How is this different from a normal average?
A normal average counts every value once. A weighted average counts each value as many times as its weight, so a final exam worth 50% moves the result more than a quiz worth 10%. Both are shown so you can compare.
Can I use it for my average share price?
Yes. Enter each purchase price as the value and the number of shares as the weight. The result is the average cost per share, before brokerage and taxes.