Average Calculator — Mean, Median, Mode & More
Enter a list of numbers and get the mean, median, mode, range and standard deviation instantly, with step-by-step workings.
Mean, median and mode — what's the difference?
All three are types of average, but they measure different things. Understanding which one to use — and when — is one of the most practically useful bits of maths you'll ever learn.
The mean (also called the arithmetic average) is what most people picture when they hear the word "average". Add all the numbers together and divide by how many there are. Simple and widely understood, but easily skewed by extreme values.
The median is the middle value when all numbers are sorted in order. If there's an even count of numbers, it's the average of the two middle values. The median ignores outliers entirely — it only cares about position, not magnitude.
The mode is the value that appears most often. It's the only average that makes sense for non-numerical data (like the most popular shoe size in a shop), and it's particularly useful when you need to know what's most common rather than what's typical.
Why median is often more useful than mean
Consider UK house prices. The Office for National Statistics reports a mean average that is significantly higher than what most buyers actually pay — because a small number of multi-million-pound London properties drag the mean upward. The median gives a fairer picture of what a typical buyer pays, because half the transactions are above it and half are below.
The same logic applies to salaries. When the ONS reports "average salary" in its Annual Survey of Hours and Earnings (ASHE), they use the median — not the mean — precisely because a small number of very high earners would inflate the mean far beyond what most workers actually take home.
The mode matters most when you're looking at categories or frequencies. A shoe retailer doesn't need to know the mean shoe size of their customers — they need to know the most popular size so they know what stock to order.
Worked example — 8 students' test scores
Eight students sat a test. Their scores were: 45, 62, 71, 71, 78, 82, 89, 95
Mean: (45 + 62 + 71 + 71 + 78 + 82 + 89 + 95) ÷ 8 = 593 ÷ 8 = 74.125
Median: Sorted data is already in order. With 8 values, the median is the average of the 4th and 5th values: (71 + 78) ÷ 2 = 74.5
Mode: 71 appears twice; all other scores appear once. Mode = 71
Range: 95 − 45 = 50
Notice how the mean (74.125) and median (74.5) are close in this fairly symmetric dataset. In a dataset with extreme outliers, they would be much further apart — which is exactly when the choice between them matters most.
8 numbers entered
—
—
How outliers affect your results
The most important thing to understand about averages is that the mean is sensitive to outliers and the median is not. Imagine you have the salaries of five colleagues: £25,000, £27,000, £28,000, £30,000, and £32,000. The mean is £28,400 and the median is £28,000 — very close. Now a sixth person joins the team on £500,000. The mean jumps to £107,000, which is wildly unrepresentative of what anyone actually earns. The median barely moves — it shifts to £29,000.
This is why the ONS always reports median pay when describing UK earnings. A handful of hedge fund managers and FTSE 100 chief executives would otherwise push the national mean far above what the typical worker takes home.
Choosing the right average
Use the mean when your data is reasonably symmetric and has no extreme outliers — for example, the heights of a group of adults, or the time it takes to complete a task. The mean uses every data point and is the most statistically powerful when used appropriately.
Use the median when your data has outliers or is skewed — house prices, salaries, wealth, waiting times. It gives a better sense of what's "typical" in the dataset.
Use the mode when you need to know the most common value — most popular product size, most frequent response in a survey, most common number of items in an order.
Standard deviation explained simply
The standard deviation tells you how spread out the numbers are from the mean. A low standard deviation means the values cluster tightly around the mean — they're similar to each other. A high standard deviation means the values are widely scattered. This calculator uses the population standard deviation (σ), which is appropriate when your numbers represent the complete dataset rather than a sample from a larger population.
For example, in the test scores dataset (45–95), the standard deviation is around 15.7. This means most scores fall within about 15–16 marks of the mean of 74.125. If the standard deviation were 2, you'd know the scores were all clustered very closely together — a much more consistent class.
What range tells you
The range is simply the highest value minus the lowest value. It's the quickest way to describe how spread out the extreme values are. However, range is very sensitive to outliers — a single unusually high or low value will change it dramatically, even if all the other values are clustered together. For a more robust measure of spread, standard deviation is usually more informative.
Real-world data from the ONS
The ONS Annual Survey of Hours and Earnings (ASHE) consistently shows a meaningful gap between median and mean pay in the UK. In 2024, full-time employees earned a median of around £37,500 per year, but the mean was noticeably higher — because high earners pull the mean upward. The spread between these two figures tells you something important about income inequality: the wider the gap between median and mean, the more skewed the distribution is toward the top.
Frequently asked questions
The mean is the sum of all values divided by the count — the arithmetic average most people learn at school. The median is the middle value when all numbers are sorted in order; half the values are above it and half below. The mode is the value that appears most often. All three are types of "average", but each measures something different about the dataset.
Add all the numbers together and divide by how many there are. For example, to find the mean of 5, 8, and 12: (5 + 8 + 12) ÷ 3 = 25 ÷ 3 = 8.33. This calculator does it instantly and shows the full working so you can see exactly how the result was reached.
The median is resistant to outliers — extreme values that can drag the mean far from what's typical. UK house prices are the classic example: a small number of multimillion-pound London properties inflate the national mean significantly, making it unrepresentative of what most buyers pay. The median gives a fairer picture because it only cares about position in the sorted list, not magnitude. The ONS uses median rather than mean when reporting UK salaries for exactly this reason.
Standard deviation measures how spread out the values are from the mean. A small standard deviation means most values are clustered close to the mean. A large standard deviation means the values are widely scattered. It is calculated as the square root of the average squared distance of each value from the mean. This calculator uses population standard deviation (σ), which is appropriate when your data represents a complete group rather than a sample.
If two values appear the same number of times (and more frequently than any other value), the dataset is bimodal — it has two modes. For example, in the set 2, 2, 3, 3, 5, both 2 and 3 are modes. A dataset with more than two modes is multimodal. If every value appears exactly once, there is no mode — this calculator will show "N/A" in that case.
Range is the difference between the highest and lowest values in a dataset. It tells you the span of the extreme values. For example, if the lowest score is 45 and the highest is 95, the range is 50. Range is simple to calculate but sensitive to outliers — a single extreme value can make the range look very large even if most of the data is tightly clustered.
The Office for National Statistics uses the median when reporting UK earnings in its Annual Survey of Hours and Earnings (ASHE). This is because the mean is significantly inflated by a small number of very high earners — using the mean would make typical pay look far higher than it actually is for most workers. The median gives a more representative picture of what the average employee actually takes home.
Results are mathematically computed from the numbers you enter. For data analysis requiring professional accuracy, verify results with a qualified statistician or data analyst. This calculator uses population standard deviation (σ), which differs from sample standard deviation (s) — if you are working with a sample from a larger population, divide by n−1 rather than n when calculating variance.