Average Calculator

“Average” is four different calculations under one word, and using the wrong one for growth rates or speeds gives a simply false answer. This picks the right mean for what your numbers actually are, shows every other average alongside it, and tells you what the ordinary one would have cost you. It also flags skewed data and shows how much one outlier is carrying.

Average calculator

“Average” is four different calculations wearing one word. Tell it what your numbers are and it will use the right one — and show you what the usual one would have cost you.

What are these numbers?

—

Separated by commas, spaces, tabs or new lines — a column pasted from a spreadsheet works.

Picking the wrong one has a price

Returns and growth ratesAn investment gains 50% one year and loses 50% the next. The arithmetic mean says the average return was 0% — but a pound became £1.50 and then 75p, so you lost a quarter of it. The geometric mean gives −13.3975% a year, which is the number that actually compounds back to what happened.
Speeds and ratesYou drive out at 60 mph and back at 30 mph along the same road. The arithmetic mean says 45 mph. You were travelling slowly for twice as long as you were travelling fast, so the real average speed is the harmonic mean, 40 mph.
Skewed dataIncomes, house prices, waiting times. A handful of very large values drags the mean well above what a typical case looks like, and the median is usually the honest summary. When your mean and median are far apart, that is the data telling you which one to quote.
Averages of averagesYou cannot average three class averages to get the year average unless the classes are the same size. Weight each one by how many it covers, or work from the raw numbers.

Every value is computed in exact rational arithmetic and only rounded for display, so a mean of 1 and 2 is exactly 3/2 rather than a decimal that nearly is. The geometric mean and the standard deviation involve roots and are shown to the precision given.

The geometric mean needs every number to be positive, since an even root of a negative is not a real number, and the harmonic mean needs the same because a zero would mean dividing by it. Where that happens the page says so rather than leaving a blank.