Mean, Median, Mode, and Range
Progress can't be saved in this browser, so this lesson's status can't be set.
Watch the video explainer
Learning goals
- Compute the mean, median, mode, and range of a list, sorting first for the median
- Explain why the mean is the balance point where deviations cancel
- Choose median over mean when an outlier drags the data
- Read the range as spread, not as a center
- Name the mode as the summary that works for data with no numbers or order
The mean: a fair share
The mean, also called the arithmetic average, is the amount each value would get if the total were shared equally.
Say five friends are carrying , , , , and dollars. Together they hold dollars. If they pour it all into one pile and redistribute it equally, each friend walks away with
So the mean is dollars. Replacing every amount by leaves the total unchanged: five fives still add to . For any nonempty list of numbers, add the values and divide by their count:
You can also work backward from the mean. Multiplying it by the count recovers the total:
For example, four quiz scores have a mean of , so their total must be . If three scores are , , and , they account for of those points. The missing score is . Check: .
Why the mean sits at the balance point
The mean also acts as a balance point. The numbers have mean . The value sits below it, sits below it, sits right on it, and sits above it. A value’s deviation is the value minus the mean. It is negative below the mean, zero at the mean, and positive above it. Here the deviations add to
The deviations below the mean total , exactly canceling the above it.
Picture an equal weight at each value on a weightless ruler. The mean is where a support holds the ruler level: the total distance on one side balances the total distance on the other.
The deviations from the mean always add to zero#
Take another list, , with mean . Subtract from each value and add:
Rearranging the additions shows what happened: we added the original values, then subtracted the mean three times. Those two amounts are equal because the total is the mean times the count.
For any nonempty list of values, write the values as . The small numbers label their positions: is the first value and is the last. Let be their total and their mean. Since , the total is .
Subtract from each value, then add the deviations. Regroup the original values together and the copies of together:
Check your understanding
A data set has mean . Three of its four deviations from the mean are , , and . What must the fourth deviation be?
All the deviations from the mean must add to zero. The three given deviations add to , so the fourth deviation must be to bring the total back to : .
Worked example 1 Find the mean of , , , , and
Add the five values:
There are values, so divide the sum by :
The mean is . In the same order as the data, the deviations are , which checks the balance.
Check your understanding
Over four days a shop sold , , , and sandwiches. What was the mean number sold per day?
Add the four daily totals, then divide by the number of days, which is .
So the shop sold a mean of sandwiches per day. Stopping at the sum, , is the most common slip; you still have to divide by .
The median: the middle value
The median is the middle of the data after sorting from least to greatest. At least half the values are at or below it, and at least half are at or above it.
When there is an odd number of values, one value sits in the center, and that value is the median. Sort into ; with five values the third one is the middle, so the median is . Two values fall below it and two fall above.
When there is an even number of values, two positions share the middle. The median is the mean of those two values. Sort into ; the two middle values are and , so the median is
Always sort first. The median is the middle of the values in order, which need not be the middle of the list as it was handed to you.
Worked example 2 Find the median of , , , , and
Sort the five values from least to greatest:
There are values, so the third value is in the middle:
Two values ( and ) lie below it and two ( and ) lie above. Replacing one by would leave the middle position unchanged, so the median would still be .
Check your understanding
Find the median of , , , and .
Sort the four values first: . With an even count there is no single middle, so average the two middle values, and .
The median is , which need not be one of the original values.
The mode: the most common value
The mode is the value that appears most often. Tally how many times each value occurs and look for the highest tally.
In the list the value appears three times while every other value appears once, so the mode is . A list can have more than one mode. In , the values and each appear twice, more often than , so both are modes.
In this course, when several distinct values all have the same tally, we say there is no mode: none stands out. This covers and . A list with only one distinct value is different: in , the mode is .
The mode is the only one of these four summaries that works on data with no numbers and no order. The mean and range need numbers to add and subtract. The median needs an order to sort into. The mode just needs you to count, so it works even on colors or names. Suppose six classmates name their favorite color: blue, red, blue, green, red, blue. You cannot add “blue” and “red” together, and you cannot sort colors from least to greatest, but you can still count. Blue is named three times, red twice, and green once, so blue is the mode.
Check your understanding
Five classmates name their favorite snack: chips, pretzels, chips, popcorn, chips. What is the mode?
Count how often each snack is named: chips three times, pretzels once, popcorn once. Chips has the highest tally, so chips is the mode. The mode works here even though snack names cannot be added or sorted.
The range: how spread out the data is
The first three summaries describe a typical value. The range measures spread: the distance from the smallest value (the minimum) to the largest (the maximum).
For the test scores , the largest is and the smallest is , so the range is . A small range means the smallest and largest values are close together; a large range means they are far apart. The range uses only those two extreme values, so it cannot show how the values in between are arranged.
Two classes can have the same mean and very different spreads. Suppose one class scores : the mean is , and the range is only , so every score sits close to . A second class scores : the mean is also , but the range is , so the scores are spread far apart. The range is a first, rough measure of that spread.
Worked example 3 Find the mean, median, mode, and range of
Start with the mean. Add the five values and divide by :
For the median, sort the data into . With five values the middle one is the third, so
For the mode, count repeats. The value appears twice and everything else once, so the mode is .
For the range, subtract the smallest value from the largest:
So this data set has mean , median , mode , and range . The mean and median happen to agree here; the next section shows a data set where they disagree instead.
Check your understanding
For the data , which statement is true?
Count how often each value appears: shows up three times, twice, and once, so the most frequent value is the mode.
The largest value is and the smallest is , so the range is
Mean versus median: which center to trust
The mean uses every value’s size, while the median depends on the middle positions in sorted data. An outlier is a value unusually far from the others. Making an already-high value even higher pulls the mean up, but leaves the median unchanged if the middle values stay the same.
Picture five households with yearly incomes, in thousands of dollars, of , , , , and . The mean income is
which is larger than four of the five incomes. The calculation is correct, but thousand poorly describes a typical household here. The data is already sorted, so the median is
which sits right among the typical households. Replace the outlier with a typical income, say thousand, and the mean becomes , matching the median exactly. The single value of pulled the mean up to , while the median is in both lists.
The median can still move: adding a new value or moving a value past the middle can change it. But when an extreme value moves farther out, it does not keep pulling the median along the way it pulls the mean.
When the data is fairly balanced around its center, the mean and median are often close. When a few extreme values make the data lopsided, or skewed, the median often describes a typical value better. Use the mean when the total matters, such as sharing a bill or finding an amount per person.
Check your understanding
A small company has salaries, in thousands of dollars, of , , , , and . Which measure best describes a typical salary here, and why?
The mean is thousand, pulled upward by the thousand salary. The median is thousand, which sits among the four lower salaries and better describes a typical salary here.