Weighted Average Calculator
An average from values and weights, such as a final grade or average purchase price.
- Plain average (unweighted)
- 78.75
- Total weight
- 100
- Weighted standard deviation
- 4.6947
Contribution of each row
| Label | Value | Weight share (%) | Contribution |
|---|---|---|---|
| #1 | 85 | 20 | 17 |
| #2 | 78 | 10 | 7.8 |
| #3 | 72 | 30 | 21.6 |
| #4 | 80 | 40 | 32 |
Formula and sources
Weighted average = Σ(value × weight) ÷ Σweight Row contribution = value × weight ÷ Σweight Weighted standard deviation = √(Σ weight × (value − mean)² ÷ Σweight)
- Weighted mean — introductory statistics
When to use the Weighted Average
A final grade from weighted parts
Weights of 20% assignments, 10% quizzes, 30% midterm and 40% final exam, as in the example, give a different result from a plain average. The contribution table shows which part matters most.
Average purchase price
Bought goods or shares several times at different prices and quantities? Enter the price as the value and the quantity as the weight to get the true average price.
Combined average of several classes
To combine class averages with different class sizes, enter each class average as the value and the number of students as the weight.
Weights need not add to 100
Weights are normalised automatically, so they can be percentages, credits or quantities. The weight-share column shows each row's actual percentage.
Frequently asked questions
How does a weighted average differ from a plain one?
A plain average gives every value the same pull. A weighted average gives each value a pull in line with its weight, so heavily weighted values matter more.
How is a GPA calculated?
A GPA is a weighted average of grade points with credits as weights: enter each course's grade points as the value and its credits as the weight.
Can a weight be zero?
Yes; that row then has no effect. The weights must still add up to more than zero.
How do I find my average share price after buying more?
Enter each purchase with the price per share as the value and the number of shares as the weight. The weighted average is your average holding price before fees.
What does the weighted standard deviation mean?
It measures how far the values spread around the weighted average, with heavily weighted rows counting more. A small value means the parts are fairly uniform.
Related calculators
- Descriptive StatisticsMean, median, mode, quartiles, variance and standard deviation from pasted data.Example: Mean80.666667Calculate →
- Grouped DataMean, median, mode, quartiles and variance from a frequency table.Example: Mean69.25Calculate →
- PercentageX% of Y, percentage change, adding or removing a percent, and the value before a percent.Example: Increase15%Calculate →