Mean, Median, Mode Calculator

Paste your numbers, separated by commas, spaces or new lines, to get the three measures of central tendency — mean, median and mode — plus the range, sum and count.

Enter a list of numbers and press Calculate.

Mean, median and mode defined

These are the three classic measures of central tendency — different ways to describe the "middle" of a data set:

mean: add all values, divide by how many there are median: sort the values, take the middle one mode: the value (or values) that appears most often range: largest value − smallest value

When there's an even number of values, the median is the average of the two middle ones. A data set can have one mode, several modes, or no mode at all if every value is unique.

Worked example

For 4, 8, 15, 16, 16, 23, 42:

Mean: 124 ÷ 7 ≈ 17.71.
Median: sorted, the 4th of 7 values is 16.
Mode: 16 appears twice, so the mode is 16.
Range: 42 − 4 = 38.

Which average should you use?

The mean is the everyday average but is pulled around by outliers. The median is more robust — it's why incomes and house prices are usually reported as medians. The mode is the only one that works for categories (the most common shoe size, say).

Tip: if the mean and median are far apart, your data is skewed — a few very large or very small values are dragging the mean.

Frequently asked questions

What is the difference between mean, median and mode?

The mean is the arithmetic average, the median is the middle value when sorted, and the mode is the most frequently occurring value. They can all differ, especially in skewed data.

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

Sort the values and average the two in the middle. For 2, 4, 6, 8 the median is (4 + 6) ÷ 2 = 5.

Can a data set have more than one mode?

Yes. If two or more values tie for the highest frequency, the set is multimodal and all of them are modes. If every value is unique, there is no mode.

Why is the median often preferred over the mean?

The median resists outliers. A single very large value can distort the mean but barely moves the median, which is why incomes and home prices are reported as medians.

MB
Mustafa Bilgic · Editor, Calcool
The mean, median, mode and range are standard descriptive statistics, as defined by references such as the NIST/SEMATECH e-Handbook of Statistical Methods. All computation runs in your browser; nothing you paste is uploaded.

Related calculators