01 / Mean
Add, then divide
Add every number and divide by how many there are. This is what is usually meant by the average.
Free tool
Paste or type your numbers, and get the average (the mean), the median, every mode, the range, the sum, the count, the smallest and largest number, the geometric and harmonic mean, the quartiles and any outliers. Each answer comes with its working so you can follow it. Switch to weighted average when some numbers count for more, or to grouped data when you only have ranges and counts. Numbers can be split by spaces, commas, tabs or new lines, so a column copied from a spreadsheet works as it is.
Separate numbers with spaces, commas, semicolons, tabs or new lines. Anything that is not a number is skipped and listed.
Worked out in your browser. Nothing is sent anywhere.
How it works
01 / Mean
Add every number and divide by how many there are. This is what is usually meant by the average.
02 / Median
Sort the numbers and take the one in the middle, or the mean of the two in the middle. One huge number does not move it.
03 / Mode
The number that appears most often. A list can have one mode, several, or none.
Guide
An average calculator finds one number that stands for a whole list. The most common kind is the mean: add the numbers and divide by how many there are. This page works out the mean, median and mode together, plus the range, sum, count, smallest and largest value, the geometric and harmonic mean, the quartiles and any outliers, and it writes out each step. It also has a weighted average mode for grades and prices, and a grouped data mode for numbers that come as ranges.
Take the list 12, 15, 15, 18, 22, 30, 95. There are 7 numbers. They add up to 207, and 207 divided by 7 is 29.5714, so the mean is about 29.57. Sorted, the list is already in order, and the fourth number is 18, so the median is 18. The number 15 appears twice and no other number does, so the mode is 15. The range is 95 − 12 = 83.
The mean is much higher than the median here because of the 95. That is why you should look at more than one average. If a few big numbers pull the mean up, such as a few very high salaries, the median usually describes the typical value better.
| Average | How it is found | Best when |
|---|---|---|
| Mean | Sum divided by count | The numbers are spread evenly, with no extreme values |
| Median | The middle of the sorted list | A few very large or very small values would distort the mean |
| Mode | The most frequent value | You want the most common choice, such as a shoe size |
With an even count, the median is the mean of the two middle numbers. For 2, 4, 6, 8 the middle pair is 4 and 6, so the median is 5. If every number appears once, the list has no mode. If two numbers tie for most often, both are listed.
Use a weighted average when some numbers count for more than others. Pick Weighted average, then type one row per line: the value, a space, and its weight. A course with an exam worth 40%, a project worth 30% and homework worth 30% might have scores of 90, 80 and 70. Multiply each score by its weight and add: 90 × 40 + 80 × 30 + 70 × 30 = 3600 + 2400 + 2100 = 8100. The weights add up to 100, and 8100 divided by 100 is 81. A plain average of the three scores would be 80, so the weights made a difference. The weights do not have to add up to 100. The calculator always divides by their total.
When you only know how many values fall in each range, pick Mean of grouped data and type one class per line: lower limit, upper limit, frequency. Each class is counted at its midpoint. With the classes 0 to 10 (3 values), 10 to 20 (7), 20 to 30 (12) and 30 to 40 (5), the midpoints are 5, 15, 25 and 35. Then 3 × 5 + 7 × 15 + 12 × 25 + 5 × 35 = 15 + 105 + 300 + 175 = 595, and 595 divided by the 27 values is 22.04. Because the real values are lost, this is an estimate.
The outlier check uses a common rule of thumb. Find the first quartile (Q1) and third quartile (Q3), the medians of the lower and upper halves, and their gap, the IQR. A number below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR is flagged. In the example, Q1 is 15, Q3 is 30 and the IQR is 15, so the fences are −7.5 and 52.5, and 95 is flagged. A flag is a prompt to look at the number, not proof that it is wrong. Other tools split the halves differently and can give slightly different quartiles.
The geometric mean multiplies the numbers and takes the root, and suits growth rates and ratios. The harmonic mean suits rates such as speed. Both need numbers above zero, and the page says so when they cannot be worked out.
To go from a mean to a spread, try the standard deviation calculator. For percentages of a total, use the percentage calculator, and for sums with fractions, the fraction calculator.
Questions
Add all the numbers and divide by how many there are. The average of 4, 8 and 9 is (4 + 8 + 9) / 3 = 7.
In everyday use they mean the same thing. Strictly, the mean is one kind of average, and the median and mode are others. This page shows all three.
Sort the numbers. With an odd count, take the middle one. With an even count, take the mean of the two middle ones.
Yes. If two numbers appear equally often and more than any other, both are modes. If no number repeats, there is no mode.
Multiply each value by its weight, add the results, and divide by the sum of the weights. Choose Weighted average and type a value and a weight on each line.
Yes. Copy the cells and paste them into the box. New lines and tabs separate the numbers.
It uses the 1.5 × IQR rule of thumb. A number far outside the middle half of the data is flagged so you can check it. It may still be a true value.
The geometric and harmonic means need every number to be above zero. If your list has a zero or a negative number, they are not shown.
No. The numbers stay in your browser. They are only remembered on your own device so the page is ready next time.