The ordinary mean quietly gives every number an equal vote. Course grades, GPAs, combined class averages, average prices and average speeds all break that assumption, and this page covers how to handle each of them, plus the traps that cost the most points.
What is the weighted average formula?
Here are the values and are their weights. The numerator is the weighted total, the denominator is the total weight, and the quotient is the average.
The formula has one clean origin: a weight is a count in disguise. Suppose three students scored and one scored . Averaging all four scores gives which is the formula with weights and . Percentages, credit hours and dollars invested work the same way, with the repetition made fractional.
A second picture helps for mental checks. Put the values on a number line and treat the weights as masses. The weighted average is the balance point of that seesaw, so it sits closer to the heavy values. If a result lands outside the range of the values, or on the wrong side of the heavy one, something went wrong.
Quick check
Answer: 12.5 (below 15)
How to calculate a weighted average step by step
The procedure is the same every time:
- Multiply each value by its weight.
- Add those products to get the weighted total.
- Add the weights to get the total weight.
- Divide the weighted total by the total weight.
Example 1. A course counts homework for , quizzes for , the midterm for and the final for . The scores are , , and .
| Part | Score | Weight | Product |
|---|---|---|---|
| Homework | 95 | 0.15 | 14.25 |
| Quizzes | 80 | 0.25 | 20 |
| Midterm | 70 | 0.25 | 17.5 |
| Final | 88 | 0.35 | 30.8 |
The weights add to , so the weighted average is . The plain mean of the four scores is , which overstates the grade because it gives the weak midterm the same say as the heavy final in the wrong direction. The gap grows whenever the heavily weighted category is also your weakest.
Do weights in a weighted average have to add up to 1?
No. Only the ratios between weights matter, provided you divide by their total. Weights of , and behave exactly like , and . Percent weights simply happen to sum to , so the denominator equals and disappears, which is why some textbooks drop it and why students forget it when the weights are counts.
Take scores , , with weights , , (later work counts more): Weights that run always total , a fact that comes straight from the arithmetic series formula. GPA is the same calculation: grade points are the values and credit hours are the weights, so credits of A and credits of B give .
A weighted average must fall between the smallest and largest value. If appears for scores that top out at , the wrong denominator was used.
There is also a faster hand method. Subtract a convenient base from every value, average the small deviations, then add the base back. For scores , , with weights , , , use base : Smaller numbers mean fewer arithmetic slips.
Why can you not just average two averages?

