Grades and data
Mean, median and mode calculator
Type or paste your numbers in any order. The calculator sorts them and finds the three kinds of average plus the range.
Press Calculate to see the answer and every step of the working.
How it works
"Average" can mean three different things, and each tells a slightly different story.
- The mean shares everything out equally: add the numbers and divide by how many there are.
- The median is the middle value once the list is in order. Half the numbers are below it and half are above.
- The mode is the value that turns up most often. A list can have one mode, several, or none.
The range is not an average. It measures spread: the gap between the smallest and largest numbers. When one value is far from the rest, the mean gets pulled toward it, while the median barely moves. That is why house prices and salaries are usually reported as medians.
The formula
- Mean = sum of values ÷ number of values
- Median = middle value of the sorted list (or the mean of the two middle values)
- Mode = most frequent value(s)
- Range = largest - smallest
Worked example
Seven friends count how many books they read this term: 4, 8, 6, 5, 3, 8, 9.
Sorted, that is 3, 4, 5, 6, 8, 8, 9. The total is 43, so the mean is 43 ÷ 7 = 6.14 books. The middle (4th) number is 6, the median. The number 8 appears twice, so the mode is 8. The range is 9 - 3 = 6.
Common questions
What if there are two middle numbers?
With an even count, the median is the mean of the two middle numbers. For 2, 4, 6, 10 it is (4 + 6) ÷ 2 = 5.
Can there be more than one mode?
Yes. If two values tie for most frequent, the data is bimodal and both are modes. If every value appears once, there is no mode.
Which average should I use?
Use the mean for fairly even data, the median when there are extreme values, and the mode for categories or the most popular choice, such as the most common shoe size.