Skip to content
everylittletool

Average Calculator

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

Runs in your browser — nothing is uploaded

Mean (average)

18.142857

Median

18

Mode

15

appears 2 times

Range

13

12 to 25

Sum

127

Count

7

Std. deviation (sample)

4.525062

variance 20.47619

Std. deviation (population)

4.189394

variance 17.55102

Working

Mean = sum ÷ count
127 ÷ 7 = 18.142857
Median = middle value of the sorted list
12, 15, 15, 18, 20, 22, 25 → 18
Standard deviation = √(Σ(x − mean)² ÷ (n − 1)) for a sample, or ÷ n for a whole population
Σ(x − mean)² = 122.857143; √(122.857143 ÷ 6) = 4.525062; √(122.857143 ÷ 7) = 4.189394

How to use Average Calculator

  1. 1

    Type or paste your numbers into the box, separated by commas, spaces or new lines.

  2. 2

    Read the mean, median, mode, range, sum, count and both standard deviations as you type.

  3. 3

    Check the Working panel to see the sum, the sorted list and the deviation formula.

  4. 4

    Select Clear to start again with a new set of numbers.

About this tool

The mean is what most people call the average: add every value and divide by how many there are. For 12, 15, 15, 18, 20, 22 and 25 the sum is 127 and the count is 7, so the mean is 18.142857. The median is the middle value once the list is sorted (18 here); with an even count it is the average of the two middle values. The mode is the value that appears most often (15), and the range is the largest value minus the smallest (25 − 12 = 13).

The mean is pulled by extreme values, while the median is not. In a list of salaries, one very high figure can lift the mean well above what a typical person earns, so the median is often the better summary for skewed data.

Standard deviation measures how spread out the values are. The population version divides the sum of squared deviations by n and is right when your list is the whole group. The sample version divides by n − 1 (Bessel's correction) and is the one to use when your numbers are a sample from a larger group, the usual case in surveys and experiments. Both are shown.

Anything that isn't a number is ignored and listed under the box, so you can paste a column straight from a spreadsheet. Your data stays in your browser.

Questions people ask

How do you calculate the average of a set of numbers?

Add them up and divide by how many there are. The average of 4, 8 and 9 is (4 + 8 + 9) ÷ 3 = 7.

What is the difference between mean and median?

The mean is the sum divided by the count; the median is the middle value of the sorted list. For 1, 2, 3, 4 and 100 the mean is 22 but the median is 3.

Can a list have more than one mode?

Yes. If two or more values tie for the most appearances, all of them are modes. If no value repeats, there is no mode.

Should I use sample or population standard deviation?

Use population when your list includes every member of the group you care about, and sample when it is a subset used to estimate a larger group. The sample value is slightly larger because it divides by n − 1.