Average Calculator

Calculate various types of averages including mean, median, mode, geometric mean, harmonic mean, and more. Features include charts, visualizations, step-by-step solutions, and calculation history.

For learning and homework help — verify critical calculations independently.

Reviewed by CalculatorDrive Math Editorial Board · Last updated

Calculator

The short answer

The most common "average" is the arithmetic mean: add every number together and divide by how many there are. For 10, 20, 30, 40, 50 that's (10+20+30+40+50) ÷ 5 = 30. This calculator also computes the median, mode, geometric mean, harmonic mean, and quadratic mean (RMS), because each one answers a slightly different question about the same data.

Key takeaways

  • The mean uses every value, so a single outlier can pull it far from where most of the data actually sits — the median is more resistant to extreme values.
  • Growth rates and investment returns should be averaged with the geometric mean, not the arithmetic mean, or the result overstates the true compounded return.
  • Rates over a fixed distance or amount — like average speed on a round trip — call for the harmonic mean, not the arithmetic mean.
  • Mode is the only average defined for non-numeric (categorical) data, but if every value in a numeric set is unique, there is no mode at all.

Which average should I use?

Situation Best average Why
Typical data, few outliersMeanUses every data point equally
Skewed data (income, home prices)MedianResistant to extreme values
Most common item, categorical dataModeOnly average defined for non-numeric data
Growth rates, investment returnsGeometric meanCorrectly compounds multiplicative change
Rates like speed or price per unitHarmonic meanCorrect for averaging rates over equal amounts
Emphasizing larger deviations (error analysis)Quadratic mean (RMS)Squares amplify the effect of larger values

Worked example: six averages, one data set

Take the numbers 4, 8, 6, 5, 3, 8. Every average type below is mathematically valid — they just weight the data differently:

Average Formula Result
Quadratic mean (RMS)√(Σx² / n)5.97
Arithmetic meanΣx / n5.67
Medianmiddle of sorted list5.50
Geometric meanⁿ√(x₁ × x₂ × ... × xₙ)5.33
Harmonic meann / Σ(1/x)5.00
Modemost frequent value8

Notice the ordering: RMS ≥ mean ≥ geometric mean ≥ harmonic mean. This isn't a coincidence — it holds for every positive data set and is a useful sanity check when you're not sure whether a calculation went wrong.

Common mistakes to avoid

  • Averaging percentage changes with the arithmetic mean. A -50% change followed by a +100% change does not average to +25% — $100 that drops to $50 then doubles back to $100 has a true (geometric) average change of 0%.
  • Averaging rates (speeds, prices per unit) without weighting them by distance or quantity — this calls for the harmonic mean, covered in the FAQ below.
  • Assuming mean and median are interchangeable. On skewed data like household income or home prices, a handful of very high values can push the mean well above where most people's actual numbers sit.
  • Expecting a mode on data with no repeated values — if every number in the set is unique, there is no mode, not a mode of zero.

Frequently Asked Questions

What is an average (mean)?

The arithmetic mean is the sum of all values divided by how many values there are. It represents a typical value in a data set.

When is the mean misleading?

A few very large or very small values can pull the mean away from where most data cluster. In those cases, the median may describe the center better.

How is average different from median?

The mean uses every value in the calculation. The median is the middle value when data are sorted. They match for symmetric data but differ when the distribution is skewed.

Can I average percentages directly?

Only when each percentage refers to the same whole. If sample sizes differ, weight each percentage by its group size before averaging.

How do I use this average calculator?

Enter your numbers separated by commas or spaces, then click Calculate. The tool returns the mean and shows the sum and count used.

Why is average speed not just the arithmetic mean of two speeds?

When you travel equal distances at different speeds — say 60 mph there and 40 mph back — the correct average speed is the harmonic mean, not the arithmetic mean. Harmonic mean of 60 and 40 is 2 / (1/60 + 1/40) = 48 mph, not 50 mph, because more time is spent traveling at the slower speed.

More math calculators