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

Enter numbers

Count—
Sum—
Minimum—
Maximum—
Standard deviation (sample)—
Standard deviation (population)—

How to use

  1. Type or paste your numbers into the box, separated by commas, spaces or line breaks.
  2. Click Calculate. The results also update while you type.
  3. 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
Tips: Separate numbers with commas, spaces, or new lines. Empty entries are ignored.

FAQ

Values are sorted. If there is an odd count, the median is the middle value. If even, it is the average of the two middle values.

All values that share the highest frequency are listed, for example “20, 30”. If every value appears only once, there is no mode and the field shows a dash.

Range is the difference between the largest and smallest value in the list.

In everyday language they are the same: the arithmetic mean is what most people call the average. The median and the mode are other kinds of average.

Use the population version when your numbers are the whole group you care about, and the sample version (which divides by n − 1) when they are a sample from a larger group, as in most surveys and experiments.

Yes. Copy a column or a row and paste it; tabs, spaces and line breaks all work as separators.

Need another tool?

Explore all 61 free tools: calculators, converters, date and time tools, random generators and text utilities.

Browse all tools