Mean, Median, Mode, and Range
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, answers a simple question. If you pooled all the values together and split the total evenly, how much would each one get? You find it by adding every value and dividing by how many values there are.
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. Notice what “fair share” really means here: replacing every value by the mean leaves the total untouched, because five fives still add to . That is the defining property of the mean, and it is just the formula read backwards. That reading works because the sum equals the number of values times the mean.
Why the mean sits at the balance point
Calling the mean a “center” deserves a reason, not just a name. Look at the mean of , which is . How far is each value from that mean? The value sits below it, sits below it, sits right on it, and sits above it. Call this signed distance the deviation: negative when a value is below the mean, zero when a value equals the mean, and positive when it is above. Add the four deviations together:
The two below-mean deviations add to , exactly canceling the one above-mean deviation of . That is not a coincidence of this particular list. For any list of numbers, the deviations from the mean always add up to zero.
Picture the values as weights sitting on a ruler, as in the figure. The mean is the point where you would put your finger to hold the ruler level: every value below the mean tips it one way, every value above tips it the other way, and because the deviations sum to zero, the two sides exactly balance. That is what makes the mean a true center of the data, not just its formula.
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 . As a check, the deviations are , exactly as the balance argument promised.
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; the mean still owes the division by .
The median: the middle value
The median is the value that lands in the middle once the data is sorted from least to greatest. It splits the ordered list into two equal halves. At least half the values sit at or below the median, and at least half sit at or above it. To find it, always sort first, then locate the middle.
When there is an odd number of values, one value sits in the dead 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, no single value is in the center, and two values share the middle. The median is then the mean of those two middle values. Sort into ; the two middle values are and , so the median is
Sorting is not optional. “Middle” means middle in order, not the middle of the list as it happened to be handed to you.
Worked example 2 Find the median of , , , , and
Sort the five values from least to greatest:
There are values, an odd count, so the median is the single middle value. Counting in, five values means the third value is the middle:
Two values ( and ) lie below it and two ( and ) lie above, so splits the data evenly. Notice that the repeated s caused no trouble: as long as a value stays above the median, its own size does not change what the median is. The two s could have been and and 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. Where the mean and median do arithmetic to find a center, the mode just counts. Tally how many times each value occurs, and the value with the highest tally is the mode.
In the list the value appears three times while every other value appears once, so the mode is . A data set can have more than one mode: this happens when two or more values are tied for the highest tally, while at least one other value in the list has a lower tally. The list has two modes, and , each appearing twice, more than the once-appearing . But when every value in the list has the same tally, no value stands out as more frequent than the rest, so there is no mode at all. That covers both the case where nothing repeats, as in , and the case where everything repeats the same number of times, as in .
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 numbers all try to pin down the center of the data. The range answers a different question: how spread out is it? The range is the distance from the smallest value to the largest, found by subtracting the minimum from 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. Range looks only at those two extreme values, so it says nothing about how the values in between are arranged.
Two classes can share the very same mean and still feel completely different. 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 even though the mean looks identical. 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
When the data is lopsided, the mean and the median can tell very different stories, and knowing why lets you pick the more useful one. The mean uses the actual size of every value, so a single far-off value, an outlier, drags the mean toward that extreme. The median uses only position, so one outlier barely moves it.
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. Reporting “the average income is thousand” would mislead anyone, because nobody here lives like that except the single wealthy household. The median tells a more typical story. The data is already sorted, so the middle value 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. It is the single value of that drags the mean all the way up to , while the median barely moves.
This is the practical rule of thumb. When the data is roughly even, the mean and median land close together and either one describes the center well. When the data is skewed by a few extreme values, the median usually describes a typical value better. The mean is still the right tool when you genuinely care about the total being shared out. Splitting a bill or finding a true per-person amount is one of those cases.
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 single thousand salary. The median, the middle value once sorted, is thousand, which sits right among the four typical salaries. Because one outlier drags the mean but barely moves the median, the median better describes a typical salary here.