Mean, Median, Mode, Range Calculator
Calculate the mean (average), median, mode and range of a list of numbers, plus the count, sum, minimum, maximum and standard deviation. Paste numbers separated by commas, spaces or new lines.
- 100% free
- No signup
- Runs in your browser
How to use
- Type or paste your numbers into the box, separated by commas, spaces or line breaks.
- Click Calculate. The results also update while you type.
- Read the mean, median, mode and range, and the count, sum, minimum, maximum and standard deviation in the table.
Formulas
| Statistic | Formula |
|---|---|
| Mean | x̄ = Σx / n |
| Range | max − min |
| Standard deviation (population) | σ = √(Σ(x − x̄)² / n) |
| Standard deviation (sample) | s = √(Σ(x − x̄)² / (n − 1)) |
n is the number of values and Σx is their sum. The median is the middle value of the sorted list, or the average of the two middle values when the count is even. The mode is the most frequent value.
Mean, median or mode?
The mean is the usual average. It is pulled toward extreme values: one very high salary raises the mean salary of a small team a lot.
The median is the middle of the sorted list and is not affected by outliers, which is why it is used for house prices and incomes.
The mode is the most frequent value. It is the only one of the three that also works for categories, such as the most common shoe size.
Examples
| Example | Result |
|---|---|
| 2, 4, 4, 4, 5, 5, 7, 9 | Mean 5, median 4.5, mode 4, range 7, population standard deviation 2 |
| 3, 8, 1, 6 | Mean 4.5, median (3 + 6) / 2 = 4.5, no mode, range 7 |
| 10, 20, 20, 30, 30 | Two modes: 20 and 30 |