Lelifi·tools

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.

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.

By the Lelifi editors ·

Key takeaways

Two centers, and only one of them moves with an outliermean = sum / count509 / 6 = 84.83median = middle of the sorted list = 86.5add one 40: mean 78.43, median 85The mean uses every value; the median only cares about position.
The mean follows every value, the median follows position.
What each fill-up cost: $103.20 for 30 gallons, so $3.44 a gallon$40.80$30.40$32.0012 gal at $3.40 ($40.80)8 gal at $3.80 ($30.40)10 gal at $3.20 ($32.00)
Three fill-ups, one true average price per gallon.
On this page
  1. What people mean by average
  2. Worked example: six scores, mean and median
  3. Worked example: what one outlier does to each center
  4. Weighted averages: when some numbers count more
  5. Averaging rates and percentages goes wrong quietly
  6. Mean and median in the national numbers you hear
  7. Which average to report
  8. 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:

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.

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.

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 setSumMeanMedian
Six scores50984.8386.5
Six scores plus a 4054978.4385
Five scores (71 dropped)43887.688

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.

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-upGallonsPriceCost
First12$3.40$40.80
Second8$3.80$30.40
Third10$3.20$32.00
Total30$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:

AverageUse it whenWatch out for
MeanEvery value should count equally, such as a grade or a total costOne extreme value can move it a long way
MedianThe data is skewed, such as incomes, house prices or wait timesIt ignores how far the extremes sit
ModeThe values are categories, such as sizes or colorsSeveral modes can tie, and it says nothing about spread
Weighted meanSome observations stand for more than others, such as gallons or creditsWeights 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.

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

See all Math tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.