Three kinds of average
“Average” usually means the mean, but statistics has three common ways to describe the middle of a list of numbers. Each answers a slightly different question.
| Measure | What it is | Best for |
|---|---|---|
| Mean | The sum of the values divided by how many there are | Evenly spread data with no extreme values |
| Median | The middle value once the list is sorted | Skewed data, such as prices, salaries and waiting times |
| Mode | The value that appears most often | Categories and repeated values, such as shoe sizes or the most common score |
| Range | The largest value minus the smallest | A quick check of how spread out the data is |
The formulas
When n is odd, (n + 1) ÷ 2 is a whole number and points straight at the middle value. When n is even it lands halfway between two values, so the median is the average of those two. The mode has no formula: you count how often each value appears.
Worked examples
Example 1: an odd number of values. Find the mean, median, mode and range of 13, 18, 13, 14, 13, 16, 14, 21, 13.
- Sum = 135 and there are 9 values, so the mean = 135 ÷ 9 = 15.
- Sorted: 13, 13, 13, 13, 14, 14, 16, 18, 21. The middle is value number (9 + 1) ÷ 2 = 5, so the median = 14.
- 13 appears four times, more than any other value, so the mode = 13.
- Range = 21 − 13 = 8.
These are the numbers the calculator shows when it first loads.
Example 2: an even number of values. Take 8, 3, 5, 12, 7, 10.
- Sum = 45, so the mean = 45 ÷ 6 = 7.5.
- Sorted: 3, 5, 7, 8, 10, 12. The two middle values are 7 and 8, so the median = (7 + 8) ÷ 2 = 7.5.
- Every value appears once, so there is no mode.
- Range = 12 − 3 = 9.
Example 3: two modes. Shoe sizes sold in one hour: 6, 7, 7, 8, 9, 9, 10.
- Mean = 56 ÷ 7 = 8, and the median (the 4th value) is also 8.
- 7 and 9 each appear twice, so the list is bimodal with modes 7 and 9. For a shop deciding what to restock, the modes are more useful than the mean.
When the mean and median disagree
The mean is pulled towards extreme values; the median is not. Six people earn 30, 32, 35, 38, 40 and 250 thousand a year.
- Mean = 425 ÷ 6 ≈ 70.8 thousand
- Median = (35 + 38) ÷ 2 = 36.5 thousand
Five of the six earn less than the mean, so the mean gives a misleading picture of a typical salary here. That is why incomes and house prices are often reported as medians. If the mean and median of your data are far apart, the data is skewed, and the median is the safer “typical” value.
No mode, one mode or several
- No mode: every value appears exactly once, as in 2, 5, 9.
- One mode (unimodal): one value appears more often than any other.
- Two or more modes (bimodal, multimodal): several values tie for the highest count. The calculator lists all of them.
If every value appears the same number of times, such as 1, 1, 2, 2, textbooks differ. Some say both values are modes; others say there is no mode because nothing stands out. The calculator lists both values as modes and points out the tie, so you can follow your course’s rule.
Common mistakes
- Forgetting to sort before finding the median. The median of 9, 2, 7 is 7, not 2. Always put the values in order first.
- Taking one middle value when n is even. With an even count there are two middle values; average them.
- Leaving out repeated values. If 13 appears four times, it goes into the sum four times and takes four places in the sorted list.
- Counting the mode’s frequency as the mode. In Example 1 the mode is 13 (the value), not 4 (how often it appears).
- Treating the range as the spread of typical values. One outlier can double the range. For a fuller picture of spread, use the standard deviation.
Tips
- Paste straight from a spreadsheet column: new lines count as separators. Use dots for decimals, because commas separate values.
- Negative numbers and decimals work. The calculator adds decimals with extra precision, so 0.1 added ten times gives exactly 1.
- Lists of up to 100,000 values work; for very long lists the sorted view shows the values around the middle.
For the spread of the data, the next step is the standard deviation calculator. To see how far a single value sits from the mean, use the z-score calculator. For a weighted average of marks, try the grade calculator. Everything runs in your browser and nothing is uploaded.