Average Calculator

Calculate the mean, median, mode, and range of a set of numbers

Frequently Asked Questions

Add up all the numbers, then divide by how many numbers there are. The average of 4, 8, 6, 5, 3, 9, 7 is (4+8+6+5+3+9+7) ÷ 7 = 42 ÷ 7 = 6.
The mean is the sum divided by the count (the typical "average"). The median is the middle value when the numbers are sorted (or the average of the two middle values if there's an even count). The mode is the value that appears most often — there can be no mode, one mode, or multiple modes (if several values tie for most frequent).
Median is less affected by extreme outliers. For example, average household income is often reported as a median rather than a mean, because a few very high incomes can pull the mean far above what's typical, while the median better reflects the middle of the distribution.
Then there's no mode — mode only applies when at least one value repeats. This calculator will show "no mode" in that case rather than incorrectly listing every number.
Standard deviation measures how spread out your numbers are from the mean. A low standard deviation means values cluster tightly around the average; a high one means they're spread widely. This calculator uses the sample standard deviation (dividing by n−1), the standard choice when your numbers are a sample rather than an entire population.

Mean, median and mode

The calculator gives three kinds of average, plus the spread of your numbers:

  • Mean = sum of the values ÷ number of values. This is what most people call the average.
  • Median = the middle value after sorting; with an even count, the mean of the two middle values.
  • Mode = the value that appears most often. A list can have several modes or none.
  • Range = largest − smallest, and the standard deviation shows how far values typically sit from the mean (sample formula, dividing by n − 1).

Example

For 4, 8, 6, 5, 3, 9, 7 the sum is 42 and there are 7 values, so the mean is 6. Sorted, the list is 3, 4, 5, 6, 7, 8, 9, so the median is also 6. No value repeats, so there is no mode. The range is 9 − 3 = 6 and the standard deviation is about 2.16.

Which average to use

AverageBest forWeakness
MeanSymmetric data such as test scores or temperaturesPulled by extreme values
MedianSkewed data such as incomes and home pricesIgnores how far the other values are
ModeCategories or the most common sizeMay not exist or may not be unique

Outliers show the difference clearly. For salaries of $40,000, $45,000, $50,000, $55,000 and $400,000, the mean is $118,000 but the median is $50,000, which describes the typical salary far better. That is why government statistics report median household income.

Tips for entering data

  • Separate numbers with commas or spaces; decimals and negative numbers work.
  • If some values should count more than others, such as grades with different credit hours, use a weighted average instead.

For weighted averages, try the weighted average calculator. For grades, the GPA calculator handles credit hours, and to measure how two data sets move together, see the correlation calculator.