What is a Geometric Mean Calculator?
The geometric mean of n positive numbers is the nth root of their product: GM = (x₁ · x₂ · … · xₙ)^(1/n). For two numbers it is the square root of their product, so the geometric mean of 4 and 9 is √36 = 6. Use it for quantities that multiply, such as growth rates, investment returns and ratios. For percentage changes, average the growth factors (1 + r) and subtract 1 to get the steady rate that gives the same overall growth.
What the Geometric Mean Calculator does
This geometric mean calculator with steps (also called a geometric average calculator or geo mean solver) works in two modes. Choose Positive values to find the geometric mean of a list of numbers, from a pair such as 8 and 32 to a long data set pasted from a spreadsheet. Choose Growth rates (%) to find the average growth rate per period from a series of percentage changes, such as yearly returns or monthly sales growth.
Every result comes with steps: the product, the nth root, the equivalent log method (average the natural logarithms, then exponentiate) and a table of every value with its logarithm, so you can check a hand calculation line by line. The arithmetic mean is shown beside the geometric mean, and in growth-rate mode an optional starting amount shows the balance after each period, so you can see why the ordinary average overstates compounded growth.
How to use the Geometric Mean Calculator
- Under What are you averaging?, choose Positive values or Growth rates (%).
- Enter the numbers separated by commas, spaces or new lines. Every value must be greater than 0. For growth rates, type 10 for +10% and −5 for −5%; each rate must be above −100%.
- Optionally enter a Starting amount in growth-rate mode to see the balance after every period.
- Read the geometric mean (or average growth rate), then open the step-by-step solution for the product, the root and the log calculation.
How to find the geometric mean
You can calculate the geometric mean by hand in three steps. The example finds the geometric mean of 4, 8, 3, 9 and 17.
- Multiply all the values: 4 × 8 × 3 × 9 × 17 = 14,688.
- Count the values: n = 5.
- Take the nth root of the product: GM = 14,688^(1/5) = 6.8138. On a calculator, type 14688, press the power key (^ or yˣ) and enter (1 ÷ 5), or use the ˣ√y key.
How to find the geometric mean of two numbers
For two numbers a and b, the geometric mean is the square root of their product, √(a · b). It is the middle term of a geometric sequence: a, GM, b, where each term is the previous one multiplied by the same factor. The geometric mean of 8 and 32 is 16, and 8, 16, 32 doubles at each step.
To find the geometric mean of each pair of numbers below, multiply them and take the square root. Enter any pair into the calculator, such as 6, 48, to see the working.
| Numbers | Product, a · b | Geometric mean, √(a · b) |
|---|---|---|
| 4 and 9 | 36 | 6 |
| 2 and 18 | 36 | 6 |
| 9 and 16 | 144 | 12 |
| 3 and 48 | 144 | 12 |
| 4 and 25 | 100 | 10 |
| 8 and 32 | 256 | 16 |
| 6 and 48 | 288 | 16.9706 |
| 5 and 12 | 60 | 7.7460 |
Geometric mean formula
The geometric mean equation multiplies the n values and takes the nth root. Taking logarithms turns the product into a sum, which gives the log form of the same formula. Both give the same result; the log form avoids overflow when the product is very large.
| Symbol | Meaning |
|---|---|
| xᵢ | each positive value |
| a, b | two positive numbers |
| rᵢ | growth rate in period i as a decimal (10% = 0.10) |
| n | number of values or periods |
| ḡ | average growth rate per period |
The average growth rate and CAGR are the same number: the product of the growth factors equals final ÷ initial. If you only know the start and end values, take their ratio to the power 1/n and subtract 1.
Worked example: average annual return
Problem. An investment returned +10%, −5%, +20% and +8% over four years. What was the average annual return, and what did $10,000 grow to?
- 01Growth factors: 1.10, 0.95, 1.20, 1.08.
- 02Total growth: 1.10 × 0.95 × 1.20 × 1.08 = 1.35432, a 35.432% gain, so $10,000 became $13,543.20.
- 03Fourth root: 1.35432^(1/4) = 1.078774, so the average return is 7.8774% per year.
- 04Log check: the natural logs of the factors add to 0.303299; dividing by 4 gives 0.075825, and exp(0.075825) = 1.078774.
- 05The arithmetic average, (10 − 5 + 20 + 8) / 4 = 8.25%, would predict 10,000 × 1.0825⁴ = $13,731.30, which is $188.10 too high.
Answer. The average annual return is 7.8774%. Growing at that steady rate for four years turns $10,000 into the same $13,543.20 as the actual returns. The 8.25% arithmetic average overstates the growth because losses and gains compound.
Geometric mean examples with solutions
Each example uses the same formula, GM = (Πx)^(1/n). The arithmetic mean is listed for comparison: it is always at least as large as the geometric mean.
| Data | Product, Πx | n | Geometric mean | Arithmetic mean |
|---|---|---|---|---|
| 2, 4, 8, 16, 32 | 32,768 | 5 | 8 | 12.4 |
| 4, 8, 3, 9, 17 | 14,688 | 5 | 6.8138 | 8.2 |
| 1.25, 0.8, 2, 1.6 (ratios) | 3.2 | 4 | 1.3375 | 1.4125 |
| 1.10, 0.95, 1.20, 1.08 (growth factors) | 1.35432 | 4 | 1.0788 (7.88% a year) | 1.0825 (8.25%) |
Geometric mean vs arithmetic mean vs harmonic mean
The three classical means answer different questions. Pick the one that keeps the quantity you care about unchanged when every value is replaced by the average. For 4 and 9 they give 6.5, 6 and 5.5385, and for positive data AM ≥ GM ≥ HM always holds.
| Mean | Formula | Preserves | Use it for | 4 and 9 |
|---|---|---|---|---|
| Arithmetic mean | Σx / n | the sum | scores, prices, measurements that add | 6.5 |
| Geometric mean | (Πx)^(1/n) | the product | growth rates, returns, ratios, indexes | 6 |
| Harmonic mean | n / Σ(1/x) | the sum of reciprocals | speeds over equal distances, rates per unit | 5.5385 |
Geometric mean with zeros or negative numbers
The geometric mean is defined only for positive numbers, so this calculator asks for values greater than 0. Here is what goes wrong otherwise and what to do instead.
- A zero in the data makes the product 0, so the geometric mean is 0 no matter what the other values are. That result says nothing useful about the data.
- Negative numbers can make the product negative, and a negative number has no real square root, fourth root or other even root. Even when an odd root exists, the result has no meaning as an average.
- Negative returns are fine once converted to growth factors: −20% becomes 0.80, which is positive. Use the Growth rates (%) mode, which does this for you. Only a loss of 100% or more breaks it.
- Data that include zeros, such as counts, are sometimes shifted by adding a constant (often 1) to every value, taking the geometric mean, and subtracting the constant again. The answer depends on the constant chosen, so state it whenever you report the result.
How to calculate the geometric mean in Excel or Google Sheets
Both Excel and Google Sheets have a built-in function: =GEOMEAN(A1:A10) returns the geometric mean of the values in A1 to A10. It returns a #NUM! error if any value is 0 or negative.
For an average growth rate, put the growth factors (1 + r) in a column, for example 1.10, 0.95, 1.20 and 1.08 in B1:B4, and use =GEOMEAN(B1:B4) − 1. Format the cell as a percentage to read 7.88%. You can paste the same column into this calculator to see each step of the calculation.
Common use cases
- Investing: average annual return or CAGR of a fund or portfolio over several years.
- Business growth: average monthly or yearly growth in revenue, users or sales. For a single period, use the Percentage Change Calculator.
- Biology and demography: average growth rate of a population or a bacterial culture.
- Ratios and indexes: averaging ratios, price relatives or normalized benchmark scores, where the geometric mean does not depend on which item is used as the base.
- Homework: check a hand calculation of the product, the nth root and the logarithms against the step-by-step solution.
Assumptions and limitations
- Every value must be greater than 0. See the section on zeros and negative numbers above for what to do with returns and shifted data.
- The geometric mean describes past compounded growth; it does not predict future returns or measure risk. Report volatility with the standard deviation of returns.
- For quantities that add rather than multiply, such as test scores, the arithmetic mean or the Average Calculator is the right choice. For rates over equal amounts, such as speeds over equal distances, use the Harmonic Mean Calculator.
Frequently asked questions
How do you calculate a geometric mean?
How do you find the geometric mean of two numbers?
What is the geometric mean of 8 and 32?
How do you find the geometric mean of 4, 8, 3, 9 and 17?
How do you find the geometric mean on a calculator?
How do I find the average growth rate from percentages?
Why is the geometric mean lower than the arithmetic mean?
Is the geometric mean the same as CAGR?
Can I take the geometric mean of negative numbers or zero?
Cite this page
Statculator. (2026, November 14). Geometric Mean Calculator. Retrieved November 14, 2026, from https://statculator.com/descriptive-statistics/geometric-mean-calculator/