Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works
Create a free account to open Other functions, variation & modeling. The free chapters of College Algebra stay readable without one.

Weighted averages

~8 min

Not every observation deserves equal say. A final exam usually counts more than a homework set; a large city's opinion poll usually counts more than a small town's. The weighted mean is the arithmetic mean's answer to "what if some values matter more than others?"

Picture the balance beam again, but now some weights are heavier than others. A heavy weight pulls the balance point toward it hard. A light weight barely moves it. That's how one 40%-weighted final exam can outweigh three 20%-weighted quizzes. One more habit is worth knowing. The weights don't have to add up to any particular number. Doubling every single weight at once changes nothing about where the balance point ends up. A 2-pound weight and a 4-pound weight balance the beam in the same spot as a 20-pound weight and a 40-pound weight. Only how the weights compare to each other matters, not their actual size. That also means weights don't need to be written as percentages at all. A plain count of how many times something shows up works exactly the same way as a weight.

For values x_1, \ldots, x_n with weights w_1, \ldots, w_n, the weighted mean is \bar{x}_w = \frac{\sum_{i=1}^n w_i x_i}{\sum_{i=1}^n w_i}. Three load-bearing facts follow directly from that formula:

  • Setting every w_i = 1 collapses this exactly to the plain arithmetic mean from the last section — weighted mean is the general case, not a different formula.
  • Only relative weight matters, not absolute size. Scaling every weight by the same constant c leaves \bar x_w unchanged: in one line, \dfrac{\sum (c\,w_i)x_i}{\sum (c\,w_i)}=\dfrac{c\sum w_i x_i}{c\sum w_i}=\dfrac{\sum w_i x_i}{\sum w_i}, since the c cancels. That's why weights can be given as raw counts, percentages, or credit hours interchangeably — rescaling them never changes the answer.
  • Weights don't have to be percentages of 1 — any nonnegative numbers work, since dividing by \sum w_i normalizes them automatically. A frequency — how many times a value occurs — is itself a weight in this sense.

Weighting a course grade

Slide each component's weight and watch the weighted average move — a heavier weight pulls the balance point toward its own score.

Loading interactive…

Worked example

Weighted course grade

  1. 1

    Homework counts 20%, the midterm 30%, the final 50%. Scores: HW 90, Midterm 78, Final 85. Find the course grade.

  2. 2

    Use each percentage as a weight (as a decimal, weights already sum to 1): 0.20(90) + 0.30(78) + 0.50(85).

  3. 3
    \boxed{18 + 23.4 + 42.5 = 83.9}

Loading interactive…

Worked example

A plain average gives the wrong answer

  1. 1

    Using the same three scores (90, 78, 85), a student computes the plain average instead of the weighted one. How far off is it, and why is it wrong here?

  2. 2

    Plain average: (90+78+85)/3 = 84.33. That treats all three components as equally important, when the syllabus explicitly weights them 20/30/50.

  3. 3
    \boxed{84.33 \neq 83.9 - \text{the plain average silently overweights homework and underweights the final}}

Loading interactive…

Where this shows up

Grading and GPA

A GPA is a weighted mean. Credit hours are the weights. A 4-credit course pulls the average harder than a 1-credit seminar with the same letter grade. Some students skip the weighting and average their grade points straight across instead. That is one of the most common arithmetic errors people make when computing their own GPA by hand.

Where this goes next

Chapter 5, mean from a frequency table

Chapter 5 groups raw data into a frequency table. It estimates the mean from each class's midpoint, weighted by how many observations fell in that class: \bar x \approx \sum f_i m_i / \sum f_i. That is this section's weighted mean formula, written with different letters. Frequency f_i plays the role of weight w_i. There is nothing new to learn here beyond recognizing the pattern.

Check your understanding (counts toward your progress)

Two sections of a course have average scores 80 (30 students) and 90 (10 students). What is the combined average?

Correct! 🎉 Not quite.

Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.

That silently treats both sections as the same size — they aren't.

The larger section (30 students, lower average) should pull the combined average DOWN toward 80, not up.

The larger group's score should dominate, not the smaller group's.

Why

Weighted by size: (30×80 + 10×90)/40 = (2400+900)/40 = 82.5 — closer to 80 because the larger section outweighs the smaller one.

A course grade is weighted as follows: Lab (30%): 60, Midterm (10%): 79, Quizzes (60%): 78. Find the weighted course average.

Correct! 🎉 Not quite.

Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.

Why

Multiply each score by its weight (as a decimal) and add: 0.30(60) + 0.10(79) + 0.60(78) = 72.7.

Correct answer

Also accepted:

Why

A student computes their GPA by averaging letter-grade points straight across, ignoring credit hours. Explain what's wrong.

Setting every weight equal to 1 in the weighted mean formula gives:

Correct! 🎉 Not quite.

Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.

Why

With every weight equal to 1, the weighted-mean formula reduces exactly to the plain arithmetic mean — weighted mean is the general case.

Feeling good about this section?

Take the section quiz

Every answer gets a full explanation at the end.

Graph settings

Calculator

Sign in to save highlights

Insert an equation

  • No matches.