Mean, Median, Mode & Range Calculator

Type or paste a list of numbers to get the mean, median, mode, range, count, sum, minimum and maximum. Every answer comes with the working, a frequency table and a plot of your data.

Grades 5–9FreeNo sign-up

Try:

Tip: you can paste a column straight from a spreadsheet. Anything that isn’t a number is skipped and reported.

How to use the mean, median and mode calculator

  1. Type or paste your numbers into the box. Commas, spaces, semicolons and new lines all work as separators, so a column copied from a spreadsheet pastes in cleanly.
  2. The results update as you type: mean, median, mode, range, count, sum, minimum and maximum.
  3. Scroll down for the sorted list, the step-by-step working, a frequency table and a plot. Small data sets get a dot plot; large ones get a histogram. The mean (solid line) and median (dashed line) are marked on the picture.

Negative numbers and decimals are fine. If an entry is not a number (for example a stray word or “N/A”), the calculator ignores it and tells you which entries were skipped.

What the three averages mean

Mean, median and mode are three different ways to describe the “typical” value of a data set. Together they are called measures of central tendency.

MeasureHow to find itBest when…
MeanAdd all the values, divide by how many there arethe data has no extreme values
MedianSort the values, take the middle onethere are outliers or the data is lopsided (skewed)
ModeFind the value that appears most oftenyou want the most common value, or the data is categories

Mean

The mean is what most people call “the average”. The formula is mean = sum of the values ÷ number of values. Because every value is included in the sum, one very large or very small number can pull the mean a long way.

Median

The median is the middle value once the data is in order. Finding it depends on whether the count n is odd or even:

Mode

The mode is the value with the highest frequency. A data set can have one mode, two modes (bimodal), several modes (multimodal) or no mode at all if every value appears exactly once.

Range

The range is not an average — it measures spread. It is simply maximum − minimum. For a fuller picture of spread, try the standard deviation calculator or the five-number summary and box plot calculator.

Worked example

Data: 4, 8, 15, 16, 23, 42 (already sorted, n = 6)

Mean: 4 + 8 + 15 + 16 + 23 + 42 = 108, and 108 ÷ 6 = 18.

Median: n is even, so average the 3rd and 4th values: (15 + 16) ÷ 2 = 15.5.

Mode: every value appears once, so there is no mode.

Range: 42 − 4 = 38.

Notice that the mean (18) is bigger than the median (15.5). The large value 42 drags the mean upward but barely affects the median. When the mean is above the median the data is usually skewed right; when it is below, skewed left.

Mean or median: which should I use?

Imagine five houses on a street worth $200,000, $210,000, $220,000, $230,000 and $1,900,000. The mean price is $552,000 — more than four of the five houses are worth! The median, $220,000, describes a typical house far better. That is why news reports about incomes and house prices nearly always quote the median. For data without extreme values, such as heights of students in one class, the mean and median are close together and the mean is the usual choice.

Common mistakes

Frequently asked questions

How do you find the mean, median and mode?

Mean: add all the values and divide by how many there are. Median: sort the values and take the middle one (or the average of the two middle ones if the count is even). Mode: find the value that appears most often.

What if there is no mode or more than one mode?

If every value appears exactly once, the data set has no mode. If two values tie for most frequent the set is bimodal, and with three or more it is multimodal. The calculator lists every mode.

How do you find the median when there is an even number of values?

Sort the data, find the two middle values (positions n ÷ 2 and n ÷ 2 + 1) and average them. For 3, 5, 8, 10 the median is (5 + 8) ÷ 2 = 6.5.

Is the mean the same as the average?

In everyday language, yes: “average” almost always means the arithmetic mean. In statistics, mean, median and mode are all kinds of average, so it is clearer to name the one you used.

Which is better, the mean or the median?

Use the mean for data without extreme values and the median when there are outliers or the data is skewed, such as incomes or house prices. The median is not pulled by a few very large or very small numbers.

What is the range of a data set?

The range is the largest value minus the smallest value. It tells you how spread out the data is. For 4, 8, 15, 16, 23, 42 the range is 42 − 4 = 38.