Understanding Weighted Averages
The weighted average differs fundamentally from a simple mean. When all values matter equally, you sum them and divide by count. But in real situations, some values carry more significance than others.
Consider a student whose exam grade is twice as important as a quiz score, or an investor whose portfolio contains stocks of varying dollar amounts. In both cases, a standard average would misrepresent the true result.
The weight represents relative importance, often expressed as:
- Percentages (e.g., 60% exam, 40% coursework)
- Raw multipliers (e.g., a 3-credit course vs. a 1-credit course)
- Frequencies or quantities (e.g., buying 5 units at one price and 3 units at another)
By assigning weights, you ensure that more important or frequent values have greater influence on the final result.
Weighted Average Formula
The weighted average is calculated by multiplying each value by its weight, summing those products, and dividing by the total of all weights:
Weighted Average = (w₁ × x₁ + w₂ × x₂ + … + wₙ × xₙ) ÷ (w₁ + w₂ + … + wₙ)
x₁, x₂, …, xₙ— The individual values being averagedw₁, w₂, …, wₙ— The weight assigned to each corresponding value
Common Applications
Grade Point Average (GPA) uses course credits as weights. A 4-credit course has twice the impact of a 2-credit course on your overall GPA, even if both receive the same letter grade.
Cost per unit calculations apply quantities as weights. If you buy 10 kilograms of rice at $2/kg and 5 kilograms at $3/kg, your average cost per kilogram is not simply $2.50; it's weighted by quantity.
Portfolio performance weights investments by amount invested. A portfolio with $50,000 in one stock and $10,000 in another should not treat both holdings equally when calculating overall returns.
Test score aggregation often assigns different weights to exams, quizzes, and assignments based on what an instructor believes reflects student mastery.
Practical Considerations
Keep these important points in mind when calculating weighted averages:
- Verify Your Weights Sum Correctly — Weights should sum to 100% if expressed as percentages, or to some consistent total if using other formats. An error here will skew your entire calculation. Always double-check this before interpreting your result.
- Ensure Consistent Units — Values and weights must be in compatible units. If using percentages as weights, confirm all percentages are for the same denominator. Mixing different weighting schemes (some as percentages, others as raw counts) will produce meaningless results.
- Document Your Weighting Rationale — The same dataset can yield different weighted averages depending on how weights are assigned. Document why you chose specific weights, especially in academic or financial contexts where decisions depend on accuracy.
Weighted vs. Simple Average
A simple average treats all values as equally important. For example, the mean of 10, 20, and 30 is (10 + 20 + 30) ÷ 3 = 20.
The weighted average assigns significance. If those same values had weights of 1, 2, and 3 respectively, the result would be (1×10 + 2×20 + 3×30) ÷ (1 + 2 + 3) = 140 ÷ 6 ≈ 23.33.
Notice how the heaviest-weighted value (30) pulls the average upward. In many real scenarios—especially education and finance—the weighted approach provides a more accurate picture than treating all observations as interchangeable.