Average Calculator
Type or paste a list of numbers, separated by commas, semicolons, spaces, tabs or new lines. The calculator gives the mean, the median, the mode and the range of the list.
Average calculator
Result
Enter at least one number.
Four ways to summarize a list of numbers
“Average” usually means the arithmetic mean, but the median and the mode are averages too, and each describes a list differently. Which one is most useful depends on the shape of the data.
- Count
- How many numbers are in the list. The mean and the median both depend on it.
- Mean
- The sum of the numbers divided by the count. It uses every value, so one very large or very small number pulls it toward itself.
- Median
- The middle value once the list is sorted. With an even count there are two middle values, and the median is halfway between them. Extreme values barely move it.
- Mode
- The value that appears most often. A list can have one mode, several, or none.
- Range
- The largest value minus the smallest. It shows how spread out the list is, using only its two extremes.
The formulas
- Mean
- mean = sum of the values ÷ count
- Median, odd count
- median = the middle value of the sorted list
- Median, even count
- median = (sum of the two middle values) ÷ 2
- Range
- range = largest value − smallest value
For the mode, the calculator counts how often each value occurs and reports every value tied for the highest count. If no value occurs more than once, it reports that there is no mode.
A worked example
The list
The list 3, 7, 7, 2, 9, 12, 7, 4 has 8 numbers. Sorted from smallest to largest it is 2, 3, 4, 7, 7, 7, 9, 12.
Mean
The numbers add up to 51, and 51 ÷ 8 = 6.375.
Median
With 8 numbers there are two middle values, in positions 4 and 5 of the sorted list: 7 and 7. Halfway between them is 7.
Mode
7 appears 3 times, more often than any other value, so the mode is 7.
Range
The largest value is 12 and the smallest is 2. 12 − 2 = 10.
Reading the result
- Numbers that are equal count as the same value however they are written: 2.50 and 2.5 are one value when the mode is counted.
- If anything in the list is not a number, the calculator names it and shows no results. It does not skip the entry, because a value dropped without notice would change every answer.
- When two or more values tie for the highest count, all of them are modes. In 1, 1, 2, 2, 3 the modes are 1 and 2.
- The mean need not be a value in the list, or even a possible value: the mean of 1 and 2 is 1.5.
- A list can hold up to 1000 numbers, each with up to 15 digits before the decimal point and 10 after it, in at most 30000 characters. A longer list is refused as a whole, with a message saying so; no part of it is calculated.
Common questions
- When is the median a better average than the mean?
- When a few values sit far from the rest. The five numbers 30, 32, 35, 38 and 200 have a mean of 67, which is higher than four of the five, and a median of 35, which is closer to what most of them are. For data without such outliers the two are usually close.
- Can a list have no mode?
- Yes. Under the definition used here, a list in which every value appears exactly once has no mode, because no value is more common than another. Some textbooks say instead that every value in such a list is a mode. The calculator says “no mode,” so that the result is not taken for a real peak in the data.
- How are commas and decimal points read?
- Commas, semicolons, spaces, tabs and new lines all separate numbers, in any mix. The decimal point is a period. Because a comma always separates two numbers, 1,5 is read as the two numbers 1 and 5, and 1,000 as 1 and 0. Write one and a half as 1.5 and one thousand as 1000. A number may start with a plus or minus sign, so +7 and -7 are both read.
- Does this work out a weighted average?
- No. Every number in the list counts once. A value that should count double can be entered twice, which gives it twice the weight. For weights that are not whole numbers, a weighted mean has to be calculated separately.
Other calculators
- Percentage Calculator
Find what percent one number is of another, calculate a percentage of an amount, or raise or lower a value by a percentage.
- Percentage Change Calculator
Compare a starting value with a final one: the difference between them, the change as a percentage, and whether it went up or down.
- Fraction Calculator
Add, subtract, multiply or divide two fractions. The answer is reduced to lowest terms and also given as a mixed number and a decimal.
- Ratio Calculator
Reduce a ratio such as 12 : 18 to its simplest form, or scale a ratio to find the missing term of an equivalent one.