Skip to content
K Knidox Search…
Statistics · Averages

Geometric Mean Calculator

Enter a set of positive numbers to get the geometric mean — with the arithmetic mean shown for contrast.

Separate positive numbers with commas, spaces, or new lines. Non-numeric entries are ignored.
Sample data — tap to load
Geometric mean
4

The geometric mean is always ≤ the arithmetic mean (equal only when every value is identical).

5
Arithmetic mean
2
Count (n)

The geometric mean multiplies n positive values and takes the nth root: for 1, 3, 9 it is (1 × 3 × 9)^(1/3) = 27^(1/3) = 3, while the arithmetic mean is 13 ÷ 3 ≈ 4.33. Reach for it to average growth rates, ratios, and compounded returns, where products — not sums — drive the result.

What the geometric mean measures

The geometric mean is the “average factor” of a set of positive numbers. Instead of adding the values and dividing (the arithmetic mean), it multiplies them together and takes the nth root, so it reflects how quantities multiply rather than how they add. That makes it the correct average whenever the numbers are rates, ratios, or index values that compound — think year-on-year growth factors, price ratios, or investment returns. Because a single very large value inflates a sum far more than a product, the geometric mean is also less sensitive to right-skewed outliers than the arithmetic mean.

GM = (x₁ · x₂ · … · xₙ)1/n = (Πxᵢ)1/n

the nth root of the product of all n positive values

Worked example

Three values: 1, 3, 9.

  1. 1
    Confirm every value is positive. 1, 3, and 9 are all greater than 0, so the geometric mean is defined. A zero or negative value would make it invalid.
  2. 2
    Multiply all the values. 1 × 3 × 9 = 27. This product is the quantity you will take the root of.
  3. 3
    Take the nth root. There are n = 3 values, so GM = 27^(1/3) = 3. Equivalently, GM = exp((1/3) × (ln 1 + ln 3 + ln 9)) = 3.
  4. 4
    Compare with the arithmetic mean. The arithmetic mean is (1 + 3 + 9) ÷ 3 = 13 ÷ 3 ≈ 4.33, so the geometric mean (3) is smaller — as it always is unless the values are identical.

Geometric mean vs. arithmetic mean

On the same data the geometric mean is always ≤ the arithmetic mean (equal only when every value is identical).

DatasetGeometric meanArithmetic mean
2, 845
1, 3, 93≈ 4.33
1.05, 1.10, 1.20≈ 1.1147≈ 1.1167
4, 4, 444 (equal)

When to use it — and its limits

Use the geometric mean for things that compound. Averaging annual growth factors, price relatives, or index ratios with the arithmetic mean overstates the true average because it ignores compounding. The geometric mean of the yearly growth factors is exactly the constant factor that would produce the same overall change — which is why the compound annual growth rate (CAGR) is just the geometric mean of the yearly return factors.

It requires strictly positive values. A single zero drags the product to 0, and a negative value makes the nth root undefined, so the geometric mean cannot be applied directly to data containing zeros or negatives (for percentage changes, convert them to growth factors first — a −10% change becomes 0.90). For plain additive data with no outliers, the ordinary arithmetic mean remains the right choice.

What’s the difference between the geometric and arithmetic mean?
The arithmetic mean adds the values and divides by the count; the geometric mean multiplies them and takes the nth root. The arithmetic mean suits additive quantities, while the geometric mean suits multiplicative ones like growth rates and ratios. For 2 and 8 the arithmetic mean is 5 but the geometric mean is √16 = 4.
Why must all the values be positive?
The geometric mean is the nth root of a product. A single zero makes the whole product 0, and a negative value makes the nth root undefined (or complex). So every value must be greater than 0. For percentage changes, convert them to growth factors first — for example a −10% change becomes 0.90.
When should I use the geometric mean?
Use it whenever the numbers compound or are ratios: average annual growth factors, investment returns, population growth, price relatives, or index numbers. In those cases the arithmetic mean overstates the true average because it ignores how the values multiply together.
How do I average percentage growth rates?
Convert each rate to a growth factor (add 1): +5% becomes 1.05, −3% becomes 0.97. Take the geometric mean of the factors, then subtract 1 to get the average rate. Averaging the percentages directly with the arithmetic mean gives a slightly wrong, inflated answer.
Is the geometric mean always smaller than the arithmetic mean?
Yes — for any set of positive numbers the geometric mean is less than or equal to the arithmetic mean (the AM–GM inequality). They are equal only when every value is identical; the more the values vary, the larger the gap between the two means.
How is the geometric mean related to CAGR?
The compound annual growth rate is the geometric mean of the yearly growth factors, minus 1. It answers what constant yearly factor would turn the starting value into the ending value, which is exactly what the geometric mean of the factors gives you.