Step-by-Step Math Tutorials · 7 min read

Mean, median, mode and range: which to use and how

Mean, median, mode — three different answers to the question “what is a typical value?”. Knowing how to calculate each is the easy part; knowing which one a question is really asking for is what earns the points.

Dot plot of 3, 7, 7, 2, 9 and 14 on a number line: mean, median and mode all equal 7, and a bracket from 2 to 14 shows the range 12.

The mean: share it out equally

Add the values and divide by how many there are. The mean is the "fair share" value: if everyone had the same amount, it is how much each would get.

xˉ=sum of valuesnumber of values\bar{x} = \frac{\text{sum of values}}{\text{number of values}}

Example 1 · Mean of six values

mean of 3,7,7,2,9,14\text{mean }\allowbreak \text{of } 3, 7, 7, 2, 9, 14
Solve it live

Six values adding to 42.

  1. Add the values
    3+7+7,+2+9+14,=42\displaystyle 3 + 7 + 7,\allowbreak \quad + 2 + 9 + 14,\allowbreak \quad = 42
    The mean is the total shared out equally.
  2. Count the values
    n=6n = 6
    There are this many numbers.
  3. Divide the total by the count
    xˉ=426=7\bar{x} = \frac{42}{6} = 7
    Mean = sum ÷ count.
77
✓ Verified

The median: the middle value

Sort the data first. With an odd number of values, the median is the middle one. With an even number, it is the average of the two middle values.

The median is not pulled around by extreme values, which is why house prices and incomes are usually reported as medians.

Example 2 · Median of an odd-sized list

median of 21,3,9,15,6\text{median }\allowbreak \text{of } 21, 3, 9, 15, 6
Solve it live

Sorted: 3, 6, 9, 15, 21 — the third value is the middle.

  1. Sort the values
    3,6,9,15,21\displaystyle 3,\allowbreak 6,\allowbreak 9,\allowbreak 15,\allowbreak 21
    The median is the middle of the ordered list.
  2. Take the middle value
    value number 5+12=3: median=9\displaystyle \allowbreak \text{value number }\frac{5 + 1}{2} = 3:\ \allowbreak \text{median} = 9
    With 5 values, the middle one is number 3.
99
✓ Verified

The mode and the range

The mode is the value that appears most often. A data set can have one mode, several, or none. The range is not an average at all: it is the spread, largest minus smallest.

Example 3 · The mode

mode of 2,3,3,5,7,7,7\text{mode }\allowbreak \text{of } 2, 3, 3, 5, 7, 7, 7
Solve it live

7 appears three times — more than any other value.

  1. Count how often each value appears
    2:1, 3:2, 5:1, 7:3\displaystyle 2: 1,\allowbreak \ 3: 2,\allowbreak \ 5: 1,\allowbreak \ 7: 3
    The mode is the most frequent value.
  2. Pick the most frequent
    mode=7\displaystyle \allowbreak \text{mode} = 7
    It appears 3 times.
77
✓ Verified

Example 4 · The range

range of 12,5,19,8\text{range }\allowbreak \text{of } 12, 5, 19, 8
Solve it live

Largest 19, smallest 5.

  1. Find the smallest and largest values
    smallest=5,largest=19\displaystyle \allowbreak \text{smallest} = 5,\allowbreak \quad \allowbreak \text{largest} = 19
    Scan the list (or sort it) for the two ends.
  2. Largest minus smallest
    19−5=1419 - 5 = 14
    The range measures the spread.
1414
✓ Verified

Mean, median, mode: which average should you use?

  • Mean for data without extreme values, when every value should count: test scores in a class, daily temperatures.
  • Median when there are outliers or the data is skewed: incomes, house prices, reaction times.
  • Mode for categories or the most popular choice: shoe sizes sold, favorite subjects.

For measures of spread beyond the range — variance and standard deviation, and the difference between the sample and population versions — see the statistics solver, which states which one it used. Data questions are also a full domain of SAT Math.

Reading the question: which average is it hinting at?

Exam questions rarely name the average they want — mean, median, mode or range — outright. “Typical”, “representative” and “central” are hints, not answers, and the right choice depends on the story wrapped around the numbers. If one value is wildly larger than the rest — a single jackpot salary among office wages — the writer is usually steering you to the median, because the mean would describe nobody in the room.

Watch for the reverse hint as well: a question that gives you the mean and the count, then asks for a missing value, is testing whether you know the mean is a repackaged total. Multiply first, subtract what you have, and the missing number falls out. And when a list has an even count of values, expect the median to be a halfway number that never appears in the data — that is normal, not a sign you sorted wrongly.

Example 5 · A median that is not in the list

median of 4,8,15,16,23,42\text{median }\allowbreak \text{of } 4, 8, 15, 16, 23, 42
Solve it live

Six values, already sorted: the median is the average of 15 and 16.

  1. Sort the values
    4,8,15,16,23,42\displaystyle 4,\allowbreak 8,\allowbreak 15,\allowbreak 16,\allowbreak 23,\allowbreak 42
    The median is the middle of the ordered list.
  2. Average the two middle values
    values 3 and 4: 15+162=312\displaystyle \allowbreak \text{values }3\allowbreak \text{ and }4:\ \frac{15 + 16}{2} = \frac{31}{2}
    With 6 values there are two middle ones.
312=15.5\frac{31}{2} = 15.5
✓ Verified

FAQ

Questions about this guide

Do I need to sort the data to find the mean?

No — order does not matter for the mean. You do need to sort for the median.

What if there are two middle numbers?

Average them. The median of 3, 5, 8, 10 is (5 + 8) ÷ 2 = 6.5, which need not be a value in the list.

Can there be more than one mode?

Yes. If two values tie for most frequent, the data is bimodal and both are modes. If every value appears once, there is no mode.

Put the method to work

Try the technique from this guide on a problem of your own — with every step shown and checked.