An ordinary mean treats every value equally. A weighted mean lets some values count more than others: a final exam worth 40% of the course should influence the overall grade more than a quiz worth 5%, a course of 5 credits more than one of 2, and a survey response from an under-represented group more than one from an over-represented group. Each value is multiplied by its weight, the products are added and the total is divided by the sum of the weights.
The weights do not have to add up to 100 or to 1, because the calculator divides by whatever they add up to, so percentages, credit hours or counts all work. If every weight is the same, the weighted mean equals the ordinary mean. The table shows each item’s share of the total weight and how many points it contributes, which makes it easy to see which assessment drives the result.
For grades there is one more useful question: what do I need on the remaining work to reach my target? Enter the weight of the work still to come and your target average, and the calculator solves for the score required.
How to use the Weighted Mean Calculator
- Values (e.g. grades)
- Weights (same order, e.g. % of the course or credits)
- Weight of remaining work (optional): Leave 0 if everything is already graded.
- Target overall average
Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.
How it works
Multiply each value by its weight, sum the products and divide by the total weight. The weighted variance averages the squared deviations from the weighted mean with the same weights. For the target grade, the required score s solves (Σwx + w_rest·s) ÷ (W + w_rest) = target.
Worked example
A student has four graded assessments: 88 (weight 15%), 92 (25%), 79 (20%) and 95 (20%); the final exam (20%) is still to come. Σwx = 1,320 + 2,300 + 1,580 + 1,900 = 7,100 and Σw = 80, so the current weighted mean is 7,100 ÷ 80 = 88.75 (the unweighted mean is 88.5). To finish with 90 overall the student needs (90 × 100 − 7,100) ÷ 20 = 95 on the final. The weighted standard deviation of the four grades is 6.08.
Common uses of weighted means
| Use | Values | Weights |
|---|---|---|
| Course grade | assessment scores | % of the course |
| GPA | grade points | credit hours |
| Portfolio return | asset returns | amount invested |
| Price index | price changes | spending shares |
| Survey estimate | responses | sampling weights |
Formula
x̄_w = Σwᵢxᵢ ÷ Σwᵢ · weighted variance = Σwᵢ(xᵢ − x̄_w)² ÷ Σwᵢ · needed = (target × (W + w_rest) − Σwx) ÷ w_rest
Worked example
Inputs: Values (e.g. grades): 88, 92, 79, 95; Weights (same order, e.g. % of the course or credits): 15, 25, 20, 20; Weight of remaining work (optional): 20; Target overall average: 90.
Results: Weighted mean = 88.75; Total weight = 80; Sum of value × weight = 7,100; Unweighted mean (for comparison) = 88.5; Weighted variance = 36.9375; Weighted standard deviation = 6.0776.
Key terms
- Weighted mean
- Σwx ÷ Σw, an average in which values count in proportion to their weights.
- Weight
- The importance assigned to a value (percentage, credits, count).
- Contribution
- w·x ÷ Σw, the points an item adds to the weighted mean.
- Weighted variance
- Σw(x − x̄_w)² ÷ Σw.
Frequently asked questions
How do I calculate a weighted mean?
Multiply each value by its weight, add the products and divide by the sum of the weights.
What is the weighted average of grades 88, 92, 79, 95 with weights 15, 25, 20, 20?
(88·15 + 92·25 + 79·20 + 95·20) ÷ 80 = 7,100 ÷ 80 = 88.75.
Do the weights have to add up to 100%?
No. The calculator divides by their actual total, so 15, 25, 20, 20 (total 80) works as well as percentages that add up to 100.
Is a weighted mean the same as a weighted average?
Yes, the two terms mean the same thing.
What if all weights are equal?
The weighted mean reduces to the ordinary mean.
How do I find the grade I need on the final?
Enter the final's weight as "remaining work" and your target. With the example, a 90 overall needs (90 × 100 − 7,100) ÷ 20 = 95 on the final.
How is GPA a weighted mean?
Each course's grade points are weighted by its credit hours: GPA = Σ(credits × points) ÷ Σcredits.
How do I compute a weighted mean in Excel?
=SUMPRODUCT(values, weights)/SUM(weights).