Skip to content
Tactiverge

Mathematical concepts

Mean and median

Also called: average · mean · median · central value

Definition

The mean is the sum of the values divided by how many there are; the median is the middle value once the values are sorted.

Picture it

The mean is the balance point of the data and is pulled hard by one wild value. The median ignores how extreme the outliers are. When a single faulty reading appears, comparing the two shows it straight away.

The maths

mean x̄ = (x1 + x2 + … + xn) / n
median = middle sorted value (mean of the two middle values if n is even)
SI units used in this entry
QuantityUnitSymbol
ratiodimensionless1

Worked example

Five distance readings are 101, 99, 100, 102 and 148 mm. Find the mean and the median.

  1. Sum = 550, so mean = 550 / 5 = 110 mm
  2. Sorted: 99, 100, 101, 102, 148 → median = 101 mm

AnswerMean 110 mm, median 101 mm: the 148 reading drags the mean.

✓ The 2 numbers in this answer are recomputed from scratch by an automated test.

crunch the numbers

Mean and standard deviation

n = 5 · mean = 110 · median = 101
sample SD = 21.3 · standard error = 9.51 · range 99 to 148

Sample standard deviation divides by n − 1. Standard error = SD / √n describes how well the mean is known.

Common misconceptions

  • Misconception: The mean is not always a 'typical' value when data are skewed or contain outliers.
  • Misconception: Deleting an outlier because it is inconvenient is not allowed; investigate and report it.