Statistics & Probability
Intermediate

Weighted Mean

Average where values carry different weights.

Formula

xˉw=∑wixi∑wi\bar{x}_w = \frac{\sum w_i x_i}{\sum w_i}

Variables

w_iWeights
x_iValues

Example

GPA is a weighted mean

How it works

A weighted mean is used when not every value should contribute equally to the average. Each value is multiplied by a weight that shows its importance, frequency, or size, and then the weighted totals are divided by the total of the weights so the result stays on the same scale as the original values. This works because it is equivalent to counting values more times when they matter more, instead of treating every observation as identical.

When to use it

Use this formula when combining measurements or scores that do not all count the same, such as test scores with different point values, average prices with different quantities bought, or sensor readings collected for different lengths of time. It is especially useful whenever the data come with frequencies, proportions, credits, or importance levels.

Worked example, step by step

Suppose a student has scores of 78, 85, and 92 on assignments worth 20%, 30%, and 50% of the final grade. Step 1: Multiply each score by its weight: 78 × 0.20 = 15.6 85 × 0.30 = 25.5 92 × 0.50 = 46.0 Step 2: Add the weighted scores: 15.6 + 25.5 + 46.0 = 87.1 Step 3: Add the weights: 0.20 + 0.30 + 0.50 = 1.00 Step 4: Divide the weighted sum by the total weight: \bar{x}_w = 87.1 / 1.00 = 87.1 Final answer: the weighted mean is 87.1.

Common mistakes to avoid

  • Using the raw average instead of multiplying each value by its weight first
  • Forgetting to divide by the sum of the weights
  • Treating percentages, frequencies, and probabilities as if they were all the same without checking their total

Did You Know?

Your grade point average is a weighted mean, where harder courses with more credits pull it more strongly.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026