Mathematics · Glossary

What is Weighted average?

Also known as: weighted mean

Definition 61.7 Primary & Middle School Mathematics · Chapter 61 — Proportionality, Speed and Averages

When values v1,v2,v_1, v_2, \dots come with counts (or weights) n1,n2,n_1, n_2, \dots, their weighted average is

vˉ=n1v1+n2v2+n1+n2+:\bar v = \frac{n_1 v_1 + n_2 v_2 + \dots}{n_1 + n_2 + \dots} :

total of the values, divided by total of the weights.

Examples

Example 61.8

A test was taken by two groups: group 1, 1212 students, average 1111; group 2, 1818 students, average 1414. Average of the whole class:

vˉ=12×11+18×1412+18=132+25230=38430=12.8.\bar v = \frac{12 \times 11 + 18 \times 14}{12 + 18} = \frac{132 + 252}{30} = \frac{384}{30} = 12.8 .

Not 11+142=12.5\frac{11 + 14}{2} = 12.5: the larger group pulls the average towards its own — the weights matter.

Example 61.9 (Average speed over two legs)

A cyclist rides 3030 km at 3030 km/h, then 3030 km at 1515 km/h. The average speed over the whole trip is not 30+152=22.5\frac{30 + 15}{2} = 22.5 km/h. Compute with the definition:

  1. times: 3030=1\frac{30}{30} = 1 h, then 3015=2\frac{30}{15} = 2 h; total 33 h;
  2. total distance 6060 km, so v=603=20v = \frac{60}{3} = 20 km/h.

The slow leg lasts longer, so it weighs more — an average of speeds must be weighted by time.

Read in context →