Mean, Median & Mode Calculator

Calculate mean, median, mode, range, sum, min and max from a set of numbers. Shows sorted data.

Source: BBC Bitesize — Maths

Konstantin Iakovlev

By Konstantin Iakovlev · Founder, Calks.uk

Last updated: · Methodology reviewed for 2026

Mean

19

Median

16.5000

Mode

15

Count

8

Sum

152

Min

12

Max

30

Range

18

Sorted: 12, 15, 15, 15, 18, 22, 25, 30

Disclaimer

This calculator is for guidance only. Double-check any result you rely on. Everything is calculated in your browser; nothing you enter is sent to our servers.

How It Works

The three averages, mean, median and mode, each summarise a data set differently. The mean is the sum divided by the count, so it uses every value but gets dragged around by outliers. The median is the middle value once the numbers are sorted, and it shrugs those outliers off. The mode is the most frequent value, and it is the only one of the three that means much for categorical or discrete data. Take the set [2, 4, 4, 5, 8]. Its mean is 23/5 = 4.6, its median is 4 because that value sits in the middle, and its mode is 4 as well because it appears twice.

This calculator finds all three plus the range, which is the highest value minus the lowest. It sorts your data, marks the median position and identifies every mode, since a set can have several or none at all, and it shows step-by-step working for each measure. That working matters, because the three numbers can disagree sharply and knowing which one a headline is quoting is often the whole story.

Outliers are where the mean falls apart. Line up salaries of 25k, 28k, 30k, 35k, 40k and 250k and the mean lands at 68k, higher than five of the six people earn. The median is 32.5k, which describes the group honestly, and there is no mode because every value is unique. The shape of the distribution predicts the gap. Positive skew, with a long right tail, is normal for incomes, property and sales, and it leaves the median below the mean. Negative skew, where a ceiling bunches values at the top as exam scores capped at 100% do, works the other way. Only symmetric data such as heights and weights brings the three averages close together.

Choosing between them comes down to the shape of the data and the question being asked. The median suits incomes and property prices, where a small number of very large values would otherwise set the tone. The mean suits exam scores, which sit close enough to a normal distribution. The mode suits survey answers on a Likert scale of 1-5, where the most common opinion is the point of the exercise. Where the data carries genuine outliers, as sales and salary figures do, a median with the interquartile range describes it better than a mean with the standard deviation. UK government statistics generally follow that rule for incomes and property values.

Published figures show the gap in practice. UK median household income in 2024 was £35,000 against a mean of £40,000, the mean inflated by high earners. The median UK house price in 2026 is £290,000 while the mean is £370,000, skewed by London properties above £1M. Median weekly earnings for full-time work were £692 in April 2024, and median full-time gross hourly pay was £17.43. Mean private-sector rent runs at £1,200 a month across the UK and £1,750 in London.

Once the difference is clear, the wording used in news reports starts to matter. An 'average UK salary' is always worth checking, because the mean and the median tell different stories. A 'median worker' is the 50th percentile, with half earning more and half less. An 'average household pays' figure for council tax is usually a mean, pulled up by expensive boroughs, whereas an average NHS waiting time is often quoted as a median because outliers distort it. Standard deviation, where it appears, describes spread rather than position. The ONS at gov.uk/ons uses medians and the interquartile range for most income and wealth statistics, while tabloid averages tend to be whichever measure flatters the argument.

Example: Data set {3, 7, 7, 2, 9}

  1. Sorted: 2, 3, 7, 7, 9
  2. Mean: (2+3+7+7+9) ÷ 5 = 5.6
  3. Median: 7 (middle value)
  4. Mode: 7 (appears twice)
  5. Range: 9 − 2 = 7

Source: BBC Bitesize — Maths

Frequently Asked Questions

What sets the mean, median and mode apart?
The mean is the sum of the values divided by how many there are, so it gets pulled around by outliers. The median is the middle value once the numbers are sorted and shrugs those outliers off, while the mode is simply the value that appears most often. On the set [2, 4, 4, 5, 8] the mean is 4.6, the median is 4 and the mode is 4, which is about as close as the three usually come.
Why is the average UK salary usually quoted as a median?
Because pay is positively skewed, with a long tail of very high earners pulling the mean upwards. UK median household income in 2024 was £35,000 while the mean was £40,000, a gap created almost entirely by the top of the distribution. The ONS therefore uses medians and the interquartile range for most income and wealth statistics, and a 'median worker' means the 50th percentile, with half of workers earning more and half less.
How badly can a single outlier distort the mean?
Badly enough to make it useless. Six salaries of 25k, 28k, 30k, 35k, 40k and 250k produce a mean of 68k, which is higher than five of the six people actually earn. The median of 32.5k describes the same group honestly, and the set has no mode at all because every value appears once. That is why sales and salary data are normally reported as a median alongside the interquartile range.
Can a set of numbers have more than one mode?
Yes, and it can also have none. The mode is whichever value appears most often, so a set where two values tie has two modes, and a set of entirely unique values has no mode at all. The calculator sorts your numbers, marks the middle position for the median and lists every mode it finds, alongside the range, which is the highest value minus the lowest.