Mean, Median, Mode, and Range
Learning goals
- Compute the mean, median, mode and range of a list
- Explain why the mean is the balance point where deviations cancel
- Sort before taking a median, and average the two middle values
- Read the range as spread, not as a center
- Choose median over mean when an outlier drags the data
- Name the mode as the only summary that works for non-numeric data
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. Here is the precise sense in which the mean balances the data. The deviation of a value is how far it sits above or below the mean. Values larger than the mean have a positive deviation, and values smaller than the mean have a negative one. The claim is that these deviations always cancel out exactly.
The deviations from the mean always add to zero#
Call the values , so there are of them, and let stand for their mean. By the definition of the mean, the sum of the values divided by equals . Multiplying both sides by gives a fact we will use in a moment: the values add up to .
Now form the deviation of each value, , and add all the deviations together:
Separate the two kinds of term. All the values collect into their sum . The mean is then subtracted once for each of the values, so those subtractions remove in total:
But the values add up to exactly , so this becomes . The deviations cancel completely, for any data set at all.
Picture the values as weights sitting on a ruler. The mean is then the point where you would put your finger to hold the ruler level. Every value below the mean tips the ruler one way and every value above it tips the ruler the other way. Because the deviations sum to zero, the two sides exactly balance. That is what makes the mean a true center of the data. The mean is the one point where the total pull from the smaller values matches the total pull from the larger ones.
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 two nines sit above for in total. The and the sit and below the mean for in total, and the is right on the mean. The deviations cancel, 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
A quick way to find the middle position: with values in sorted order, the median sits at position , counting from either end. For that is position , a single value. For that is position , which falls between the nd and rd values, so you average that pair. Sorting is not optional, because “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 at position . Counting in to the third value gives
Two values ( and ) lie below it and two ( and ) lie above, so splits the data evenly. Notice that the repeated s caused no trouble. The repeats did not matter because the median only cares about position, not about how large the largest values happen to 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 if several values tie for the most appearances. The list has two modes, and , because each of those two values appears twice. And a data set can have no mode at all when every value appears the same number of times, as in , where nothing repeats.
The mode is the only one of these summaries that also works for data that is not numbers. Suppose you record the favorite color of everyone in a class. You cannot add those colors together or sort them down the middle, but you can still ask which color comes up most. That winner is the mode.
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 values are bunched closely together; a large range means they are stretched far apart. Two classes can share the very same mean and still feel completely different. One class where everyone scores near has a small range. A second class with scores running from to has a large range even if its mean is also . 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 agree here because the data is fairly even; the next section shows what happens when it is not.
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 honest 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 fairer story. The data is already sorted, so the middle value is
which sits right among the typical households. The lone outlier of pulled the mean up by almost but moved the median not at all.
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 is usually the more trustworthy center. 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.