Skip to content
mentoor

Topic 1 of 5 · 4 min read

Mean, median and spread

Goal: Choose mean or median for a skewed dataset and explain how a single outlier changes the result.

An average is one number standing in for many, so ask which average it is and how spread out the data is around it. The mean and the median can differ a lot, and the gap tells you something.

Check yourself · 1 of 3

Ten people earn 40,000 each, and one earns 1,000,000. Which statement is correct?

Choose one answer

Why it matters

AI tools love to say "the average is X". If you do not know which average, you cannot tell if it describes a typical case. Salaries, house prices, delivery times and customer spend are all skewed: most values are modest and a few are huge. In skewed data the mean can describe almost nobody.

The parts

  1. Mean. Add everything up and divide by the count. Every value counts, so one extreme value pulls it hard.
  2. Median. Sort the values and take the middle one. Half the values are below it, half above. One extreme value barely moves it.
  3. Range. Highest minus lowest. It is easy to read but it is set by only two values, so one oddity stretches it.
  4. Percentiles. The 90th percentile is the value that 90% of the data falls below. Comparing the 10th, 50th and 90th shows how wide the middle of the data is.

When mean and median are close, the data is roughly balanced. When the mean is far above the median, a few large values are pulling it up.

Before and after

Before: "The average salary at the firm is 118,000, so pay is strong."

Nine staff earn 60,000 each and the founder takes 600,000. The mean is (9 x 60,000 + 600,000) / 10 = 114,000. The median is 60,000. Nobody except the founder earns anything near the mean.

After: "Median salary is 60,000. The mean is 114,000 because one salary is 600,000. Nine of ten staff earn 60,000."

The fixed version names the average, gives both numbers and says why they differ.

What goes wrong

  • Reporting the mean of skewed data and calling it "typical".
  • Reporting the median and hiding that the top few values hold most of the total. If you care about total cost, the mean is the right number, because total equals mean times count.
  • Ignoring spread. Two teams can both have a mean response time of 5 minutes while one is always near 5 and the other swings between 1 and 30.
  • Averaging averages. The mean of two group means is wrong when the groups differ in size.

When you ask an assistant to summarise numbers, ask for the mean, the median, the minimum, the maximum and the count. Five numbers show more than one.

Examples

One big order

Eight online orders are 20, 22, 25, 25, 28, 30, 32 and 900. The mean is 135.25. The median is 26.5. A report saying "customers spend 135 on average" misleads: seven of eight spent about 20 to 32. Report the median for a typical order, and note the one order of 900.

Same mean, different spread

Two support teams both average 5 minutes to reply. Team one replies between 4 and 6 minutes every time. Team two replies in 1 minute half the time and in 20 minutes the other half, with a mean near 10 for the slow half. The mean hides the difference. The 10th and 90th percentiles show it at once.

Key points

  • The mean uses every value, so one extreme value can pull it far from what is typical.
  • The median is the middle value after sorting and barely moves when one value is extreme.
  • A mean far above the median is a sign of a few very large values.
  • Range depends only on two values, so percentiles describe the spread better.
  • Use the mean when you care about a total, and the median when you care about a typical case.
  • Ask which average a number is, and for the count and the spread.

Common mistakes

  • Calling the mean "the typical value" in skewed data such as pay, prices or wait times.
  • Quoting an average without saying whether it is the mean or the median.
  • Averaging group averages when the groups have different sizes.
  • Dropping an outlier without checking whether it is a typing error or a real case.

Check yourself · 2 of 3

A report says average delivery time is 3 days. Which extra number most helps you judge whether most orders really take about 3 days?

Choose one answer

Check yourself · 3 of 3

When is the mean the right average to report?

Choose one answer

Practice items, not counted towards your mastery.

Start here