How to use the average calculator
- Choose what to average: a list of numbers, percentages from groups of different sizes, or times.
- Paste or type your values; commas, spaces and new lines all work, so you can paste a column from a spreadsheet.
- Read the average with its working, plus the median, mode, range and more.
Average formulas
Median = middle value when sorted (mean of the two middle values for an even count)
Mode = most frequent value ยท Range = maximum โ minimum
Average percentage = ฮฃ(percentage ร group size) รท ฮฃ group size
Geometric mean = (xโ ร xโ ร โฆ ร xโ)^(1/n) ยท Harmonic mean = n รท ฮฃ(1/x)
Worked examples
- Numbers 4, 8, 15, 16, 23, 42: sum 108 รท 6 = 18. Sorted, the middle two are 15 and 16, so the median is 15.5. No value repeats, so there is no mode.
- Percentages: 80% of a class of 50 passed and 90% of a class of 10. The simple average of 80 and 90 is 85%, but the true overall rate is (40 + 9) รท 60 = 81.67%, because the bigger class counts more.
- Times 5:30, 6:15, 5:58, 6:02: 330 + 375 + 358 + 362 = 1,425 seconds รท 4 = 356.25 s = 5:56.3.
Mean, median or mode?
- Mean uses every value and is what most people mean by โaverageโ. It is pulled by outliers: one $1M salary lifts the mean pay of a small team a lot.
- Median is the typical middle value and resists outliers, which is why house prices and incomes are usually reported as medians.
- Mode is best for the most common choice, such as a shoe size.
- Geometric mean suits growth rates and ratios; harmonic mean suits rates such as average speed over equal distances.
Common averaging mistakes
- Averaging percentages from groups of different sizes without weighting them (use the Percentages mode).
- Averaging times as decimals: 5:30 is 5.5 minutes, not 5.30.
- Averaging averages: combine the underlying totals instead, or weight each average by its count.
Give items different importance with the weighted mean calculator, measure spread with the standard deviation calculator, average class marks with the grade calculator, or convert between parts and percentages with the percent calculator. More math calculators.
Frequently asked questions
How do you calculate the average?
Add all the values and divide by how many there are. For 4, 8, 15, 16, 23 and 42, the sum is 108 and there are 6 values, so the average is 108 รท 6 = 18.
How do you calculate an average percentage?
If every percentage comes from a group of the same size, average them normally. If the groups differ in size, multiply each percentage by its group size, add them up and divide by the total size. 80% of 50 and 90% of 10 average to (40 + 9) รท 60 = 81.67%, not 85%.
How do you calculate an average time?
Convert each time to seconds, find the average, then convert back. 5:30, 6:15, 5:58 and 6:02 are 330, 375, 358 and 362 seconds; the total is 1,425, so the average is 356.25 seconds, or 5:56.3.
What is the difference between mean, median and mode?
The mean is the sum divided by the count. The median is the middle value when the numbers are sorted. The mode is the value that appears most often. For 2, 3, 3, 8, the mean is 4, the median is 3 and the mode is 3.
When should I use the median instead of the average?
Use the median when a few extreme values would distort the mean, such as incomes, house prices or response times. The median shows the typical value; the mean shows the total shared out equally.
Can I average averages?
Only if each average covers the same number of items. Otherwise weight each average by its count, or add up the original totals and divide by the total count.
What are the geometric and harmonic means?
The geometric mean multiplies the values and takes the nth root; it is the right average for growth rates. The harmonic mean divides the count by the sum of reciprocals; it is the right average for rates like speed over equal distances. Both need positive numbers.