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

Enter Your Numbers

Type or paste 2 to 1,000 numbers in any order, separated by commas, spaces or new lines. Write large numbers without commas (1000, not 1,000).

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.

  1. Type or paste your numbers into the box, in any order.
  2. Separate them with commas, spaces or new lines.
  3. Read the mean, median, mode and range.
  4. 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

How do I find the median of an even number of values?

Sort the list, take the two numbers in the middle and find the number halfway between them by adding them and dividing by 2. For 3, 4, 5, 5, 6, 8, 8, 9 the middle pair is 5 and 6, so the median is 5.5. The median of an even count does not have to be one of the numbers in the list.

Can a list have more than one mode, or no mode?

Yes to both. If two values tie for most often, the list is bimodal and both are modes; three or more tied values make it multimodal. If no value appears more than once, there is no mode. When every value appears the same number of times, such as 2, 2, 3, 3, 4, 4, this page lists them all, but some teachers say that list has no mode, so check which rule your class uses.

Which should I use: mean, median or mode?

The mean is best when the numbers are fairly even and you want every value to count, such as test scores. The median is better when a few extreme values would distort the picture, such as house prices or incomes. The mode suits things you count rather than measure, like the most common shoe size sold or the most popular answer in a survey.

What does the range tell me?

How far apart the smallest and largest values are. Scores from 70 to 75 (a range of 5) are tightly bunched, while scores from 40 to 98 (a range of 58) are widely spread. Because it uses only the two extremes, one unusual value changes it a lot; the Standard Deviation Calculator gives a measure of spread that uses every number.

Does the order I type the numbers in matter?

No. The calculator sorts the list before finding the median, and the mean, mode and range do not depend on order at all. The sorted list appears in the results so you can check the middle values yourself, which is also a good habit when working by hand.

What is an easy way to remember which is which?

Median sounds like the median strip down the middle of a highway, so it is the middle value. Mode and most both start with "mo", so the mode is the value that appears most often. The mean takes the most arithmetic: add everything up and divide by how many numbers there are.

Sources: NIST/SEMATECH e-Handbook of Statistical Methods, Measures of Location; Australian Bureau of Statistics, Measures of central tendency