Mean, Median, Mode Calculator
Type or paste numbers to get the mean, median, mode and range at once, with the sorted list and the working for each.
Working
Sorted: 3, 5, 7, 12, 13, 14, 20, 23, 23, 23, 23, 29, 39, 40, 56
Mean = sum ÷ count = 330 ÷ 15 = 22
Median: n = 15 is odd, so take value number 8 in the sorted list (highlighted) = 23
Mode: 23 appears 4 times, more than any other value
Range = max − min = 56 − 3 = 53
The three averages
The mean is the balance point: add everything and divide by how many there are. The median is the middle value once the data are sorted, so half the values are below it and half above. The mode is the most frequent value, and the only average that works for categories like eye colour or favourite brand.
Worked example
For 3, 7, 5, 13, 20, 23, 39, 23, 40, 23, 14, 12, 56, 23, 29, the sum is 330 and n = 15, so the mean is 22. Sorted, the eighth value is 23, which is the median. 23 appears four times, so it is also the mode. The range is 56 − 3 = 53.
Need averages where some values count more than others, like course grades? Use the weighted average calculator. For growth rates, the geometric mean is the right average.
Frequently asked questions
How do you find the median of an even number of values?
Sort the values and average the two middle ones. For 2, 4, 7, 9 the middle pair is 4 and 7, so the median is 5.5.
What if there is no mode, or more than one?
If every value appears once, the data set has no mode. If two values tie for most frequent, it is bimodal and both are modes; with more ties it is multimodal. This calculator lists every tied mode.
Which is better, mean or median?
Use the median when the data are skewed or contain outliers (house prices, incomes, waiting times), because one extreme value can drag the mean a long way. Use the mean for roughly symmetric data and when you need it for later calculations such as standard deviation or t-tests.
How do I find the range?
Subtract the smallest value from the largest. It is quick but depends only on two values, so a single outlier changes it completely. The interquartile range is a sturdier alternative.
What does it mean when the mean is bigger than the median?
Usually that the data are right-skewed: a tail of large values pulls the mean up while the median stays with the bulk of the data. Mean below median suggests left skew.