Geometric Mean Calculator (Live Growth Rate, CAGR & Formula Proof)

Calculate the Geometric Mean ($\sqrt[n]{\prod x}$) and compounding growth rates for any positive numerical dataset in real time. Features log-transformed stability for large products, comparison against the arithmetic mean (AM-GM inequality), and step-by-step mathematical proofs.

How Do You Calculate the Geometric Mean?

To calculate the geometric mean, multiply all $n$ positive numbers together and take the $n$-th root of their product: Geometric Mean = (x1 × x2 × ... × xn)^(1/n). For large numbers or investment returns, calculate it by averaging the natural logarithms of all values and taking the exponential: exp(Σ ln(x) / n).

4 numbers
Sample Financial & Math Datasets:
Geometric Mean (Geometric Average)
1.1352
Equivalent CAGR: +13.52% per period
Arithmetic Mean 1.1375
AM − GM Difference +0.0023
Sample Count (n) 4
Mathematical Calculation Proof:
Cite This Tool (Finance & Math Papers):
Urban Mixo (2026). Geometric Mean Calculator. https://www.urbanmixo.online/p/geometric-mean-calculator.html
Embed on School Portal or Blog:
<iframe src="https://www.urbanmixo.online/p/geometric-mean-calculator.html" width="100%" height="600" frameborder="0"></iframe>

What is the Geometric Mean? (Mathematical Formula)

While the standard arithmetic mean adds all values and divides by the total count, the geometric mean multiplies all values together and calculates the $n$-th root:

Geometric Mean = (x1 × x2 × ... × xn)1/n = n√(∏ xi)

Geometrically, the geometric mean answers a fundamental spatial question: "If you have an $n$-dimensional box with dimensions $x_1, x_2, \dots, x_n$, what would be the side length of an $n$-dimensional cube that has the exact same volume?"

When datasets contain large numbers or extensive historical returns, multiplying values directly can cause floating-point arithmetic overflow. To preserve computational stability, production algorithms use the logarithmic identity:

Geometric Mean = exp( [Σ ln(xi)] / n )

Why Investment Finance Relies on the Geometric Mean (CAGR)

Using the arithmetic mean to evaluate multi-year portfolio returns produces an artificially inflated and misleading metric due to volatility drag:

Suppose you invest $100 in an index fund:
• Year 1: Gains +100% → Your portfolio grows to $200.
• Year 2: Drops -50%  → Your portfolio falls back to $100.

Arithmetic Average Return:
(+100% - 50%) / 2 = +25% per year (Completely false! You made $0 profit.)

Geometric Mean (Compounding Reality):
Growth multipliers: 2.0 (Year 1) and 0.5 (Year 2)
√(2.0 × 0.5) = √1.0 = 1.00 → 0.0% Compound Annual Growth Rate (CAGR).

The geometric mean accurately reflects the financial reality: your net wealth experienced zero growth across the two-year period.

How to Calculate the Geometric Mean in Excel & Google Sheets

Spreadsheet applications provide a built-in statistical function to calculate the geometric mean across ranges:

=GEOMEAN(A1:A10)

Important Modeling Note: If your cells contain percentage gains and losses (such as $+15\%$ or $-10\%$), the native =GEOMEAN() function will return a #NUM! error if any negative values exist. To fix this in financial models, convert returns into growth factors: =GEOMEAN(1 + A1:A10) - 1 entered as an array formula.

The Pythagorean Means Comparison Matrix (AM ≥ GM ≥ HM)

In classical mathematics, the geometric mean is the middle component of the three Pythagorean Means. For any collection of positive numbers, they adhere to a strict inequality theorem:

Pythagorean Mean Mathematical Focus Formula Primary Real-World Application
Arithmetic Mean (AM) Additive balance • Equal weights (Σ x) / n Test scores, rainfall, temperature averages.
Geometric Mean (GM) Multiplicative growth • Compounding (∏ x)1/n Investment CAGR, bacterial cell growth, HDI indexes.
Harmonic Mean (HM) Rates and ratios • Velocity n / Σ (1/x) Average travel speed (mph/kmh), P/E ratios in finance.

The AM-GM Inequality: $\text{Arithmetic Mean} \ge \text{Geometric Mean} \ge \text{Harmonic Mean}$. The three values are equal if and only if every single number in the dataset is identical ($x_1 = x_2 = \dots = x_n$).

Related Statistical & Math Calculators:

Frequently Asked Questions

What is the geometric mean of 2, 8, and 32?

The geometric mean of 2, 8, and 32 is exactly 8. Multiply the numbers together: 2 × 8 × 32 = 512. The cube root of 512 is 8 (8 × 8 × 8 = 512).

Can the geometric mean include negative numbers?

In standard mathematics and finance, the geometric mean is only defined for strictly positive numbers. An odd number of negative factors creates negative roots, while an even number produces imaginary numbers.

Why is the geometric mean always less than the arithmetic mean?

The AM-GM inequality proves that arithmetic mean is always greater than or equal to the geometric mean. The geometric mean dampens the effect of extreme high outliers by focusing on proportional multiplication rather than addition.

How is the geometric mean related to CAGR?

Compound Annual Growth Rate (CAGR) is identical to the geometric mean of annual growth multipliers minus 1: CAGR = Geometric Mean(1 + r1, 1 + r2, ...) − 1.

Is my financial calculation data saved on a server?

No. All calculations execute 100% locally inside your browser's runtime memory using JavaScript. No investment figures, return rates, or financial parameters are transmitted over an HTTP network or saved in an external database.