Because an average hides the size of its group. Multiplying an average by its count recovers that group’s total, and totals are what must be combined.
Example 2. Class A has students averaging . Class B has students averaging . The tempting answer is , but the correct combined average is Class B has four times as many students, so it pulls the result four times as hard.
The same rule explains Simpson’s paradox. Suppose Treatment A succeeds in of easy cases (about ) and of hard cases (about ). Treatment B succeeds in of easy cases (about ) and of hard cases (about ). A wins in both groups, yet overall A scores while B scores . An overall rate in basic probability terms is a weighted average of the group rates, and A’s weights sit mostly on the hard cases. Whenever a trend flips after combining groups, compare the weights first.
How to find the score you need on the final exam
Reverse the formula. Everything known goes on one side, and the unknown score is isolated.
Example 3. Your average is on the part of the course worth . The final is worth . To finish with : Check: and .
A faster route avoids the equation. The target is points above your current , and the final carries only of the grade, so it must be points above . In general, the needed score equals your current average plus the gap to the target divided by the final’s weight. The same reasoning shows when a goal is out of reach: for a target of , the final would need , which is impossible without extra credit.
Try this: Keep the average on of the course. Find the final score needed for an overall , then find the highest overall grade possible with a perfect on the final. (Answers: about and .)
With several unknown categories, the method is unchanged: subtract all known weighted pieces from the target, then divide by the weight of the unknown.
Quick check
Answer:
Which quantity should be the weight in average speed?
The weight must be the quantity sitting under the rate. Speed is distance per time, so speeds are weighted by time, not by distance. Getting this wrong is the classic error with rates.
A driver covers miles at mph, then another miles at mph. The plain mean says mph. The slow leg takes longer ( hours against ), so it deserves more weight: Total distance over total time confirms it: mph. When the distances are equal, the answer is the harmonic mean, .
The same logic applies to price per kilogram (weight by kilograms), miles per gallon (weight by gallons) and test-score percentages (weight by number of questions).
When a rate is one total divided by another, the correct average is . A weighted average is this idea written in pieces.
How is a weighted average related to expected value?
Expected value is a weighted average whose weights are probabilities. Because the probabilities sum to , the denominator vanishes and .
Counting gives the weights directly. For the number of heads in three coin flips there are equally likely outcomes, a result of the fundamental counting principle. The number of outcomes with heads is from combinations, namely . So The counts serve as weights, and dividing by their total, , turns them into probabilities.
Weighted average in geometry: dividing a segment
A point partway along a segment is a weighted average of its endpoints. The point a fraction of the way from to is applied separately to each coordinate. With , and : so . The midpoint is , and the centroid of a triangle is the plain average of its three vertices.
For a line, the expression is linear in , with the shape of slope-intercept form: intercept , slope . That is why estimating a value between two data points (linear interpolation) uses the same formula, and why point-slope form and weighted averaging are two descriptions of one straight-line idea.
Mixtures follow the seesaw rule: the amounts are in inverse proportion to the distances from the target. To make a solution from and solutions, the distances are and , so the amounts are in ratio . Check: .
Quick check
Answer:
When does a weighted average mislead?
The formula is only as sound as its weights and its assumptions. These limits come up most:
- Negative weights break the “between the values” guarantee, and weights summing to make the division undefined.
- A large weight on one unusual value lets a single outlier dominate the result.
- Growth rates compound, so they need a geometric mean. A year followed by a year averages arithmetically, but is a real loss. The per-year factor is , and logarithm rules explain why: a geometric mean is an ordinary average of logarithms.
- The average says nothing about spread. Scores of and share a mean of , which is why standard deviation is reported alongside it, and it can be weighted too.
Finally, weights chosen by feel are opinions dressed as arithmetic. When a formula looks surprising, ask what each weight represents and whether it matches the question.
Practice problems
0 of 5 solved
- A quiz score of counts for of a grade and a project score of counts for . What is the weighted average?
Answer:
Step 1: Multiply each score by its weight: and . Step 2: Add the products: . Step 3: The weights sum to , so no division is needed. - A shop sells items at dollars each, items at dollars each and item at dollars. What is the weighted average price per item?
Answer: 3.40 dollars
Step 1: Weighted total: . Step 2: Total weight (items): . Step 3: , so the average price is 3.40 dollars. - Class A has students with an average of . Class B has students with an average of . What is the combined average?
Answer:
Step 1: Recover each class total: and . Step 2: Add the totals: . Step 3: Divide by students: . - Your average is on the part of a course worth of the grade. The final exam is worth the other . What must you score on the final to finish with overall?
Answer:
Step 1: Write . Step 2: , so . Step 3: . - How many liters of a solution must be mixed with a solution to make liters of a solution?
Answer: 6 liters of the 20% solution
Step 1: Let be liters of the solution, so liters are . Step 2: gives . Step 3: , so . Check: .
Common questions
What is the formula for a weighted average?
Multiply each value by its weight, add the products, then divide by the sum of the weights: . When the weights are percentages that add to , the division can be skipped.
What is the difference between a weighted average and a simple average?
A simple average gives every value the same influence. A weighted average lets some values count more, so it is the right tool when groups have different sizes or categories have different importance.
Do the weights have to add up to 100 percent?
No. Only the ratios between weights matter, as long as you divide by their total. Weights of , and give the same result as , and .
How do you calculate a weighted average in Excel or Google Sheets?
In Excel, use SUMPRODUCT(values, weights)/SUM(weights). Google Sheets has the same approach and also offers an AVERAGE.WEIGHTED function.
How do you find a weighted average of percentages?
Weight each percentage by the size of the group it came from, such as the number of students or dollars. Averaging the percentages directly only works when every group has the same size.
Can a weighted average be higher than every value?
No, not with non-negative weights. The result always lies between the smallest and largest value, which makes a quick and reliable check on your answer.