Find a course

Module 3: Center and SpreadLesson 5 of 913 min

Mean, Median and Mode

Calculate the mean, median and mode, see how outliers pull the mean but not the median, and choose the best measure of center for skewed data.

Step 1 of 13Learn

The misleading average salary

A small design studio has 10 employees. Nine of them earn $40,000 a year. The owner pays herself $400,000. A job ad says: "Average salary at our studio: $76,000!"

Is that true? The mean is the sum of all values divided by how many there are: (9 × 40,000 + 400,000) ÷ 10 = 760,000 ÷ 10 = $76,000. So yes, technically.

But nine out of ten people earn $40,000. If you took the job, you'd almost certainly earn far less than $76,000. The median, the middle value when the data is sorted, is $40,000, and it describes the typical employee much better.

The mode, the most frequent value, is also $40,000 here.

All three are measures of center: single numbers that summarize a typical value. They often agree when data is symmetric. When there are outliers or a strong skew, like one huge salary, they can tell very different stories, and choosing the right one becomes a matter of honesty.

Step 2 of 13Practice · Chart

Three "averages" for the same studio

Tap the measure that one huge salary pulled far away from what most people earn.

Tap the bar that answers the question, then press Check.

Three "averages" for the same studioBar chart with 3 categories: Mean: $76,000; Median: $40,000; Mode: $40,000.$0$20k$40k$60k$80kMeanMedianMode$76,000$40,000$40,000
Three "averages" for the same studio
ItemSalary
Mean$76,000
Median$40,000
Mode$40,000

Step 3 of 13Practice · Work it out

Find the mean of these quiz scores: 4, 8, 6, 5, 7.

Step 4 of 13Learn

Finding the median and mode

Median. Sort the values from smallest to largest, then find the middle.

  • Odd number of values: the median is the middle one. For 3, 7, 8, 12, 20, the median is 8.
  • Even number of values: average the two middle values. For 3, 7, 9, 10, 12, 15, the middle pair is 9 and 10, so the median is 9.5.

With n values, the median sits at position (n + 1) ÷ 2 in the sorted list. For 25 values that's position 13; for 24 values it's position 12.5, meaning halfway between the 12th and 13th.

The classic mistake is forgetting to sort. In the unsorted list 12, 3, 9, 7, 15, 10, the "middle" numbers 9 and 7 mean nothing.

Mode. The value that occurs most often. A data set can have one mode, two (bimodal), several, or none if every value appears once. The mode is the only measure of center that works for categorical data: you can say the most common favorite color is blue, but there's no mean or median color.

Step 5 of 13Practice · Work it out

Find the median of: 12, 3, 9, 7, 15, 10.

Step 6 of 13Try the calculator

Mean of five values

Start with five similar values, then change one of them to something huge, like 100. Watch how far the mean moves. The median of the original five values would not move at all.

Sum
75
Mean
15

Step 7 of 13Learn

Outliers, skew and choosing a measure

The mean uses every value's size, so one extreme value can drag it a long way. The median only cares about position, so it barely notices. Statisticians say the median is resistant to outliers and the mean is not.

That leads to a useful pattern:

  • Symmetric data: mean ≈ median.
  • Skewed right (long tail of high values): the mean is pulled up, so mean > median.
  • Skewed left (long tail of low values): mean < median.

So which should you report?

  • Use the median for skewed data or data with outliers: incomes, house prices, time spent on social media, wait times.
  • Use the mean for roughly symmetric data without outliers, and when the total matters. If you want to know how much pizza to order, the mean slices per person times the number of people gives the total.
  • Use the mode for categorical data or for "most popular" questions, like the most common shoe size a store should stock.

When someone reports an average, ask which one. Government reports on income use the median for exactly the reason in the studio example.

Step 8 of 13Practice · Choose one

A real estate website wants to report a typical home price in a town where most homes cost $200,000–$350,000 but a few mansions sell for over $5 million. Which measure should it use?

Step 9 of 13Note

Step 10 of 13Practice · Work it out

Ella's first four test scores are 80, 92, 78 and 88. What score does she need on the fifth test to have a mean of exactly 85?

Step 11 of 13Practice · True or false

Adding one very large outlier to a data set usually changes the median more than the mean.

Step 12 of 13Try the calculator

Watch an outlier move the mean

Four quiz scores are fixed at 5, 6, 7 and 8. Change the fifth score and compare what happens to the mean and the median.

Mean
6.6
Median
7

Step 13 of 13Practice · Select all that apply

For the data set 2, 3, 3, 4, 18, which statements are true? Select all that apply.

Select all that apply.