Mean, Median & Mode Calculator

Paste a list of numbers to get mean, median, mode, range and more.

Mean
20.714286
Median 18
Mode
15
Count
7
Sum
145
Min / max
12 / 40
Range
28

How it works

The median is the middle of the sorted list and is less sensitive to outliers than the mean. The mode is the most frequent value.

Worked example

Using these inputs: numbers 12, 15, 15, 18, 21, 24, 40.

The result is Mean: 20.714286.

  • Median 18
  • Mode: 15
  • Count: 7
  • Sum: 145
  • Min / max: 12 / 40
  • Range: 28

Formula reviewed November 2026 · How we build calculators

Frequently asked questions

What is the difference between mean and median?

The mean is the average of all values; the median is the middle value when sorted. The median is less affected by outliers.

Can a data set have more than one mode?

Yes. If several values tie for most frequent, the data set is multimodal.

Which average should I use?

Use the mean for symmetric data, the median when there are outliers (like house prices or incomes) and the mode for the most common category.

Esc