Mean, median and mode explained
- Mean (the usual "average"): add all the numbers and divide by how many there are.
- Median: the middle number once the list is sorted. With an even count, it's the mean of the two middle numbers.
- Mode: the number that appears most often. A list can have more than one mode, or none.
- Range: the largest number minus the smallest.
Worked example
Six test scores: 72, 85, 90, 85, 78 and 95.
- Sum: 505, so the mean is 505 ÷ 6 = 84.17
- Sorted: 72, 78, 85, 85, 90, 95. The two middle numbers are 85 and 85, so the median is 85
- 85 appears twice, so the mode is 85
- Range: 95 − 72 = 23
- Sample standard deviation: 8.23, meaning most scores sit within about 8 points of the mean
Which average should I use?
The mean uses every value, so it's the best summary when the numbers are fairly even. The median isn't pulled by extreme values, which is why house prices and incomes are usually reported as medians: one mansion or billionaire can lift the mean a lot without changing the median. The mode is handy for the most common size, rating or answer.
Sample or population standard deviation?
Standard deviation measures how spread out the numbers are. Use the sample version (dividing by n − 1) when your numbers are a sample from a bigger group, which is the usual case and what spreadsheets' STDEV does. Use the population version (dividing by n), shown below the results, when your list is the whole group.
Working out a weighted grade? Use the grade calculator or the GPA calculator, which handle weights and credits.
Frequently asked questions
How do I calculate the average of a list of numbers?
Add the numbers together and divide by how many there are. For 72, 85, 90, 85, 78 and 95, the sum is 505 and the average is 505 ÷ 6 = 84.17.
What's the difference between mean and median?
The mean is the sum divided by the count. The median is the middle value when sorted. They differ when a few values are much bigger or smaller than the rest.
How do I enter my numbers?
Type or paste them with commas, spaces, semicolons or new lines between them. You can copy a column straight from a spreadsheet.
Is my data uploaded?
No. All the calculations happen in your browser.