On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Statistics · Grade 6-8

Weighted Average

A weighted average is an average in which different values contribute unequally based on their assigned weights, reflecting the relative importance or frequency of each value.

xˉw=∑wixi∑wi

Quick Answer

A weighted average is an average in which different values contribute unequally based on their assigned weights, reflecting the relative importance or frequency of each value. Multiply each value by its weight, add the products, then divide by the total of the weights: xˉw=∑wixi∑wi. Use it when some numbers should count more than others: a final exam worth 50% of a grade, a 4-credit class next to a 1-credit class, or 30 items at one price mixed with 70 at another. The answer always lands between the smallest and largest value, nearest the heavily weighted ones.

Why This Matters

Many everyday averages are weighted even when nobody says so: a course grade, a GPA, the price per kilogram of a mixed bag of nuts, a player's points per game over seasons of different lengths. A plain average gives the wrong number in all of these. With a final worth 50% and two quizzes worth 25% each, scores of 95, 70 and 70 give 82.5, not the 78.3 a plain average suggests.

Intuitive Explanation

Your teacher counts tests as 70% of the grade and homework as 30%. You score 60 on tests and 100 on homework. The plain average of 60 and 100 is 80, but that treats both parts as equally important. Weighted, the grade is 0.7(60)+0.3(100)=42+30=72. The result lands closer to 60, because the tests carry more of the weight.

That is all the formula says: multiply each value by its weight, add up the products, and divide by the total weight, not by how many values there are. When the weights are percents that add to 100% (or decimals that add to 1), the division changes nothing, which is why grade calculators often skip it. When the weights are counts, such as numbers of students or kilograms, the division is essential.

A plain mean is just a weighted average in which every weight is 1. The trap is averaging averages. If a class of 10 students averaged 90 on a test and a class of 30 averaged 70, the average of all 40 students is not 80. The larger class counts three times as much: 10(90)+30(70)40=300040=75. Whenever groups of different sizes are combined, the sizes are the weights.

Think of it like this. A weighted average is the balance point of a ruler loaded with stacks of coins: put a tall stack at 90 and a short one at 70 and the ruler balances nearer 90. Equal stacks balance exactly halfway. However the coins are arranged, the balance point can never fall outside the outermost stacks.

Core idea. Each value pulls the average toward itself in proportion to its weight, so the result is the sum of value times weight divided by the sum of the weights.


When to Use

Use a weighted average when values do not count equally: categories with percent weights (tests 60%, homework 40%), credits or hours, or groups of different sizes being combined, such as two classes or two batches at different prices. A frequency table is also a weighted average, with each value weighted by how often it occurs. If every value counts once and equally, the plain mean is enough; if a few extreme values distort the center, consider the median.

Tip. Ask: Do some values count more than others, through percent weights, credits or group sizes?

How to Recognize It

Before averaging, check whether each number comes with a second number that says how much it should count.

  1. Does each value come with a weight, such as a percent of the grade, a number of credits or a group size?

    Yes is a weighted average. If every value counts once, a plain Mean as Fair Share is enough.

  2. Are you combining averages from groups of different sizes, like a class of 20 and a class of 30?

    Yes needs the group sizes as weights; averaging the two class averages directly is wrong unless the groups are equal. With one group of raw values, use the Mean as Fair Share.

  3. Are the weights probabilities that add to 1, for the outcomes of a chance event?

    Then it is a special weighted average, the Expected Value. If the weights are importance or counts, it is an ordinary weighted average.

Weighted Average vs Mean as Fair Share vs Expected Value

All three are averages that multiply and divide, so they look alike on paper. Ask what the extra numbers are: none, so every value counts once; weights for importance or size; or probabilities of outcomes.

Weighted Average

Meaning
A weighted average multiplies each value by its weight, adds the results, and divides by the total weight.
Key test
Each value carries its own weight, and the weights need not add to 1.
Formula
xˉw=w1x1+w2x2+⋯+wnxnw1+w2+⋯+wn
Example
Homework 90 with weight 1 and tests 75 with weight 3: 90+3×754=78.75.

Mean as Fair Share

