How to use the Average Calculator
- Type or paste your numbers. Separate them with commas, spaces or new lines.
- The mean, median and mode update as you type.
- Use the copy button to grab the result.
How it works
The mean is what most people call the average: add the numbers and divide by how many there are. The median is the middle value once the numbers are sorted, or the mean of the two middle values when there's an even count. The mode is the value that appears most often, and a list can have more than one mode or none.
The median is better than the mean when a few very large or very small values would pull the mean away from typical values, as with house prices or incomes. For a weighted average, such as a grade where tests count more than homework, use the grade calculator.
Formula
Mean = sum ÷ count Median = middle value of the sorted list Mode = most frequent value Range = largest − smallest
Example
For 4, 8, 15, 16, 23 and 42, the sum is 108 and there are 6 numbers, so the mean is 108 ÷ 6 = 18. The median is the mean of 15 and 16, which is 15.5. No number repeats, so there is no mode. The range is 42 − 4 = 38.
Mean, median or mode?
| Use | When |
|---|---|
| Mean | Values are spread fairly evenly with no extreme outliers, such as test scores |
| Median | A few extreme values would distort the mean, such as incomes or home prices |
| Mode | You want the most common answer, such as shoe sizes or survey choices |
Worked examples
| Numbers | Mean | Median | Mode | Range |
|---|---|---|---|---|
| 90, 85, 77, 92, 88 | 86.4 | 88 | None | 15 |
| 12, 15, 15, 18, 40 | 20 | 15 | 15 | 28 |
| 3.5, 4, 4.5, 4, 5, 3 | 4 | 4 | 4 | 2 |
| 120, 135, 150, 128, 142, 160, 131 | 138 | 135 | None | 40 |
| 1, 2, 2, 3, 3, 3, 100 | 16.29 | 3 | 3 | 99 |
The last row shows why the median matters: one extreme value (100) pulls the mean up to about 16.3, while the median, 3, still describes a typical value.
How to calculate a weighted average
When some values count more than others, multiply each value by its weight, add those up, and divide by the total of the weights. If tests are worth 60% and homework 40%, and you scored 82 on tests and 95 on homework, the weighted average is (82 × 0.6 + 95 × 0.4) ÷ 1 = 87.2, not the simple average of 88.5.
| Item | Score | Weight | Score × weight |
|---|---|---|---|
| Tests | 82 | 60% | 49.2 |
| Homework | 95 | 40% | 38.0 |
| Total | 100% | 87.2 |
How to average percentages
You can only average percentages directly when they're based on the same total. If a student scored 80% on a 50-question test and 90% on a 10-question quiz, the overall score is (40 + 9) ÷ 60 = 81.7%, not 85%. Convert each percentage back to counts, add, and divide by the combined total. The same goes for averaging averages from groups of different sizes.
Average formulas in Excel and Google Sheets
| What you want | Formula |
|---|---|
| Mean (average) | =AVERAGE(A1:A10) |
| Median | =MEDIAN(A1:A10) |
| Mode | =MODE.SNGL(A1:A10) (Excel) or =MODE(A1:A10) |
| Weighted average | =SUMPRODUCT(A1:A5,B1:B5)/SUM(B1:B5) |
| Average ignoring zeros | =AVERAGEIF(A1:A10,"<>0") |
| Range | =MAX(A1:A10)-MIN(A1:A10) |
Frequently asked questions
How do I calculate an average?
Add all the numbers together, then divide by how many numbers there are. The average of 2, 4 and 9 is 15 ÷ 3 = 5.
What's the difference between mean and median?
The mean is the sum divided by the count. The median is the middle value. In 1, 2, 3, 4 and 100, the mean is 22 but the median is 3.
Can there be more than one mode?
Yes. If two or more values tie for the most appearances, they are all modes.
How do I average percentages?
If each percentage is based on the same total, average them normally. If not, add up the parts and the totals and divide.
What's the difference between mean and average?
In everyday use they're the same thing: the sum divided by the count. Statisticians call it the arithmetic mean, and sometimes use “average” loosely for the median or mode too.
How do I find the average of percentages?
If the percentages come from different-sized groups, convert them to counts, add them, and divide by the combined total. Only average them directly when every group is the same size.
How do I calculate a weighted average?
Multiply each value by its weight, add the results, and divide by the sum of the weights. In a spreadsheet, use SUMPRODUCT(values, weights) / SUM(weights).
Last reviewed December 3, 2026. Spotted an error? Tell us.
Add this calculator to your website
Free for blogs, schools and businesses. Copy the code and paste it into your page (in WordPress, use a Custom HTML block). Please keep the credit link.