Average Calculator
The average, or mean, is the sum divided by the count. Six scores of 78, 85, 92, 88, 71 and 95 add to 509, so the mean is 84.83, while the median is 86.5. Adding a score of 40 drops the mean to 78.43 and the median only to 85.
| Mean (average) | |
| Median | |
| Sum | |
| Count of numbers used | |
| Smallest / largest | |
| Range | |
| Weighted average |
Text and empty entries are skipped. With no weights the weighted line stays empty, since a plain mean is already the answer above. Everything runs in your browser, nothing is uploaded.
Paste numbers separated by commas, spaces or line breaks to get the mean, median, sum, count and range, with an optional weights box for a weighted average.
Key takeaways
- Mean = sum / count, so 509 / 6 = 84.83 for those six scores
- The median of the same six scores is 86.5, and one outlier moves it far less
- Weighted average divides total cost by total quantity, giving $3.44 a gallon
- Percentages need their denominators: 5 of 100 and 90 of 900 combine to 9.5 percent
On this page
- What people mean by average
- Worked example: six scores, mean and median
- Worked example: what one outlier does to each center
- Weighted averages: when some numbers count more
- Averaging rates and percentages goes wrong quietly
- Mean and median in the national numbers you hear
- Which average to report
- Mistakes that produce a wrong average
What people mean by average
In everyday speech, average means the arithmetic mean: add the numbers and divide by how many there are. Six quiz scores of 78, 85, 92, 88, 71 and 95 add to 509, and 509 divided by 6 is 84.83.
Statistics has three common centers, and they answer different questions:
- Mean: the sum divided by the count. Every value has a vote, and a single extreme value can swing it.
- Median: the middle value once the list is sorted. Half the values sit above it and half below, so extremes barely move it.
- Mode: the value that appears most often. Useful for categories, such as the most common shoe size, and useless for a list where every value is unique.
The calculator reports the mean and the median side by side, plus the count, the sum, the smallest and largest values and the range. Seeing both centers at once is the fastest way to notice that a list is lopsided.
Worked example: six scores, mean and median
Sort the six scores first: 71, 78, 85, 88, 92, 95. With an even count there is no single middle value, so the median is the mean of the two middle ones, 85 and 88, which is 86.5.
- Sum: 78 + 85 + 92 + 88 + 71 + 95 = 509.
- Count: 6.
- Mean: 509 divided by 6 = 84.83.
- Median: (85 + 88) divided by 2 = 86.5.
- Range: 95 minus 71 = 24.
The mean sits below the median here, which tells you the list has a longer tail on the low side: the 71 pulls harder than the 95 pushes. That is the shape of the distribution in one number, and it is why both statistics are worth looking at before you decide a class or a team is doing fine.
An odd count is simpler. Drop the 71 and five scores remain: 78, 85, 88, 92, 95. The median is the third value, 88, and the mean is 438 divided by 5, which is 87.6.
Worked example: what one outlier does to each center
Now add a missed assignment scored 40 to the original six. The list becomes 40, 71, 78, 85, 88, 92, 95.
- New sum: 549. New count: 7.
- New mean: 549 divided by 7 = 78.43, down 6.4 points from 84.83.
- New median: the fourth of seven values, which is 85, down only 1.5 points from 86.5.
One zero out of seven assignments moved the mean four times as far as the median. This is not a quirk of the numbers; it is what the mean is built to do, because the 40 enters the sum at full weight while the median only counts its position.
| Data set | Sum | Mean | Median |
|---|---|---|---|
| Six scores | 509 | 84.83 | 86.5 |
| Six scores plus a 40 | 549 | 78.43 | 85 |
| Five scores (71 dropped) | 438 | 87.6 | 88 |
Which one is right depends on the question. A course grade that weights every assignment equally should use the mean, since the zero did cost points. A report on the typical student is better served by the median, because one bad week should not redefine the group.
Weighted averages: when some numbers count more
A plain mean gives every value the same weight, and plenty of real averages should not work that way. Gas is the classic case: you buy 12 gallons at $3.40, 8 gallons at $3.80 and 10 gallons at $3.20.
- Cost of the first fill: 12 times 3.40 = $40.80.
- Second: 8 times 3.80 = $30.40.
- Third: 10 times 3.20 = $32.00.
- Total: $103.20 for 30 gallons, so the average price paid is $3.44 a gallon.
The unweighted mean of the three prices is (3.40 + 3.80 + 3.20) divided by 3 = $3.4667, which rounds to $3.47. That figure is not the price you paid, because it treats 8 gallons the same as 12. The weighted version is the true average, and the difference of about 3 cents a gallon is real money over a year of driving.
| Fill-up | Gallons | Price | Cost |
|---|---|---|---|
| First | 12 | $3.40 | $40.80 |
| Second | 8 | $3.80 | $30.40 |
| Third | 10 | $3.20 | $32.00 |
| Total | 30 | $3.44 average | $103.20 |
The calculator has a weights box for exactly this: put the prices in the first box and the gallons in the second, and it divides the weighted sum by the total weight. Leave the weights empty and you get the plain mean.
Averaging rates and percentages goes wrong quietly
Percentages are ratios, and ratios cannot be averaged without their denominators. Two stores report conversion rates: store A had 100 visitors and 5 sales, store B had 900 visitors and 90 sales.
The plain mean of 5 percent and 10 percent is 7.5 percent, and that is not the combined rate. The combined figure is 95 sales out of 1,000 visitors, which is 9.5 percent. Store B carries nine times the traffic, so it dominates the real number.
The same trap appears in test scores across classes of different sizes, in average order values across regions, and in any dashboard that averages a column of percentages. The fix is to go back to the counts: add the numerators, add the denominators, then divide once.
Rates over time have a related problem. A fund that falls 50 percent and then rises 50 percent is not back where it started: $100 becomes $50, then $75. Averaging +50 and -50 to zero hides a 25 percent loss, and the right measure for a series of returns is the geometric mean, not the arithmetic one.
Mean and median in the national numbers you hear
Income statistics are reported as medians for a reason. The Census Bureau put median household income at $83,730 in 2024, essentially flat against $82,690 in 2023 in real terms, per its Income in the United States report. The median is used because a small number of households with very high incomes would drag a mean far above what a typical household sees.
Earnings work the same way. Median weekly earnings of full-time wage and salary workers were $1,251 in the second quarter of 2026, according to the BLS weekly earnings release. A separate BLS series, average weekly earnings of all employees on private payrolls, was $1,291.05 in June 2026, from the Real Earnings release.
Those two numbers are close but they are not a mean and median of the same group: one comes from a household survey of full-time workers and the other from a payroll survey of all private employees, including part-timers. Comparing them as if they measured the same population is a common error in news stories, and it is worth checking the source before repeating a comparison.
Which average to report
A short guide to picking the center that matches the question:
| Average | Use it when | Watch out for |
|---|---|---|
| Mean | Every value should count equally, such as a grade or a total cost | One extreme value can move it a long way |
| Median | The data is skewed, such as incomes, house prices or wait times | It ignores how far the extremes sit |
| Mode | The values are categories, such as sizes or colors | Several modes can tie, and it says nothing about spread |
| Weighted mean | Some observations stand for more than others, such as gallons or credits | Weights must be in the same units as the thing being averaged |
A useful habit is to report the mean and the median together whenever the audience might act on the number. If they differ by a lot, the spread is doing something the single figure hides, and the reader deserves to know.
For a quick read on spread, the calculator's range line is enough: 95 minus 71 is 24 points, which says more about that class than either center alone. A standard deviation would be more precise, and it is overkill for six numbers on a phone screen.
Mistakes that produce a wrong average
The arithmetic is simple, so the errors are structural.
- Counting blanks as zeros. A spreadsheet that averages a column with empty cells may treat them as zero, which pulls the mean down. The calculator ignores anything that is not a number, and reports how many entries it used.
- Dividing by the wrong count. The mean divides by the number of values, not by the number of rows, and not by the highest possible score.
- Averaging averages. Two class averages of 70 and 90 do not make 80 unless both classes have the same number of students.
- Rounding too early. Round each value to a whole number before adding and a list of 30 prices can drift by a dollar or more. Round once, at the end.
- Mixing units. Feet and inches, pounds and kilograms, dollars and cents in the same list give a number that means nothing.
One more: the mean of a list of integers need not be an integer. A mean of 84.83 is a fine answer, and rounding it to 85 before using it in a further calculation adds error that compounds.
Frequently asked questions
How do you calculate an average?
Add all the values and divide by how many there are. Six scores of 78, 85, 92, 88, 71 and 95 add to 509, so the mean is 509 divided by 6, which is 84.83.
What is the median of 71, 78, 85, 88, 92 and 95?
With an even count, take the mean of the two middle values, 85 and 88, which gives 86.5. Add a seventh value and the median becomes the fourth one in sorted order.
Why is the mean different from the median?
The mean uses every value at full weight, while the median only looks at position. Adding a score of 40 moved the mean from 84.83 to 78.43 but the median only from 86.5 to 85.
How do I average prices paid for different quantities?
Use a weighted average: multiply each price by the quantity, add the costs, and divide by the total quantity. 12 gallons at $3.40, 8 at $3.80 and 10 at $3.20 give $103.20 for 30 gallons, or $3.44 a gallon.
Can I average percentages?
Only with their denominators. 5 percent of 100 and 10 percent of 900 combine to 95 out of 1,000, which is 9.5 percent, not the 7.5 percent a plain average gives.
What is the average of 2, 4, 6 and 8?
The sum is 20 and there are four values, so the mean is 5. The median is also 5, since the two middle values are 4 and 6.
Does the calculator ignore blank cells and text?
Yes. It reads numbers separated by commas, spaces or new lines and skips anything that is not a number, then reports how many values it used.
What is a weighted average used for?
Any case where some observations stand for more than others, such as grades with different credit hours, gas bought in different amounts, or prices across purchase quantities.
Why do reports use median income instead of average income?
Because income is skewed: a few very high incomes pull a mean far above the typical household. The Census Bureau reported a median household income of $83,730 for 2024.
What is the range of a data set?
The largest value minus the smallest. For 71, 78, 85, 88, 92 and 95 the range is 24 points.
Is the average of a list always between the smallest and largest values?
Yes for the arithmetic mean and the median, since both are built from the values themselves. A weighted mean also stays inside the range when all weights are positive.
How do I average a list that includes a zero?
Include the zero as a real value if it is a real measurement. Seven scores including a 40 average 78.43, while dropping the 40 would report 84.83 and overstate the result.
What is the difference between mean and mode?
The mean is a computed center based on all values, and the mode is the value that appears most often. A list can have no mode at all when every value appears once.
Spotted a wrong number or a broken result?
More Math tools
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.