Geometric mean calculator

This geometric mean calculator multiplies your numbers together and takes the nth root, which is the right average for growth rates, ratios and data that spread over orders of magnitude. It shows the arithmetic and harmonic means next to it for comparison.

The numbers are calculated in your browser. Nothing you enter is sent or stored.

Geometric mean calculatorOr describe it in Studio →

For growth rates, enter growth factors: +10% is 1.10, −5% is 0.95.

Geometric mean

9.6573

Arithmetic mean
24.4
Harmonic mean
6.4975
Geometric SD (ratio)
× / ÷ 3.756
Mean of ln(x)
2.2677
Count
5

For positive numbers, harmonic ≤ geometric ≤ arithmetic. The three are equal only when every value is the same.

To report

Geometric mean = 9.657 (geometric SD 3.76), n = 5

Check your result: for positive numbers the three means always fall in the same order, harmonic ≤ geometric ≤ arithmetic: 6.50 ≤ 9.66 ≤ 24.4 for the default list. For growth factors, the geometric mean raised to the number of periods gives back the total change: 1.0970³ = 1.32.
geometric mean of 4, 5, 6, 7, 100
9.66
geometric mean of 4, 5, 6, 7, 100
arithmetic mean of the same list
24.4
arithmetic mean of the same list
means side by side, plus the geometric SD
3
means side by side, plus the geometric SD
values at or below zero allowed
0
values at or below zero allowed
  • Geometric mean of any list
  • Arithmetic and harmonic means
  • Geometric standard deviation
  • Paste from a spreadsheet
  • Runs in your browser, free

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?

MeanUse for4, 5, 6, 7, 100
Arithmeticvalues that add: lengths, scores24.4
Geometricvalues that multiply: growth factors, ratios, titres, log-normal data9.66
Harmonicrates over a fixed amount: speeds over the same distance6.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

Read the full methodology · Who makes Sciloom

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.

Want the median, mode and quartiles too? Use the mean, median, mode calculator.
Free to start, no sign-up.
Back to the tool ↑

More research tools