Geometric Mean Explained: The Right Average for Growth Rates, Compounding Returns and Ratios
The geometric mean is the right average whenever the numbers you are averaging are multiplicative — investment returns, biological growth rates, index numbers, price ratios. This guide explains the nth-root formula, walks through the canonical compound-annual-growth-rate worked example, shows how the geometric mean relates to the arithmetic and harmonic means via the AM-GM-HM inequality, and surveys where the formula appears across finance, biology, demography and physics.
What is the geometric mean?
The geometric mean is one of the three classical Pythagorean averages, sitting alongside the arithmetic mean and the harmonic mean. For a list of positive numbers, it is the nth root of their product. Put differently: multiply every value together, then take the nth root, where n is the count of values. The result is a number that, when multiplied by itself n times, reproduces the original product. That property is what makes the geometric mean the correct average for any quantity that compounds — investment returns, biological growth, index numbers, price ratios.
The geometric mean calculator on this page takes any list of strictly positive numbers and returns the geometric mean alongside the arithmetic and harmonic means so you can compare them at a glance. The point of this article is to spell out the formula, walk through the canonical worked example — averaging annual investment returns to find the compound annual growth rate — and show why reaching for the arithmetic mean in those cases produces an answer that is reliably and systematically too high.
How the geometric mean is calculated
For n positive real numbers x₁, x₂, …, xₙ, the geometric mean is:
GM = (x₁ · x₂ · … · xₙ)^(1/n)
Equivalently, it is the exponential of the arithmetic mean of the natural logarithms:
GM = exp((ln x₁ + ln x₂ + … + ln xₙ) / n)
The two expressions are algebraically identical, but the second one — the log-sum form — is what the calculator uses internally. The reason is numerical. Multiplying a hundred values together, even if each one is moderate in size, can quickly overflow the range of a double-precision floating-point number. Multiply a hundred copies of ten and you have already exceeded the largest representable finite value. Multiply a hundred copies of one tenth and you have underflowed to zero. Summing logarithms keeps every intermediate value bounded, exponentiates only at the end, and recovers exactly the same answer with full precision regardless of how long the list is.
Two domain restrictions apply. First, every value must be strictly positive. A single zero would collapse the product to zero and the geometric mean to zero, no matter what the other values are. A negative value would make the root undefined for even n and would make the result meaningless for the growth-rate applications the geometric mean exists to serve. The geometric mean calculator halts on zero or negative input rather than silently producing a misleading number — clean the dataset first.
Second, the geometric mean is order-independent. Permuting the input list does not change the result, because multiplication is commutative and the count n does not depend on order. Paste from a spreadsheet column, a comma-separated row, or any mix of separators, and the answer comes out the same.
The AM-GM-HM inequality
For any set of positive real numbers, the three Pythagorean means satisfy a strict ordering known as the arithmetic mean–geometric mean–harmonic mean inequality:
HM ≤ GM ≤ AM
Equality holds in both inequalities only when every value in the dataset is identical. The further apart the values, the larger the gap between the three means. This is not a quirk — it is a consequence of Jensen’s inequality applied to the concave function ln(x). The arithmetic mean treats every value with equal additive weight; the geometric mean treats every value with equal multiplicative weight; the harmonic mean treats every reciprocal with equal additive weight. Each captures a different notion of “the middle” and is correct for a different question.
A quick illustration. For the values 1, 2, 4: the arithmetic mean is (1 + 2 + 4) / 3 ≈ 2.333, the geometric mean is ∛8 = 2 exactly, and the harmonic mean is 3 / (1 + 0.5 + 0.25) = 12/7 ≈ 1.714. The geometric mean sits exactly where the inequality says it should. The harmonic mean calculator and the average calculator give you the other two sides of the picture.
Worked example: compound annual growth rate
The canonical financial application of the geometric mean is the compound annual growth rate (CAGR). Suppose a portfolio returns +10% in year one, −5% in year two, and +20% in year three. What is the average annual return?
Reaching for the arithmetic mean gives (10 − 5 + 20) / 3 ≈ 8.33%. That answer is wrong, and the reason is worth spelling out. Investment returns compound; they do not add. The relevant question is not “what is the average of the percentages” but “what single rate, if applied for three years, reproduces the actual final balance?”
Convert each return to a growth factor by adding one:
1.10, 0.95, 1.20
The product of the growth factors is 1.10 × 0.95 × 1.20 = 1.254. Pasting these three factors into the geometric mean calculator returns ∛1.254 ≈ 1.0784. Subtracting one gives the CAGR: about 7.84% per year.
Sanity check. Start with $1,000. After year one: 1000 × 1.10 = 1100. After year two: 1100 × 0.95 = 1045. After year three: 1045 × 1.20 = 1254. The portfolio ended at $1,254 — exactly the product of the growth factors times the starting balance. Compounding 7.84% for three years gives 1000 × 1.0784³ ≈ 1254, matching to the cent. Compounding the arithmetic mean of 8.33% for three years gives roughly 1000 × 1.0833³ ≈ 1272 — eighteen dollars too high. The arithmetic mean overstates the true return; the geometric mean is exact. The average return calculator wraps this conversion into a single step if you want to skip the manual factor maths.
Factors that affect the geometric mean
Volatility
The gap between the arithmetic and geometric means widens as the values become more spread out. For a series of returns, a well-known approximation is GM ≈ AM − σ² / 2, where σ is the standard deviation of the returns. A portfolio with the same average return but higher volatility will have a lower compound growth rate. This is the formal version of the intuition that a 50% loss followed by a 50% gain leaves you down 25%, not back to even — volatility eats compound returns. The standard deviation calculator will give you σ for the same dataset.
Extreme values
The geometric mean is more robust to large positive outliers than the arithmetic mean, because taking the log compresses the impact of a single very large value. At the same time, it is more sensitive to small values than the arithmetic mean — values close to zero pull the log far below average and drag the geometric mean down hard. A dataset with one tiny outlier can have a geometric mean an order of magnitude below the arithmetic mean.
Sample size
Adding more values closer to the existing mean tightens the answer, but the geometric mean does not converge as cleanly as the arithmetic mean under random sampling. For lognormally distributed data — which is common in biology and finance — the sample geometric mean is the natural estimator of the population median, not the mean.
Units and scale
The geometric mean is scale-equivariant in a stronger sense than the arithmetic mean. Multiply every value by a constant c and the geometric mean also multiplies by c. Apply a logarithm and the geometric mean of the originals becomes the arithmetic mean of the logs. This is why the geometric mean is the right tool for averaging quantities measured on a multiplicative scale — pH, decibels, magnitudes, Richter scale — where ratios matter more than differences.
Where the geometric mean shows up
Finance is the most common encounter. CAGR, time-weighted return, and most index-construction methods rely on geometric averaging. The Financial Times All-Share index historically used arithmetic averaging for legacy reasons, but modern equal-weighted return indices use geometric averaging because it correctly tracks the return an investor would actually have earned by holding the index. The inflation calculator uses the same compounding logic to convert money across years, and the compound interest calculator is the forward-direction analogue: given a rate, what does the balance become?
Biology and ecology use the geometric mean for population growth rates. A population growing 10% one year, shrinking 5% the next, and growing 20% the third has a geometric-mean growth factor of about 1.078 — the long-run growth rate that determines whether the population is expanding or contracting on average.
Demography and survey statistics use the geometric mean for averaging ratios such as the Human Development Index, which combines life expectancy, education and income indices via a geometric mean specifically so that weakness in one dimension cannot be fully compensated by strength in another. The geometric mean punishes imbalance in a way the arithmetic mean does not.
In chemistry and physics the geometric mean appears wherever multiplicative relationships compound — in the equilibrium constant of a sequential reaction, in the propagation of multiplicative measurement errors, in the Bragg formula for X-ray diffraction. Anywhere the natural operation is multiplication rather than addition, the geometric mean is the right average.
Common mistakes
Using the arithmetic mean for compounding returns. This is the mistake the worked example was built around. It is everywhere — in marketing copy, in performance reports, in retirement projections. The arithmetic mean of percentage returns is always greater than or equal to the geometric mean, and the gap widens with volatility. If a marketing one-pager quotes an “average return of 12%” without specifying which kind of average, assume it is the arithmetic mean and that the true compound return is lower.
Forgetting to add one before averaging returns. The geometric mean of 1.10, 0.95, 1.20 is 1.0784. The geometric mean of 0.10, −0.05, 0.20 is undefined, because one of those values is negative. Always convert returns to growth factors (1 + r) before taking the geometric mean, and subtract one at the end to express the result as a rate.
Mixing periods of different lengths. The geometric mean of growth factors gives a per-period rate, and assumes every period is the same length. To average a 6-month and a 12-month return, annualise both first — or use the average return calculator which handles unequal periods explicitly.
Ignoring zero or negative observations. Silently dropping a zero before taking the geometric mean changes the dataset. If a portfolio went to zero in year two, the true compound return is −100% regardless of any subsequent recovery, and no average of the surviving years can paper over that. Halt and think about what the zero means before deleting it.
When to seek professional advice
For any individual investment decision — choosing between funds, evaluating a pension projection, deciding whether a past return justifies a future allocation — a CAGR computed from a few years of data is informational, not predictive. Geometric means describe what happened, not what will happen, and the variance of realised returns around a long-run mean is wide enough that single-decade samples are unreliable indicators of future performance. For decisions with material financial consequences, take the numbers a calculator gives you to a regulated adviser who can put them in the context of your full position, tax situation and risk capacity.
Frequently asked questions
When should I use the geometric mean instead of the arithmetic mean? Use it whenever the values are multiplicative — growth rates, investment returns, index numbers, dilution factors, price ratios, or anything where applying the mean repeatedly should reproduce the cumulative effect. The arithmetic mean of percentage returns systematically overstates the true compound return; the geometric mean of the growth factors gives the CAGR exactly. For additive quantities such as test scores or temperatures, the arithmetic mean remains correct.
Why does the calculator reject zero and negative numbers? The geometric mean is defined only for strictly positive reals, because it is the nth root of a product. A single zero collapses the product to zero and the mean to zero, obscuring the rest of the data. Negative values can make the root undefined for even n and turn the answer meaningless for growth-rate applications. The geometric mean calculator halts and asks you to clean the input rather than silently produce a misleading result.
How do I compute the CAGR for a portfolio? Convert each periodic return r to a growth factor 1 + r. Take the geometric mean of the factors. Subtract one. Equivalently, you can shortcut the whole process if you know the start and end values: CAGR = (end / start)^(1/years) − 1. The two methods produce identical numbers; the period-by-period version is more useful when you want to see the geometric mean alongside the other averages for the same dataset.
What is the relationship between the geometric mean and the median? For lognormally distributed data, the geometric mean equals the median. This is why the geometric mean shows up across biology, ecology and finance: many natural quantities are roughly lognormal, and the geometric mean estimates the population median directly without first sorting the data.
Why is the geometric mean always smaller than the arithmetic mean for unequal values? This is the AM-GM inequality, provable from Jensen’s inequality applied to the concave function ln(x). The intuition: the arithmetic mean averages the values directly, while the geometric mean averages their logarithms and exponentiates. Because the log function is concave, the average of the logs is less than the log of the average, so exponentiating gives a number less than the arithmetic mean. Equality holds only when every value is the same, because that is the only case where the log function is “flat enough” for the inequality to collapse.
Can I compute the geometric mean of very large datasets? Yes. The log-sum form means precision and range are not a problem for any list a browser can hold in memory. For arbitrary-precision arithmetic on huge products, see the big number calculator — though for taking means, the floating-point log-sum approach in the geometric mean calculator gives the same answer to fifteen significant figures without the overhead.
What separators can I use to paste a list of numbers? Commas, spaces, tabs, semicolons or new lines all work, and you can mix them. A column copied straight from a spreadsheet, a comma-separated row, or numbers separated by spaces all parse correctly. Tokens that are not valid numbers are reported under the result so you can see what was ignored.
Related calculators
- Geometric Mean Calculator — the parent tool, takes any list of positive numbers
- Harmonic Mean Calculator — reciprocal-based average, the right choice for rates
- Average Calculator — arithmetic mean, median, mode and range
- Average Return Calculator — CAGR with unequal-period handling
- Standard Deviation Calculator — sample and population spread around the mean
- Compound Interest Calculator — the forward direction: given a rate, find the balance
Frequently asked questions
When should I use the geometric mean instead of the arithmetic mean?
Use the geometric mean whenever the values are multiplicative — growth rates, investment returns, index numbers, dilution factors, price ratios, or anything where applying the mean repeatedly should reproduce the cumulative effect. The arithmetic mean of percentage returns systematically overstates the true compound annual return; the geometric mean of the growth factors (1 + r) gives the CAGR exactly. For additive quantities such as test scores or temperatures, the arithmetic mean remains the correct choice.
Why does the calculator reject zero and negative numbers?
The geometric mean is defined only for strictly positive real numbers, because it is the nth root of a product. A single zero collapses the product to zero and the geometric mean to zero, obscuring the rest of the data. Negative values can make the root undefined for even n and turn the answer meaningless for growth-rate applications. The calculator halts and asks you to clean the input rather than silently produce a misleading result.
How do I compute the compound annual growth rate?
Convert each periodic return r to a growth factor (1 + r). Take the geometric mean of the factors. Subtract one. Equivalently, if you know the start and end values: CAGR = (end / start)^(1/years) − 1. The two methods produce identical numbers; the period-by-period version is more useful when you want to see the geometric mean alongside the other averages for the same dataset.
What is the relationship between the geometric mean and the median?
For lognormally distributed data, the geometric mean equals the median. This is why the geometric mean shows up across biology, ecology and finance: many natural quantities are roughly lognormal, and the geometric mean estimates the population median directly without first sorting the data.
Why is the geometric mean always smaller than the arithmetic mean for unequal values?
This is the AM-GM inequality, provable from Jensen’s inequality applied to the concave function ln(x). The intuition: the arithmetic mean averages the values directly, while the geometric mean averages their logarithms and exponentiates. Because the log function is concave, the average of the logs is less than the log of the average, so exponentiating gives a number less than the arithmetic mean. Equality holds only when every value is the same.
Can I compute the geometric mean of very large datasets?
Yes. The calculator uses the log-sum form of the formula internally, which means precision and range are not a problem for any list a browser can hold in memory. Even a hundred copies of very large or very small values would overflow or underflow the naive product form, but summing logarithms keeps every intermediate value bounded.
What separators can I use to paste a list of numbers?
Commas, spaces, tabs, semicolons or new lines all work, and you can mix them. A column copied straight from a spreadsheet, a comma-separated row, or just numbers separated by spaces all parse correctly. Tokens that are not valid numbers are reported under the result so you can see what was ignored.
Informational only. Not personalised financial, legal, or tax advice.