A weighted average lets some observations count more than others. Multiply each value by its weight, add the products, and divide by the total weight. Weights can represent course credits, quantities, group sizes, or a grading scheme.
A plain average gives every value the same influence. That is appropriate when the observations should count equally, but it can mislead when the values represent very different amounts of data.
The weighted average formula
Weighted average = sum of (value × weight) ÷ sum of weights
Keep each weight paired with the correct value. For ordinary averaging, use nonnegative weights and a positive total weight. A zero weight gives an observation no influence.
Example 1: calculate a course grade
Suppose homework is worth 30% of a course, the midterm 30%, and the final exam 40%.
| Component | Score | Weight | Weighted contribution |
|---|---|---|---|
| Homework | 85 | 0.30 | 25.5 |
| Midterm | 78 | 0.30 | 23.4 |
| Final exam | 92 | 0.40 | 36.8 |
| Total | — | 1.00 | 85.7 |
Divide 85.7 by 1.00. The weighted grade is 85.7%. The plain average is (85 + 78 + 92) ÷ 3 = 85%. The results differ because the final exam has more influence.
Use the Weighted Average Calculator with values 85, 78, 92 and matching weights 30, 30, 40. The result should be 85.7. The dedicated Grade Average Calculator is also suitable when the grade weights total 100%.
Do weights have to add up to 100?
No. General weighted averages divide by whatever positive total weight you provide. Weights of 3, 3, 4 give the same result as 30, 30, 40 or 0.3, 0.3, 0.4 because the ratios are identical.
Keep the units consistent. Combining 30, 0.30, and 40 would mix percentage-style weights with decimal weights and change their relative influence. A grade-specific tool may deliberately require 100% even though the general formula does not.
Example 2: combine averages from unequal groups
One class has 10 students and an average score of 80. Another has 30 students and an average of 60. Each student should count equally, so weight the class averages by student count.
Combined average = (80 × 10 + 60 × 30) ÷ 40 = 2,600 ÷ 40 = 65.
Taking (80 + 60) ÷ 2 gives 70, which wrongly gives the smaller class the same influence as the larger one. This combination works when the groups are separate and their averages measure the same thing on the same scale.
Avoid these common mistakes
- Using unsuitable weights: choose the denominator behind the values. To combine hit rates, use at-bats, not the number of teams.
- Counting missing grades as zero: a missing assessment and a genuine zero score are different. Follow the course rules.
- Normalizing unfinished work without explanation: an average over completed assessments is a current grade, not necessarily the final course grade.
- Rounding early: retain precision in intermediate products.
Check whether your answer makes sense
With nonnegative weights, the result must lie between the smallest and largest values that have positive weight. It should move toward a value when that value’s weight increases. If all weights are equal, it matches the arithmetic mean.
For a practical credit-weighted example, read how to calculate GPA. For choosing a center when observations are equally weighted, see mean versus median.
Try the calculator
Open the Weighted Average Calculator to check your own values and weights.