Skip to content
Free Tool Arena

How-To & Life · Guide · Unit Converters

How to calculate averages

Arithmetic mean, weighted mean, median vs mode, geometric and harmonic means, when each is right, and why the mean misleads skewed data.

Updated April 2026 · 6 min read

“The average” is doing a lot of work in most sentences, and people usually mean the arithmetic mean—add everything up, divide by the count. But the median and the mode are also averages, and in skewed data they often describe the typical case better than the mean does. The average household income in the United States is higher than the median household income because a handful of billionaires pull the mean upward; report the mean and you’ll mislead people about the “middle” household. Weighted averages appear everywhere grades are calculated, geometric means show up in finance and biology, and harmonic means matter when averaging rates. This guide covers the three main averages and when to use each, weighted averages, how outliers distort the mean, and when geometric or harmonic means are the right choice.

Advertisement

The arithmetic mean

Sum the values, divide by the count. For test scores 80, 90, 70, 100: sum = 340, count = 4, mean = 85. This is what most people call “the average.” It’s the balance point of the data—if you placed weights at each value on a number line, the mean is where the line balances.

values: 80, 90, 70, 100
sum:    340
count:  4
mean:   340 / 4 = 85

The median

Sort the values and pick the middle one. For an even count, take the mean of the two middle values. The median is insensitive to outliers—changing the largest value from 100 to 1,000,000 doesn’t move the median at all. This makes it the right choice for skewed distributions like income, house prices, and web page load times.

sorted: 70, 80, 90, 100
even count → median = (80 + 90) / 2 = 85

sorted: 70, 80, 90, 100, 1000000
odd count → median = 90 (unchanged by the outlier)
mean would be 200,148 — wildly unrepresentative

The mode

The value that appears most often. There can be zero modes (all values unique), one mode (unimodal), or multiple modes (bimodal, multimodal). Mode is useful for categorical data (“most common shirt size”) where mean and median don’t make sense, and for spotting clustering in numeric data.

values: 2, 3, 3, 5, 7, 7, 7, 9
mode: 7 (appears three times)

values: 4, 4, 6, 8, 8, 10
modes: 4 and 8 (bimodal)

Mean vs. median vs. mode: when to use each

Use the mean when data is roughly symmetric and you care about the total (grades, dice rolls, heights). Use the median when data is skewed or has outliers (income, home prices, response times). Use the mode for categorical data or when you want to describe “the typical choice.”

Weighted averages

When some values count more than others, multiply each by its weight, sum, then divide by the total weight. Course grades are classic: homework 20%, midterm 30%, final 50%. A student with 85/100/70 on those gets (85×0.2 + 100×0.3 + 70×0.5) / 1 = (17 + 30 + 35) = 82.

Weights: 20, 30, 50  (must sum to 100)
Scores:  85, 100, 70

Weighted mean = (85×20 + 100×30 + 70×50) / 100
              = (1700 + 3000 + 3500) / 100
              = 8200 / 100
              = 82

The effect of outliers

A single extreme value can wildly distort the mean. Consider seven salaries: six at $50,000 and one CEO at $2,000,000. The mean salary is $328,571. The median is $50,000. The mean is mathematically correct but communicatively misleading. When reporting averages to humans, check the shape of the distribution first—if there’s a long tail, the median is more honest.

Geometric mean

For n values, the geometric mean is the n-th root of their product. It is the right tool for averaging ratios, growth rates, and multiplicative quantities. Annual investment returns of +20%, −10%, +30% have a geometric mean of√[3](1.20 × 0.90 × 1.30) − 1 ≈ 12.0%, which matches the actual compound growth. Taking the arithmetic mean (13.3%) overstates your returns.

Returns: +20%, −10%, +30%
As multipliers: 1.20, 0.90, 1.30

Arithmetic mean: (0.20 + (−0.10) + 0.30) / 3 = 13.3%  ← WRONG
Geometric mean: (1.20 × 0.90 × 1.30)^(1/3) − 1 ≈ 12.0%  ← correct

Harmonic mean

The harmonic mean of n values is n divided by the sum of reciprocals. It’s the right average for rates when the base unit is the same. If you drive 60 miles at 30 mph and 60 miles at 60 mph, your average speed is NOT 45 mph. Using the harmonic mean: 2 / (1/30 + 1/60) = 2 / (3/60) = 40 mph, which matches the total distance (120 miles) over total time (3 hours).

When to use geometric or harmonic

Use the geometric mean when averaging rates of change, growth rates, investment returns, or any multiplicative process. Use the harmonic meanwhen averaging rates where you’re holding the numerator constant (speeds over equal distances, prices per item). The arithmetic mean is almost always wrong for these cases.

Range and spread don’t disappear

An average alone is usually insufficient. Two datasets can have identical means with wildly different spreads: {49, 50, 51} and {0, 50, 100} both average 50, but you’d prefer to know you’re walking into the first one. Report an average alongside a measure of spread—standard deviation, interquartile range, or min/max.

Common mistakes

Reporting a mean for skewed data. Income, housing costs, load times, and viral popularity are heavily right-skewed. The mean drifts upward with the tail; the median stays with the typical case. Use the median.

Averaging averages without weights. If class A has 30 students with a mean of 80 and class B has 10 students with a mean of 90, the combined mean is NOT 85. It’s (30×80 + 10×90) / 40 = 82.5. You have to weight by group size.

Using arithmetic mean on growth rates. Compounding is multiplicative; arithmetic mean overstates returns. Geometric mean is the correct average.

Using arithmetic mean on rates. Average speed over fixed distances, average price per fixed quantity, and similar problems call for the harmonic mean, not the arithmetic mean.

Ignoring the mode for categorical data. You can’t take the mean of “red, blue, blue, green.” Mode is the only average that makes sense for non-numeric categories.

Treating the mean as “the answer.” Always check min, max, and spread. A mean of 50 with range 0–100 is very different from a mean of 50 with range 49–51.

Forgetting that median can equal mean. For symmetric distributions like the normal distribution, mean, median, and mode all coincide. The difference only shows up in skewed data, which is why people get sloppy with them on test scores and then mislead themselves on salaries.

Run the numbers

Drop your dataset into our average calculator and get mean, median, mode, range, and standard deviation in one pass. Pair it with the percentage calculator for expressing differences from the average as percentages, and the ratio calculator when you’re comparing averages across groups.

Advertisement

Found this useful?Email