Meaning
The plain mean treats every value equally, which is a weighted average with all weights equal to 1.
Key test
No weights are given; divide the total by the count.
Formula
xˉ=∑xn
Example
Scores of 90 and 75 counted once each have a mean of 82.5.

Expected Value

Meaning
The expected value is a weighted average of possible outcomes in which the weights are their probabilities.
Key test
Weights are probabilities summing to 1, and outcomes come from chance.
Formula
E(X)=∑x⋅P(x)
Example
A game paying $0 with probability 0.7 and $5 with probability 0.3 has an expected value of $1.50.

Formula & Notation

xˉw=∑wixi∑wi
Given values x1,x2,…,xn with corresponding positive weights w1,w2,…,wn, the weighted average is xˉw=∑i=1nwixi∑i=1nwi. When all wi=1, this reduces to the arithmetic mean.

Worked Examples

Example 1 — A course grade with three categories

Easy

A course counts tests 50%, quizzes 30% and homework 20%. Kai's averages are tests 78, quizzes 85, homework 96. What is his course grade?
Show the steps and the answer
  1. Multiply each score by its weight: 0.5×78=39, 0.3×85=25.5, 0.2×96=19.2.

    Each product is how many grade points that category contributes.

  2. Add the products: 39+25.5+19.2=83.7.

    The contributions together make up the whole grade.

  3. Divide by the total weight: 0.5+0.3+0.2=1, so the grade stays 83.7.

    The weights already add to 1 (100%), so this division changes nothing here.

  4. Check: 83.7 lies between 78 and 96 and below the plain average of 86.3.

    The heavily weighted test score of 78 should pull the grade down, and it does.

Answer: Kai's course grade is 83.7.

Takeaway: Multiply, add, divide by the total weight; the answer should lean toward the value with the biggest weight.

Example 2 — Average speed: the weights are hidden

Standard

Maya bikes 12 km to her grandmother's at 12 km/h and rides the same 12 km home at 24 km/h. What is her average speed for the whole trip?
Show the steps and the answer
  1. Notice the tempting answer: the plain average of 12 and 24 is 18 km/h.

    That treats both speeds as equally important, but she does not spend equal time at each.

  2. Find each time: there, 1212=1 h; back, 1224=0.5 h.

    Average speed is total distance over total time, so time is what each speed must be weighted by.

  3. Weight each speed by its time: 1(12)+0.5(24)1+0.5=241.5=16 km/h.

    This is the same as total distance 24 km divided by total time 1.5 h.

Answer: Her average speed is 16 km/h, not 18 km/h.

Takeaway: Before averaging, ask what each value should be weighted by; for speeds over a trip, the weights are the times.

Example 3 — Find the mistake: dividing by the wrong total

Application

A shop mixes 4 kg of nuts costing $9 per kg with 6 kg costing $14 per kg. Sam writes: '(4 × 9 + 6 × 14) ÷ 2 = (36 + 84) ÷ 2 = 60, so the mix costs $60 per kg.' Find the mistake and correct it.
Show the steps and the answer
  1. Check the top: 4×9+6×14=36+84=120, the total cost in dollars.

    Sam's products are right: they give the cost of all the nuts together.

  2. Spot the error: Sam divided by 2, the number of kinds of nuts.

    A weighted average divides by the total weight, here the total kilograms, not the number of values.

  3. Divide by the total weight: 4+6=10 kg, so 12010=12 dollars per kg.

    Total cost over total kilograms is the price per kilogram of the mix.

  4. Check: $12 lies between $9 and $14, nearer $14.

    There is more of the $14 nuts, so the mix should cost more than the halfway price of $11.50; $60 is impossible.

Answer: The mix costs $12 per kg.

Takeaway: Divide by the sum of the weights; a weighted average outside the range of the values is a sure sign of a mistake.

