Average Calculator

Paste or type a list of numbers to see their mean, median, sum, count, smallest and largest value as you type.

Count
6
Sum
496
Average (mean)
82.6667
Median
85
Minimum
66
Maximum
98

How to use

  1. Paste your numbers into the box, separated by commas, spaces or line breaks. A column copied from a spreadsheet works too, thousands separators included.
  2. The count, sum, average (mean), median, minimum and maximum update as you type.
  3. Press Clear to empty the box and start a new list.

Examples

InputOutput
72, 85, 90, 66, 85, 98
Count: 6
Sum: 496
Average (mean): 83
Median: 85
Minimum: 66
Maximum: 98
30 32 31 29 250
Count: 5
Sum: 372
Average (mean): 74
Median: 31
Minimum: 29
Maximum: 250
1.2 0.8 1.5 1.1
Count: 4
Sum: 5
Average (mean): 1
Median: 1
Minimum: 1
Maximum: 2

About this tool

Mean: the everyday average

The mean adds every number and divides by how many there are:

mean = sum ÷ count

For 4, 8, 15, 16, 23 and 42 the sum is 108 and the count is 6, so the mean is 18.

Median: the middle value

Sort the numbers and take the one in the middle. With an even count there are two middle values, and the median is halfway between them: in the list above, 15 and 16 sit in the middle, so the median is 15.5.

When mean and median disagree

One extreme value pulls the mean but barely moves the median. Five daily commute times of 30, 32, 31, 29 and 250 minutes have a mean of 74.4, yet a typical day took about 31, which is the median. When a list contains a one-off spike, such as a delayed train or a single very large sale, report the median alongside the mean. If the two are close, the data are roughly symmetric and either one describes it well.

How the list is read

The tool picks out every number it finds and ignores words, so you can paste a line like Scores: 70, 85, 90 directly. Minus signs and decimals are understood, as is scientific notation such as 2.5e3.

Commas, spaces and new lines all work as separators, so 1,2,3 and 1 2 3 give the same list. Thousands separators are understood too: 1,250 counts as one number, as does 12,345.6. Decimals are written with a point. The one case to watch is a list of numbers with exactly three digits glued together by commas, such as 100,200,300, which reads as the single number 100200300; add a space after each comma or put them on separate lines.

Min, max and range

The minimum and maximum show the spread at a glance. Subtract one from the other to get the range: for the commute times above it is 250 − 29 = 221 minutes, another sign that one value is unusual.

Everything is calculated in your browser; the numbers you paste are not sent anywhere.

Frequently asked questions

How do I calculate the average of a list of numbers?

Add all the numbers and divide by how many there are. For 72, 85, 90, 66, 85 and 98 the sum is 496 and the count is 6, so the average is about 82.67.

What is the difference between mean and median?

The mean is the sum divided by the count; the median is the middle value once the list is sorted. A single very large or small value moves the mean much more than the median.

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

Sort the list and average the two middle values. For 4, 8, 15, 16, 23, 42 the middle pair is 15 and 16, so the median is 15.5.

Can I paste numbers with thousands separators?

Yes. A value like 1,250 or 12,345.6 is read as one number, while commas between other numbers separate them. Use a point, not a comma, for decimals.