Weighted Average — The Intuition First
Imagine you have two test scores: a quiz where you scored 90/100, and a final exam where you scored 70/100. If you just take the ordinary average, you get (90+70)/2=80. But what if the final exam is more important than the quiz? Maybe the final counts for 80% of your grade and the quiz for only 20%. Then your final grade should reflect that importance — it should be pulled much closer to 70 than to 90.
That's the core idea of a weighted average: not every data point contributes equally. Some matter more, some matter less. The "weight" tells you how much each value should count.
In an ordinary average, every value has the same weight — it's just a special case of a weighted average where all weights are equal.
The Precise Statement
A weighted average of a set of numbers x1,x2,…,xn is computed by multiplying each number by its corresponding weight w1,w2,…,wn, summing those products, and then dividing by the sum of the weights.
Weighted Average=w1+w2+⋯+wnw1x1+w2x2+⋯+wnxn
The weights are usually positive numbers. They don't have to add up to 1 — the division by the total weight takes care of that automatically. But often, for convenience, we choose weights that do sum to 1 (like percentages that add to 100%). In that case, the formula simplifies to just:
Weighted Average=w1x1+w2x2+⋯+wnxn
The Grade Example Worked Out
Let's apply it to the quiz and final exam:
- Quiz: x1=90, weight w1=20 (or 0.20)
- Final: x2=70, weight w2=80 (or 0.80)
Using the general formula (weights as 20 and 80):
20+8020×90+80×70=1001800+5600=1007400=74
Your weighted average is 74, not 80. The final exam's larger weight pulled the average down toward 70.
Using the simplified formula with weights that sum to 1 (0.20+0.80=1):
0.20×90+0.80×70=18+56=74
Same result.
Why This Matters
Weighted averages appear everywhere in exams and real life:
- Final grades — different assignments have different weightage
- Economics — the Consumer Price Index weights different goods by how much people spend on them
- Physics — center of mass is a weighted average of positions, weighted by mass
- Statistics — when data comes from groups of different sizes, you weight each group's average by its size
A common mistake is to take an ordinary average of percentages that come from different-sized groups. For example, if 80% of Class A (50 students) pass and 60% of Class B (200 students) pass, the overall pass percentage is not (80+60)/2=70%. You must weight by class size: 50+20050×80+200×60=2504000+12000=64%.
One More Example — Different Weights, Same Idea
Suppose you buy three items: 2 kg of rice at ₹40/kg, 3 kg of dal at ₹60/kg, and 1 kg of sugar at ₹50/kg. What is the average price per kg?
You cannot just average ₹40, ₹60, and ₹50 — you bought different quantities. The quantity is the weight.
2+3+12×40+3×60+1×50=680+180+50=6310≈51.67
The weighted average price is about ₹51.67 per kg.
Weighted average is simply: each value gets to vote, but not everyone's vote counts the same. The weight is the number of votes.