Where You'll See It

  • Report-card grade

    Tests count 60% and homework 40%. If you have 90 on tests and 70 on homework, your grade is 0.6×90+0.4×70=82, not the simple average of 80 — the heavier test weight pulls it up.

  • GPA across classes

    A 5-credit class and a 1-credit class should not count equally. GPA is a weighted average where each grade is weighted by its credit hours, so the big class influences your GPA more.

  • Mixing two batches of candy

    Mix 30 candies at $2 each with 70 candies at $5 each. The average price per candy is 30×2+70×530+70=410100=$4.10, weighted by how many candies are at each price — not the plain $3.50.

Common Mistakes

  1. The slip: Add up the weighted values but divide by the number of items instead of the sum of the weights.

    Why it's tempting: A normal average divides by the count, so that step feels automatic. But in a weighted average the denominator must be the total of the weights.

    Instead: Use xˉw=∑wixi∑wi — divide by the sum of the weights. If the weights are 0.6 and 0.4, the denominator is 1; if they are 30 and 70, it is 100.

  2. The slip: The weighted average is always closer to the value you 'like' most.

    Why it's tempting: Students assume the answer should land near a favorite number. But the weighted average is pulled toward whichever value carries the larger weight, regardless of size.

    Instead: The weighted average lands closer to the value with the bigger weight. Check: which value has the most weight? The answer should sit near it.

  3. The slip: Weights and values are interchangeable, so it doesn't matter which number you multiply by which.

    Why it's tempting: Both are just numbers in the formula, so swapping them looks harmless. But weights say 'how much each value counts,' which is a different role than the value itself.

    Instead: Multiply each value xi by its own weight wi, then divide by ∑wi. The weight is the importance/frequency; the value is what is being averaged — keep them in their roles.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. In a class, tests count 60% and homework counts 40%. A student's test average is 80 and homework average is 95. What is the final grade?

    Hint: Multiply each average by its weight, then add.

  2. A shop sells 30 shirts at $10 each and 10 shirts at $20 each. What is the average price per shirt sold?

    Hint: Find the total money and the total number of shirts.

  3. A student gets an A (4 points) in a 3-credit class, a B (3 points) in a 4-credit class, and a C (2 points) in a 1-credit class. What is the GPA?

    Hint: The credits are the weights.

  4. You mix 2 L of juice that is 10% sugar with 3 L of juice that is 20% sugar. What percent sugar is the mixture?

    Hint: Weight each sugar percent by its volume.

  5. Class A (20 students) averaged 80 on a test and Class B (30 students) averaged 70. You want the average for all 50 students. Use a simple mean of 80 and 70, or a weighted average?

    Hint: Do both classes have the same number of students?

  6. A quiz score of 80 has weight 1 and a test score of 90 has weight 3. A student computes 80×1+90×3=350, then 350÷2=175. What is the correct weighted average?

    Hint: What should you divide by?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

What score do I need on the final exam to reach a 90?

Work the weighted average backwards. Say your marks so far average 86 and count for 70% of the grade, and the final counts for 30%. You need 0.7×86+0.3x=900.7 \times 86 + 0.3x = 90. The first part is 60.2, so 0.3x0.3x must be 29.8, and xx is about 99.3. That is a very high target, which shows how hard it is to move an average that already carries most of the weight.

What happens if I double all the weights?

Nothing changes. Only the sizes of the weights compared with each other matter, because the division by the total weight cancels any common factor. Weights of 2 and 3, of 4 and 6, and of 40% and 60% all give the same answer. That is why weights can be given as percents, as fractions, or as plain counts such as numbers of students.

Is the mean from a frequency table a weighted average?

Yes. Each value is weighted by how many times it appears. If 5 students scored 1 goal, 3 scored 2 goals and 2 scored 4 goals, the mean is 5 times 1, plus 3 times 2, plus 2 times 4, all divided by 10, which gives 19 divided by 10, or 1.9 goals. Writing out all ten values and taking a plain mean gives the same 1.9, just more slowly.

Learning Path

Weighted Average

You are here

Start from the Mean as Fair Share (a total divided equally) and Expected Value (outcomes weighted by their probabilities, itself a weighted average). This concept adds unequal importance to the ordinary mean. It leads to Linear Regression, which fits a line through many data points; the line always passes through the mean point, and weighted versions let more reliable points count more.

See Also