Average Calculator
An average can mean the mean, the median or the mode. The mean adds every value and divides by the count, the median is the middle value of the sorted list, and the mode is the value that appears most often. For 12, 15, 15, 18, 20, 22, 95 the mean is 28.1429, the median is 18 and the mode is 15, which shows how the single large value 95 pulls the mean far above the typical value.
Mean
28.1429
Median
18
Mode
15
Range
83
Count
7
Sum
197
Minimum
12
Maximum
95
Working
- Mean = 197 ÷ 7 = 28.1429
- Sorted: 12, 15, 15, 18, 20, 22, 95
- Median = the middle value (position 4 of 7) = 18
- Mode = 15
- Range = max − min = 95 − 12 = 83
Example: 12, 15, 15, 18, 20, 22, 95
- Mean = 197 ÷ 7 = 28.1429
- Sorted: 12, 15, 15, 18, 20, 22, 95
- Median = the middle value (position 4 of 7) = 18
- Mode = 15
- Range = max − min = 95 − 12 = 83
Mean, median and mode compared
The mean uses every number, so it is the natural average for symmetric data and the quantity behind most formulas, including the standard deviation. The median depends only on the order, so it resists outliers and is usually preferred for incomes, house prices and other skewed data. The mode is the only average that works for categories such as the most common shoe size, and it is the one that can have no answer or several.
This calculator also reports the range (maximum minus minimum), the count, the sum and the minimum and maximum. When the mean and median differ by a large share of the range, it warns you that extreme values are pulling the mean.
Ties, even counts and multimodal data
For an even number of values the median is the average of the two middle numbers: for 4, 7, 9, 13 it is (7 + 9) ÷ 2 = 8. If every value appears once there is no mode. If two or more values tie for the highest count, the data are multimodal and every tied value is a mode: 1, 1, 2, 2, 3 has modes 1 and 2. Some textbooks say such data have "no mode", others list all tied values; this tool lists all of them and shows the working.
Enter numbers separated by commas, spaces or new lines. Anything that is not a number is flagged by name instead of being ignored, so a typo cannot silently change the mean.
Frequently asked questions
- What if there is no mode?
- If every value appears once there is no mode. If several values tie for the most appearances, each of them is a mode.
- How is the median found for an even count?
- Sort the numbers and average the two middle values. For 4, 7, 9 and 13 the median is (7 + 9) ÷ 2 = 8.
- When is the median better than the mean?
- When the data are skewed or contain outliers, such as salaries. The median stays near the typical value while the mean is pulled toward the extremes.
- Is average the same as mean?
- In everyday use, "average" usually means the mean, but statistically it can also mean the median or the mode. Say which one you mean.
Sources and references
- OpenStax Introductory Statistics 2e: Measures of the Center of the Data: mean, median and mode.