Geometric mean

Analytika TeamLast reviewed 5 min read

The arithmetic mean adds values up. The geometric mean multiplies them. That makes it the right average whenever quantities combine by multiplication, such as investment returns, population growth or fold-changes in biology.

The formula

GM = (x₁ × x₂ × … × xₙ)^(1/n) = exp(mean of log x)

The second form is how software calculates it: take logs, average them, and transform back. It also shows why the values must be positive, because logs of zero or negative numbers aren’t defined.

Worked example: average growth

An investment grows 10% in year 1, 50% in year 2, and falls 20% in year 3.

  • Arithmetic mean of the rates: (10 + 50 − 20) / 3 = 13.3% per year.
  • Growth factors: 1.10, 1.50 and 0.80. Their product is 1.32, so the geometric mean is 1.32^(1/3) ≈ 1.097, which is 9.7% per year.

Check: £100 → £110 → £165 → £132, and £100 × 1.097³ ≈ £132. The geometric mean reproduces the real outcome. Growing 13.3% a year would have given about £145, so the arithmetic mean overstates the typical return.

Skewed positive data

For right-skewed variables such as concentrations, incomes or engine power, the geometric mean gives a typical value less dominated by the largest cases. Horsepower for the 32 cars in R’s mtcars data has an arithmetic mean of 146.7, a geometric mean of 131.9, and a median of 123.

This is closely related to a log transformation. Analysing log-transformed data and back-transforming the mean gives the geometric mean. See data transformations.

When to use which mean

DataAverage
Values that add up (scores, heights, amounts)Arithmetic mean
Rates of growth, ratios, fold-changes, log-normal dataGeometric mean
Rates per unit, such as average speed over equal distancesHarmonic mean

For any set of positive values that aren’t all equal, harmonic mean < geometric mean < arithmetic mean.

More in Descriptive statistics

Try it with the free tools

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free