Weighted Average Calculator
| Label (optional) | Value / Score | Weight |
|---|
What Is a Weighted Average?
A weighted average gives different items different levels of importance when calculating a mean. Unlike a regular average, it does not treat every value equally — a final exam worth 40% of your grade matters far more than a quiz worth 5%. The weighted mean formula multiplies each value by its weight, sums the products, then divides by the total weight.
The formula looks like this: Weighted Mean = Σ(value × weight) / Σ(weight). When all weights are equal, the weighted mean reduces to the ordinary arithmetic mean. The concept appears everywhere from university grade books to bond pricing in finance and sample-size adjustments in survey research.
For a deeper look at the math behind this formula, the full weighted mean guide on this site covers the derivation, common pitfalls, and a comparison with the arithmetic mean.
How to Calculate a Weighted Average — Step by Step
The worked example below uses a typical four-component course grade: Final Exam (88, weight 40%), Midterm (75, weight 30%), Homework (92, weight 20%), Quizzes (85, weight 10%).
Final Exam: 88 | Midterm: 75 | Homework: 92 | Quizzes: 85
Weights: 40%, 30%, 20%, 10%
Final Exam: 88 × 40 = 3,520 Midterm: 75 × 30 = 2,250 Homework: 92 × 20 = 1,840 Quizzes: 85 × 10 = 850
3,520 + 2,250 + 1,840 + 850 = 8,460
40 + 30 + 20 + 10 = 100
The weighted mean of the four scores, given those weights, is 84.60.
Tip: enter these exact values into the calculator above (use the Course Grade preset) and you will see these same five steps generated automatically, along with the contribution breakdown for each component.
Notice that the regular arithmetic average of the four scores — (88 + 75 + 92 + 85) / 4 — is 85.00, slightly higher than 84.60. The difference arises because the largest weight (40%) belongs to the second-lowest score (88). Whenever the highest weights do not align with the highest values, the weighted average falls below the regular average.
Weighted Average Formula
The weighted mean formula is Σ(v × w) / Σ(w), where v is each value and w is its corresponding weight. The denominator normalises the result, which means the formula works correctly whether you enter weights as percentages, decimal proportions, or raw numbers like credit hours.
General Formula
𝐅 = Σ(v₁w₁ + v₂w₂ + ... + vₙwₙ)
∕ (w₁ + w₂ + ... + wₙ)
vₙ = value of the nth item
wₙ = weight of the nth item
Course Grade Example
(88×40 + 75×30 + 92×20 + 85×10)
∕ (40 + 30 + 20 + 10)
= 8,460 ∕ 100
= 84.60
Excel Formula
=SUMPRODUCT(B2:B5, C2:C5)
/ SUM(C2:C5)
B2:B5 = values column
C2:C5 = weights column
Credit Hours (GPA) Example
Scores: A(4.0), B(3.0), A(4.0)
Hours: 3, 4, 3
(4.0×3 + 3.0×4 + 4.0×3)
∕ (3 + 4 + 3)
= 36 ∕ 10 = 3.60 GPA
Weighted Average vs. Regular Average
The simplest way to see the difference is through the same four scores. Using the regular average: (88 + 75 + 92 + 85) / 4 = 85.00. Using the weights above (40%, 30%, 20%, 10%): the weighted mean is 84.60. The gap is small here, but grows sharply when weights are very unequal or when the high-weight items have much lower (or higher) scores than the low-weight items.
| Situation | Use Regular Average | Use Weighted Average |
|---|---|---|
| All items matter equally | Yes | Not needed |
| Course grades with different exam weights | No | Yes |
| GPA across courses with different credit hours | No | Yes |
| Portfolio return with different allocation sizes | No | Yes |
| Survey means with unequal group sizes | No | Yes |
| Average price of identical items | Yes | Not needed |
One practical rule: if the thing you are averaging has an explicit importance factor attached to it (a credit value, an allocation percentage, a sample size), that factor is your weight. When no such factor exists, a regular mean is usually the right tool. For a broader discussion of how the mean relates to weighted calculations, the mean guide and the mean examples page both cover the connection clearly.
Real-World Examples
Course Grade
The Course Grade preset in the calculator above already shows this calculation in full. With a final exam at 88 (40%), a midterm at 75 (30%), homework at 92 (20%), and quizzes at 85 (10%), the weighted mean is 84.60. Compare that to the raw average of 85.00 — the 0.40-point drop comes entirely from the highest weight going to a below-average score.
Investment Portfolio
Weighted return = (12 × 50 + 8 × 30 + 5 × 20) / (50 + 30 + 20) = (600 + 240 + 100) / 100 = 9.40%
The simple average of 12, 8, and 5 is 8.33% — a full percentage point lower because it ignores the fact that half the portfolio sits in the highest-returning asset.
Survey Research
Three demographic groups reported customer satisfaction scores: Group A (n = 500, score = 7.2), Group B (n = 300, score = 6.8), Group C (n = 200, score = 8.1). Weighting by sample size gives a mean of (7.2×500 + 6.8×300 + 8.1×200) / 1000 = 7.24. The unweighted average of 7.37 overstates satisfaction because it treats the small group (n = 200) as equally influential as the large group (n = 500). This is the scenario the weighted mean guide explores for research applications. See also how population vs. sample considerations can affect which weights to choose.
Frequently Asked Questions
What is the difference between a weighted average and a regular average?
How do I calculate a weighted average in Excel?
=SUMPRODUCT(B2:B5, C2:C5) / SUM(C2:C5), where B2:B5 holds your values and C2:C5 holds your weights. SUMPRODUCT multiplies each value by its corresponding weight and sums all the products. Dividing by SUM(C2:C5) normalises the result. This is the same calculation this calculator performs for every preset.What does a weighted average GPA mean?
Can weights be percentages, credit hours, or raw numbers?
Why is my weighted average different from my regular average?
What happens if my weights do not add up to 100%?
Is a weighted mean the same as a weighted average?
Related Calculators & Guides
The weighted average is one tool within descriptive statistics. These pages cover the concepts and calculations that connect directly to weighted means.