01
Geometric mean formula
geometric mean = (x₁ × x₂ × … × xₙ)^(1 ÷ n)
equivalently: exp(mean of ln x)
The second form is how it is computed in practice, because a long product overflows quickly. Every value must be above zero.
02
Worked examples
The geometric mean of 2 and 8 is √(2 × 8) = √16 = 4. The arithmetic mean is 5.
Growth rates: a quantity grows by 10%, then 50%, then falls by 20%. The growth factors are 1.10, 1.50 and 0.80.
(1.10 × 1.50 × 0.80)^(1 ÷ 3) = 1.32^(1 ÷ 3) = 1.0970
The average growth is 9.70% per period. The arithmetic mean of the three rates, 13.3%, overstates it.
03
Geometric, arithmetic or harmonic?
| Mean | Use for | 4, 5, 6, 7, 100 |
|---|---|---|
| Arithmetic | values that add: lengths, scores | 24.4 |
| Geometric | values that multiply: growth factors, ratios, titres, log-normal data | 9.66 |
| Harmonic | rates over a fixed amount: speeds over the same distance | 6.50 |
The geometric mean is far less affected by the single large value. In biology it is the usual summary for antibody titres, bacterial counts and concentrations that are roughly log-normal.
04
Common mistakes with the geometric mean
- Averaging growth rates arithmetically. +10%, +50% and −20% average 13.3%, but growing 13.3% three times gives a factor of 1.456, while the real change is 1.32: an overstatement of 10%.
- Patching zeros without saying so. For 0, 10, 100 and 1,000, dropping the zero gives a geometric mean of 100, and adding 1 to every value and subtracting it again gives 31.5. Both are choices; report which one you made.
- Pairing it with the ordinary SD. For 4, 5, 6, 7, 100 the arithmetic SD is 42.3, so mean − SD is negative. The geometric SD of 3.76 gives a range of 9.66 ÷ 3.76 to 9.66 × 3.76, that is 2.57 to 36.3.
Trust
How this page is checked
- The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
- The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
- Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.
Cite this page
Sciloom. (2026). Geometric mean calculator. Zebra Nine Studio Inc. https://sciloom.si/geometric-mean-calculator
Frequently asked questions
How do I calculate the geometric mean?
Multiply all n values and take the nth root, or average their logarithms and take the antilog. For 2 and 8: √16 = 4.
Can the geometric mean handle zero or negative numbers?
No. A zero makes the product zero and the logarithm of a negative number is undefined. For percentage changes, convert to growth factors first: −20% becomes 0.80.
Why is the geometric mean never larger than the arithmetic mean?
That is the AM-GM inequality. The two are equal only when all the values are the same; the more the values vary, the further the geometric mean falls below.
What is the geometric standard deviation?
The antilog of the standard deviation of the logs. It is a ratio: about two thirds of log-normal data lie between the geometric mean divided by it and multiplied by it.