Mean, Median and Mode Calculator

Paste a list of numbers. Get the mean, median, mode, range and standard deviation.

How it works

Separate numbers with spaces, commas or new lines, up to 1,000 of them. You get standard deviation both ways: population when you have the whole group, and sample when your data is part of a larger group.

Example

Find the mean, median and mode of 12, 7, 3, 7, 9, 15, 7, 10.

Mean 8.75 ยท Median 8

Mode
7
Range
12
Count
8
Sum
70
Std dev (population)
3.4187
Std dev (sample)
3.6547

Steps

  1. In order: 3, 7, 7, 7, 9, 10, 12, 15.
  2. Mean: 70 รท 8 = 35/4 โ‰ˆ 8.75.
  3. Median: with 8 values, average numbers 4 and 5: (7 + 9) / 2 = 8.
  4. Mode: 7 shows up most (3 times).
  5. Range: 15 โˆ’ 3 = 12.
  6. Squared distances from the mean add up to 93.5. Population: โˆš(93.5 / 8) = 3.4187. Sample: โˆš(93.5 / 7) = 3.6547.

More examples

Find the mean and median of 20, 22, 25, 24, 200.

Mean 58.2 ยท Median 24

Mode
None
Range
180
Count
5
Sum
291
Std dev (population)
70.9208
Std dev (sample)
79.2919

Steps

  1. In order: 20, 22, 24, 25, 200.
  2. Mean: 291 รท 5 = 291/5 โ‰ˆ 58.2.
  3. Median: with 5 values, it’s value number 3: 24.
  4. Mode: no value repeats, so there is no mode.
  5. Range: 200 โˆ’ 20 = 180.
  6. Squared distances from the mean add up to 25148.8. Population: โˆš(25148.8 / 5) = 70.9208. Sample: โˆš(25148.8 / 4) = 79.2919.

Find the mean, median and mode of 88, 92, 79, 92, 85, 64.

Mean 83.3333 ยท Median 86.5

Mode
92
Range
28
Count
6
Sum
500
Std dev (population)
9.724
Std dev (sample)
10.6521

Steps

  1. In order: 64, 79, 85, 88, 92, 92.
  2. Mean: 500 รท 6 = 250/3 โ‰ˆ 83.3333.
  3. Median: with 6 values, average numbers 3 and 4: (85 + 88) / 2 = 173/2.
  4. Mode: 92 shows up most (2 times).
  5. Range: 92 โˆ’ 64 = 28.
  6. Squared distances from the mean add up to 567.3333. Population: โˆš(567.3333 / 6) = 9.724. Sample: โˆš(567.3333 / 5) = 10.6521.

Common mistake

Sort the list before finding the median. With an even count, average the two middle values.

Questions

Mean or median: which should I use?

The median when there are outliers. In 20, 22, 25, 24, 200 the mean is 58.2, but the median, 24, is closer to most of the data.

Can a list have no mode, or two?

Yes. If every value appears once there is no mode. If two values tie for most often, both are modes.

Population or sample standard deviation?

Use population when the list is the whole group, and sample when it is part of a bigger group. Sample divides by n โˆ’ 1, so it comes out a little larger.

Keep going