How to find the mean
The mean is what most people call the average. Add up every value, then divide by how many values there are.
Worked example
Find the mean of .
There are 7 values and they add to .
The mean doesn't have to be one of the values, or even a whole number. The mean of is .
How to find the median
The median is the middle value once the data is in order. Forgetting to order the data first is the most common mistake.
- Odd number of values: there's one middle value. For values, it's value number .
- Even number of values: there are two middle values. The median is halfway between them.
Worked example: odd count
Find the median of .
In order: . There are 7 values, so the median is value number , which is .
Worked example: even count
Find the median of .
In order: . The middle two values are and .
How to find the mode
The mode is the value that appears most often. Ordering the data first makes repeats easy to spot.
- : the mode is .
- : every value appears once, so there's no mode.
- : and both appear twice, so there are two modes, and (the data is bimodal).
The mode is the only one of the three that also works for categories, like the most popular sport in a class.
How to find the range
The range measures spread, not the centre. For the range is .
The range is always a single number. Writing "2 to 9" is not the range.
Mean, median, mode and range calculator (with working)
Paste or type your numbers. You’ll get the ordered data, mean, median, mode, range, quartiles and interquartile range, with every step.
Mean, median and mode from a frequency table
A frequency table tells you how many times () each value () appears. Add an column to find the total.
| Score () | Frequency () | |
|---|---|---|
| 1 | 2 | 2 |
| 2 | 5 | 10 |
| 3 | 8 | 24 |
| 4 | 3 | 12 |
| 5 | 2 | 10 |
| Total | 20 | 58 |
Worked example
Mean: divide the total of the column by the total frequency.
Median: there are 20 values, so the median is halfway between the 10th and 11th. Count down the frequencies: the 1s are values 1 to 2, the 2s are values 3 to 7, and the 3s are values 8 to 15. The 10th and 11th are both , so the median is .
Mode: the score with the highest frequency, .
Range: .
A common mistake is dividing by the number of rows (5) instead of the total frequency (20).
Quartiles and the interquartile range (Years 9 and 10)
Quartiles split ordered data into four equal parts. (the lower quartile) has a quarter of the data below it, the median () has half, and (the upper quartile) has three quarters.
The interquartile range is the spread of the middle half of the data:
The method most Australian textbooks use:
- Put the data in order and find the median.
- Split the data into a lower half and an upper half. If there's an odd number of values, leave the median out of both halves.
- is the median of the lower half, and is the median of the upper half.
Worked example: odd count
Find the IQR of .
There are 9 values, so the median is the 5th: . Leave it out.
Lower half: , so .
Upper half: , so .
Worked example: even count
Find the IQR of .
There are 8 values, so the halves are the first 4 and the last 4.
Lower half: , so .
Upper half: , so .
Methods for quartiles vary slightly between textbooks and calculators (some include the median in each half, some use a formula for the position). They can give slightly different answers for the same data, so follow the method your teacher uses.
Outliers (Year 10). A value is usually called an outlier if it's below or above . The five-number summary (minimum, , median, , maximum) is what you draw a box plot from.
Mean or median: which one to use
An outlier (a value far from the rest) pulls the mean towards it, but barely moves the median.
Five people earn $500, $550, $600, $650 and $5000 a week. The mean is , which is more than four of the five people earn. The median, $600, is a better summary of a typical wage.
- Use the mean when the data has no outliers.
- Use the median when there are outliers or the data is skewed.
- Use the mode for categories, or when you want the most common value.
The same goes for spread: the IQR isn't affected by outliers, but the range is.
Practice questions with answers
Try each one before you open the answer.
Find the mean of .
Show the answer
Find the median of .
Show the answer
In order: . The middle value is .
Find the median of .
Show the answer
In order: . The middle two are and , so the median is .
Find the mode and the range of .
Show the answer
Mode: (it appears 3 times). Range: .
The mean of five numbers is . Four of them are and . What is the fifth number?
Show the answer
The five numbers add to . The four you know add to , so the fifth is .
Find , and the IQR of .
Show the answer
The median is . Lower half: , so . Upper half: , so . .
A class recorded goals scored per game: 0 goals 4 times, 1 goal 6 times, 2 goals 7 times and 3 goals 3 times. Find the mean.
Show the answer
games. goals. Mean goals per game.
Mean, median and mode by year level
Following the Victorian Curriculum 2.0. Schools sequence topics differently, so check your course.
Year 7
Statistics
Mean, median, mode and range from lists of data and frequency tables.
Year 8
Statistics
Collecting data and samples, and how outliers change the mean and median.
Year 9
Comparing data sets
Comparing data sets using measures of centre and spread, including the range and IQR.
Year 10
Statistics
Quartiles, the interquartile range, five-number summaries, box plots and outliers.