Average calculator

Paste or type a list of numbers. You get every kind of average at once, plus the range and the sum.

Separate them with commas, spaces or new lines. You can paste a column from a spreadsheet.

Average (mean)

19.285714

of 7 numbers

Value

Median
18
Mode
15
Range
18 (12 to 30)
Sum
135
Count
7
Geometric mean
18.475589

How it works

  1. Type or paste your numbers, separated by commas, spaces or new lines.
  2. Read the mean, median and mode.
  3. Use the range and the chart to spot unusual values.

Questions

What is the difference between mean, median and mode?

The mean adds everything and divides by the count. The median is the middle value when sorted. The mode is the value that appears most often. One very large number pulls the mean up but barely moves the median.

Can I paste from Excel or Google Sheets?

Yes. Copy a column or row and paste it in. Tabs and new lines between the numbers are fine.

What if two numbers are equally common?

The data then has more than one mode, and all of them are listed. If no number repeats, there is no mode.

How do I find a weighted average, such as a grade?

Multiply each value by its weight, add them up, and divide by the total of the weights. For school grades with credits, the GPA calculator does this.

Which average to use

  • Mean is the usual average: the sum divided by the count. It uses every value, so one extreme value moves it a lot.
  • Median is the middle value once the numbers are sorted, or the mean of the two middle values for an even count. It ignores extremes, which is why house prices and incomes are usually reported as medians.
  • Mode is the most common value. It is the only average that works for categories, such as the most popular shoe size.

An example with an outlier

Five salaries: $40,000, $42,000, $45,000, $48,000 and $250,000. The mean is $85,000, which describes nobody in the group. The median is $45,000, which is a fair picture of a typical salary. When the mean and the median are far apart, the data is skewed, and the median is usually the better summary.

Geometric mean

For growth rates and ratios, the geometric mean is the right average. If an investment grows 50% one year and falls 50% the next, the arithmetic average return is 0%, but you have lost money: 1.5 × 0.5 = 0.75. The geometric mean of 1.5 and 0.5 is about 0.866, a 13.4% loss each year, which matches what happened.