Mean, Median and Mode Calculator
Find the middle value, the most common value and the range of a list.
Last updated 2026-11-28 · How we calculate this
Mean, Median and Mode
Enter at least two numbers to see the mean, median and mode.
Numbers must be plain digits: write 1000 rather than 1,000, and leave out units and currency symbols. Values that differ only by trailing zeros, such as 2.5 and 2.50, count as the same number, but 2.5 and 2.51 do not, so round measurements to the same precision first if you want them to group into a mode. For data already grouped into classes or a frequency table, the median and mode need grouped-data formulas, which this page does not do.
Quick Answer
Sort the numbers from smallest to largest first. The median is the middle one, or halfway between the two middle ones when the count is even. The mode is the number that appears most often, and the range is the largest minus the smallest. For 4, 8, 6, 5, 3, 8, 9, 5 the mean is 6, the median is 5.5, the modes are 5 and 8, and the range is 6.
How to Use This Calculator
Type or paste your numbers into the box, separated by commas, spaces or new lines, in any order. The calculator sorts them for you, then shows the mean, the median, every mode and the range in one go, along with the sorted list and a line explaining how the median was picked. It is handy for homework that asks for all four, for checking a set of survey answers, or for seeing whether a few unusual values are pulling the mean away from the middle.
- Type or paste your numbers into the box, in any order.
- Separate them with commas, spaces or new lines.
- Read the mean, median, mode and range.
- Check the sorted list to see where the median and the modes come from.
The Formula
Mean = sum ÷ count · Median = middle of the sorted list · Mode = most frequent value · Range = largest − smallest
The mean uses every value, so one very large or very small number can move it a long way. The median only cares about position: with an odd count it is the single middle number, and with an even count it is the mean of the two middle numbers, so it can be a value that is not in the list, such as 5.5. The mode counts how often each value appears; a list can have one mode, several tied modes, or none if nothing repeats. The range is a quick measure of spread rather than a middle value.
Worked Example
Opening list: 4, 8, 6, 5, 3, 8, 9, 5 sorted is 3, 4, 5, 5, 6, 8, 8, 9. The 8 numbers add up to 48, so the mean is 6. The two middle numbers are 5 and 6, so the median is 5.5. Both 5 and 8 appear twice, so there are two modes, and the range is 9 − 3 = 6.
Quiz scores: 7, 9, 6, 9, 10 sorted is 6, 7, 9, 9, 10. The total is 41, so the mean is 8.2. With 5 scores the median is the third one, 9, which is also the mode because it appears twice. The range is 10 − 6 = 4.
Overnight lows in a cold week: −2, 4, 1, −5, 3, 0 °F sorted is −5, −2, 0, 1, 3, 4. The total is 1, so the mean is 1 ÷ 6 = 0.1667 °F. The middle two are 0 and 1, so the median is 0.5 °F. No temperature repeats, so there is no mode, and the range is 4 − (−5) = 9 °F.
Frequently Asked Questions
Sources: NIST/SEMATECH e-Handbook of Statistical Methods, Measures of Location; Australian Bureau of Statistics, Measures of central tendency