Descriptive Statistics Central Tendency Calculator 26 min read August 15, 2026
BY: Statistics Fundamentals Team
Reviewed By: Minsa A (Senior Statistics Editor)

Geometric Mean: Formula, Calculator & Step-by-Step Examples

An investment grows 50% one year and falls 50% the next. The arithmetic average says you broke even — but your actual balance is down 25%. That gap is precisely why the geometric mean exists. Where the arithmetic mean treats quantities as additive, the geometric mean captures what happens when they compound, scale, and multiply relative to each other.

This page covers the geometric mean definition, formula, and logarithmic method, plus an interactive calculator, 20 fully worked examples, a head-to-head comparison with the arithmetic and harmonic means, the weighted geometric mean, growth-rate and CAGR applications, domain restrictions, common mistakes, 25 practice problems, and 40 answered FAQs.

What You'll Learn
  • ✓ Geometric mean definition and when to use it instead of the arithmetic mean
  • ✓ The standard formula and its numerically stable logarithmic equivalent
  • ✓ Step-by-step calculations for two values, multiple values, and large datasets
  • ✓ Why zero and negative values are not valid inputs for the standard formula
  • ✓ Geometric mean vs arithmetic mean vs harmonic mean vs median — with comparison tables
  • ✓ Weighted geometric mean, growth rates, investment returns, and CAGR
  • ✓ 20 worked examples, 25 practice problems, and 40 FAQs with direct answers

What Is the Geometric Mean?

Definition — Geometric Mean
The geometric mean is a measure of central tendency for a set of positive values, calculated by multiplying all the values together and taking the nth root of their product, where n is the number of values.
GM = (x₁ × x₂ × … × xₙ)^(1/n)

Unlike the arithmetic mean — which treats values as if they can simply be added — the geometric mean reflects the fact that many real-world quantities interact multiplicatively. When something grows by a percentage each period, or when you are comparing ratios, proportions, or index changes, the geometric mean is the mathematically appropriate average. The arithmetic mean is not.

A simple illustration: the numbers 2 and 8. Arithmetic mean = (2 + 8) / 2 = 5. Geometric mean = √(2 × 8) = √16 = 4. Neither answer is wrong — they answer different questions. The arithmetic mean is the additive balance point. The geometric mean is the multiplicative balance point.

📌
Quick Answer — What is the geometric mean?

The geometric mean is a measure of central tendency for positive values equal to the nth root of their product: GM = (x₁ × x₂ × … × xₙ)^(1/n). It is the correct average for multiplicative data such as growth rates, ratios, and investment returns. For all positive values, GM ≤ arithmetic mean, with equality only when all values are identical.

⚡ Quick Reference — Geometric Mean Key Facts
  • Standard formula: GM = (x₁ × x₂ × … × xₙ)^(1/n)
  • Log equivalent: GM = exp[(ln x₁ + ln x₂ + … + ln xₙ) / n]
  • Domain: All values must be strictly positive (xᵢ > 0)
  • AM–GM inequality: Arithmetic mean ≥ geometric mean for all positive values; equal only when all values are identical
  • Best for: Growth rates, ratios, investment returns, index numbers, multiplicative processes, log-scale data
  • Not suitable when: Any value is zero or negative, or the data combines additively

Geometric Mean Calculator

Geometric Mean Calculator

Enter positive values separated by commas or spaces. Switch tabs for growth-rate averaging or the weighted geometric mean. All calculations run locally in your browser — no data is sent anywhere.

Enter annual percentage growth rates (10 for +10%, −5 for −5%). The calculator converts each to a growth factor, computes the geometric mean, then converts back. A rate of −100% or worse cannot be processed.

Enter values and their corresponding positive weights. Formula: Weighted GM = exp[Σ(wᵢ × ln xᵢ) / Σwᵢ]. Both lists must have the same count.

Your calculations are performed locally in your browser. No personal information is required or transmitted.

The Geometric Mean Formula

The standard formula multiplies all n positive values and takes the nth root of the product:

Geometric Mean — Standard Formula
GM = (x₁ × x₂ × … × xₙ)^(1/n)
xᵢ = each positive value n = number of values Π = product of all values

An equivalent form uses natural logarithms. Because ln converts multiplication into addition, the formula becomes:

Geometric Mean — Logarithmic Form (Numerically Stable)
GM = exp[ (ln x₁ + ln x₂ + … + ln xₙ) / n ]
ln = natural logarithm exp = e raised to a power

Both forms give identical results. Statistical software — and the calculator above — uses the logarithmic version internally, because direct multiplication of many large numbers can overflow standard floating-point arithmetic.

Geometric Mean of Two Numbers

When there are exactly two positive values a and b, the formula reduces to the square root of their product:

Two-Value Geometric Mean
GM = √(a × b)

Example — 4 and 9: GM = √(4 × 9) = √36 = 6. Arithmetic mean = (4 + 9) / 2 = 6.5. The geometric mean (6) is lower, as the AM–GM inequality requires.

Complete Formula Reference

FormulaExpressionWhen to Use
Standard GMGM = (Πxᵢ)^(1/n)Direct calculation with small datasets
Logarithmic GMGM = exp(Σln xᵢ / n)Large datasets, programming, avoids overflow
Two-value GMGM = √(a × b)Exactly two positive values
Weighted GMGM = exp[Σ(wᵢ ln xᵢ) / Σwᵢ]Values with unequal importance
CAGRCAGR = (Vₙ/V₀)^(1/n) − 1Compound growth from start to end value
Arithmetic meanAM = Σxᵢ / nAdditive, interval-scale data
Harmonic meanHM = n / Σ(1/xᵢ)Rates with equal denominators (speed, fuel)

How to Calculate the Geometric Mean — Step by Step

1

Confirm Every Value Is Strictly Positive

The standard geometric mean formula requires xᵢ > 0 for all observations. If any value is zero, the entire product becomes zero and the geometric mean is zero regardless of the other values. Negative values produce non-real results with the standard formula. Both cases require treatment beyond the introductory formula — see the domain restrictions section below.

2

Multiply All Values Together (or Sum Their Logs)

Calculate P = x₁ × x₂ × … × xₙ. For larger datasets, compute the sum of natural logs instead: L = ln x₁ + ln x₂ + … + ln xₙ. Both routes lead to the same geometric mean.

3

Take the nth Root (or Exponentiate the Mean Log)

Standard: GM = P^(1/n). Logarithmic: compute L / n, then GM = exp(L / n). Retain full precision throughout — round only the final displayed result to avoid accumulated rounding error.

4

Interpret the Result

The geometric mean is the single positive value that, if repeated n times in a multiplicative chain, produces the same total product as the original values. For growth-rate applications, it is the constant rate that produces the same total multiplicative change over the same number of periods.

Geometric Mean Examples — 20 Fully Worked

Example 1 — Two Numbers

Worked Example 1

Find the geometric mean of 2 and 8.

1

Formula: GM = √(2 × 8)

2

Product: 2 × 8 = 16

3

Square root: √16 = 4

✅ Geometric Mean = 4. Arithmetic mean = (2 + 8) / 2 = 5. The geometric mean (4) is lower, as the AM–GM inequality requires. Interpretation: 4 is the value that, squared, gives 16 — the same as 2 × 8.

Example 2 — Three Numbers

Worked Example 2

Find the geometric mean of 2, 4, and 8.

1

Formula: GM = (2 × 4 × 8)^(1/3)

2

Product: 2 × 4 × 8 = 64

3

Cube root: 64^(1/3) = 4

✅ Geometric Mean = 4. These three values form a geometric sequence (common ratio 2). A key property: the geometric mean of a geometric sequence equals its middle term.

Example 3 — Five Numbers

Worked Example 3

Find the geometric mean of 1, 2, 4, 8, and 16.

1

Product: 1 × 2 × 4 × 8 × 16 = 1,024

2

Fifth root: 1,024^(1/5) = 4

✅ Geometric Mean = 4. Arithmetic mean = (1+2+4+8+16)/5 = 6.2. The geometric mean equals the middle term of this geometric sequence (common ratio 2).

Example 4 — Decimal Values

Worked Example 4

Find the geometric mean of 1.5, 2.4, and 3.6.

1

Product: 1.5 × 2.4 × 3.6 = 12.96

2

Cube root: 12.96^(1/3) ≈ 2.3474

✅ Geometric Mean ≈ 2.35. Arithmetic mean = (1.5 + 2.4 + 3.6) / 3 = 2.50. The geometric mean is lower, as the AM–GM inequality requires.

Example 5 — Values Less Than 1

Worked Example 5

Find the geometric mean of 0.25, 0.5, and 1.0.

1

Product: 0.25 × 0.5 × 1.0 = 0.125

2

Cube root: 0.125^(1/3) = 0.5

✅ Geometric Mean = 0.5. Geometric means of values less than 1 are also less than 1 — this is valid. The only requirement is that all values remain strictly positive.

Example 6 — Logarithmic Method

Worked Example 6 — Log Method

Use logarithms to find the geometric mean of 3, 12, and 48.

1

Natural logs: ln(3) ≈ 1.09861  |  ln(12) ≈ 2.48491  |  ln(48) ≈ 3.87120

2

Sum: 1.09861 + 2.48491 + 3.87120 = 7.45472

3

Mean of logs: 7.45472 / 3 = 2.48491

4

Exponentiate: exp(2.48491) ≈ 12

✅ Geometric Mean = 12. Verify directly: (3 × 12 × 48)^(1/3) = 1,728^(1/3) = 12 ✓. The log method produces the same result while avoiding numerical overflow on large inputs.

Example 7 — GM vs Arithmetic Mean

Worked Example 7 — AM vs GM

Compare the arithmetic and geometric means of 1 and 100.

1

Arithmetic mean: (1 + 100) / 2 = 50.5

2

Geometric mean: √(1 × 100) = √100 = 10

✅ AM = 50.5, GM = 10. The values span two orders of magnitude, so the arithmetic mean is strongly pulled toward 100. The geometric mean (10) lies at the logarithmic midpoint: 10 is equally distant from 1 and 100 on a multiplicative scale (1 × 10 = 10; 100 / 10 = 10).

Example 8 — Investment Returns

Worked Example 8 — Investment Returns

A portfolio returns +10%, −5%, and +20% in three consecutive years. Find the geometric average annual return.

Growth Factor Conversion
Growth factor = 1 + (return / 100)
1

Growth factors: 1 + 0.10 = 1.10  |  1 + (−0.05) = 0.95  |  1 + 0.20 = 1.20

2

Product of factors: 1.10 × 0.95 × 1.20 = 1.25400

3

GM of growth factors: 1.25400^(1/3) ≈ 1.07833

4

Convert back: 1.07833 − 1 = 0.07833 ≈ 7.83% per year

✅ Geometric average annual return ≈ 7.83%. A $1,000 investment earning 7.83% compounded for 3 years reaches $1,000 × 1.07833³ = $1,254 — exactly what the three actual returns produce. The arithmetic average of the raw percentages (10 − 5 + 20) / 3 = 8.33% overstates the true compound effect.

Note: historical geometric average return does not guarantee future performance. For the theory of geometric returns in finance, see Investopedia — Geometric Mean.

Example 9 — CAGR

Worked Example 9 — CAGR

Revenue grew from $500,000 to $1,250,000 over 6 years. Calculate the CAGR.

CAGR Formula
CAGR = (Vₙ / V₀)^(1/n) − 1
Vₙ = ending value V₀ = starting value n = number of periods
1

Ratio: 1,250,000 / 500,000 = 2.5

2

Sixth root: 2.5^(1/6) ≈ 1.16472

3

CAGR: 1.16472 − 1 ≈ 16.47% per year

✅ CAGR ≈ 16.47%. A constant annual rate of 16.47% would take $500,000 to exactly $1,250,000 over 6 years. CAGR uses only the starting and ending values; the geometric mean of annual growth factors uses every year's individual factor — related concepts but not interchangeable.

Example 10 — Population Growth

Worked Example 10 — Population Growth

A city's annual growth rates over four years were 2%, 3%, 1.5%, and 4%. Find the geometric average.

1

Growth factors: 1.02, 1.03, 1.015, 1.04

2

Product: 1.02 × 1.03 × 1.015 × 1.04 ≈ 1.10973

3

Fourth root: 1.10973^(1/4) ≈ 1.02621

4

Average rate: 1.02621 − 1 ≈ 2.62% per year

✅ Geometric average growth ≈ 2.62% per year. Arithmetic average = (2 + 3 + 1.5 + 4) / 4 = 2.625% — nearly identical here because the rates are small, but the geometric mean is always the correct choice for compounding growth rates.

Examples 11–20 — Summary Reference Table

#ValuesnGeometric MeanArithmetic MeanNote
114, 9266.5√36 = 6
121, 10, 10031037.0Large spread; GM much lower than AM
130.5, 221.0001.250Values reciprocal; GM = 1 exactly
146, 24212.00015.000√144 = 12
155, 5, 5, 545.0005.000Identical values: GM = AM exactly
161.10, 1.05, 1.0831.076881.07667Growth factors near 1; GM ≈ AM
1710, 40, 160340.00070.000Geometric sequence; GM = middle term
180.1, 1, 10, 10043.16227.775Log-scale data; GM far lower than AM
192.5, 3.5, 4.533.3983.500Close values; GM close to AM
201.20, 1.30, 1.15, 1.2541.22431.2250Annual growth factors; GM slightly below AM

Examples 15 and 16 confirm two properties: when all values are identical, GM equals that common value; when values are very close together (near 1), GM and AM converge. Example 18 shows how sharply GM and AM diverge when data spans orders of magnitude.

Why Logarithms Work for the Geometric Mean

Logarithms convert multiplication into addition. Because ln(x₁ × x₂ × … × xₙ) = ln x₁ + ln x₂ + … + ln xₙ, the geometric mean can be computed by:

  1. Taking the natural log of each value
  2. Computing their arithmetic mean
  3. Exponentiating the result

This equivalence — GM = exp(arithmetic mean of logs) — is not just a computational convenience. It reveals the deeper statistical meaning: the geometric mean is the arithmetic mean on a logarithmic scale, then back-transformed. When data follows a lognormal distribution, the geometric mean equals the median of that distribution. Many real-world datasets in biology, finance, and environmental science are approximately lognormal, which is why the geometric mean appears so often in those fields.

💡
Overflow Prevention in Practice

For 100 values each equal to 10, the direct product is 10¹⁰⁰ — far beyond standard floating-point range. The log method computes (100 × ln 10) / 100 = ln 10 ≈ 2.3026, then exp(2.3026) = 10. No overflow, exact result. This is why Excel's GEOMEAN and all serious statistical software use this approach internally.

Geometric Mean vs Arithmetic Mean

Choosing between these two averages is a question about the data's structure, not personal preference. Using the wrong one produces misleading results.

FeatureArithmetic MeanGeometric Mean
FormulaAM = Σx / nGM = (Πx)^(1/n)
Data typeAdditive (temperature, height, test score)Multiplicative (ratio, rate, return, index)
DomainAny real numbersStrictly positive values only
AM–GM inequalityAM ≥ GM for all positive values; equality only when all values are identical
Sensitivity to large valuesPulled strongly toward outliersLess pulled on a multiplicative scale
Classic example: 1 and 9AM = (1+9)/2 = 5GM = √(1×9) = 3
Investment returnsOverstates compound return when rates varyGives the true compound average rate
Best forHeights, weights, exam scores, summed totalsGrowth rates, CAGR, ratios, index numbers

The AM–GM inequality follows from the concavity of the logarithm function (Jensen's inequality). In plain terms: when values vary, multiplication compresses the large values more than addition does, pushing the geometric mean below the arithmetic mean. The gap between the two grows with the spread of the data.

AM–GM inequality and proof: Wolfram MathWorld — AM-GM Inequality. Statistical context: Mean — Statistics Fundamentals.

Geometric Mean vs Harmonic Mean vs Median

There are four main measures of central tendency. Each genuinely measures something different, so selecting the right one matters.

MeasureArithmetic MeanGeometric MeanHarmonic Mean
FormulaΣx / n(Πx)^(1/n)n / Σ(1/x)
Best forSums, interval data, additive quantitiesProducts, ratios, growth, multiplicative dataRates (speed, fuel efficiency) with equal denominators
Example: 2, 4, 8(2+4+8)/3 = 4.6764^(1/3) = 4.003/(½+¼+⅛) ≈ 3.43
Ordering ruleHM ≤ GM ≤ AM for all positive values (equality when all values are identical)

The median — the middle value after sorting — does not follow the HM–GM–AM ordering because it uses position rather than algebraic computation. For the dataset 2, 4, 8 the median is 4, which coincidentally equals the geometric mean here, but that is not generally true. The median is resistant to extreme values in a way the geometric mean is not, because the geometric mean multiplies all values together.

Deciding which measure to report requires understanding what the data represents. Speed averaged over equal time intervals uses the arithmetic mean. Speed averaged over equal distances uses the harmonic mean. Compound growth uses the geometric mean. For a deeper comparison of all three means alongside the median and mode, see the mean vs median vs mode guide on Statistics Fundamentals.

Weighted Geometric Mean

When values do not contribute equally — for instance, when some observations represent more data, or when assets represent different portfolio shares — the weighted geometric mean assigns different importance through a weight wᵢ attached to each value.

Weighted Geometric Mean
Weighted GM = exp[ Σ(wᵢ × ln xᵢ) / Σwᵢ ]
xᵢ = each positive value wᵢ = weight for value i (must be positive) Σwᵢ = sum of all weights

When all weights are equal, this formula reduces to the standard geometric mean. The weighted version is used in portfolio performance analysis, economic index construction, and any situation where observations carry different levels of importance.

Weighted GM — Worked Example

Three assets return 5%, 10%, and 15%. They represent 20%, 50%, and 30% of a portfolio. Find the weighted geometric mean return.

1

Convert returns to growth factors: 1.05 (w=0.20)  |  1.10 (w=0.50)  |  1.15 (w=0.30)

2

Weighted log sum:
0.20 × ln(1.05) + 0.50 × ln(1.10) + 0.30 × ln(1.15)
= 0.20 × 0.04879 + 0.50 × 0.09531 + 0.30 × 0.13976
= 0.009758 + 0.047655 + 0.041928 = 0.099341

3

Σwᵢ: 0.20 + 0.50 + 0.30 = 1.00

4

Mean weighted log: 0.099341 / 1.00 = 0.099341

5

Exponentiate: exp(0.099341) ≈ 1.10444

6

Weighted return: 1.10444 − 1 ≈ 10.44% per year

✅ Weighted Geometric Mean Return ≈ 10.44%. The simple unweighted geometric mean of the three growth factors would give ≈ 9.92% — different because it treats each asset as equally important regardless of portfolio share.

Domain Restrictions: Zero and Negative Values

The Standard Geometric Mean Requires xᵢ > 0 for All i

Both GM = (Πxᵢ)^(1/n) and GM = exp(Σln xᵢ / n) require every value to be strictly greater than zero. Zero and negative values cause specific failures explained below.

When a value equals zero: The product of all values becomes zero, forcing GM = 0 regardless of every other value. Additionally, ln(0) approaches −∞, so the logarithmic method is undefined. A single zero in a dataset makes the standard geometric mean zero — a result that rarely reflects any meaningful center of the data.

When values are negative: With an even count of negative values the product is positive (a real result emerges by accident), but with an odd count the product is negative and the nth root is not a real number. Because behavior is inconsistent across cases and loses intuitive meaning, the standard formula should not be applied to datasets containing negative values without explicit mathematical justification beyond the introductory level.

The standard workaround for investment data with losses: Convert percentage returns to growth factors by adding 1. A −30% return becomes 0.70 — a positive growth factor. Calculate the geometric mean of the growth factors (all positive), then subtract 1. This is the mathematically correct approach used in finance, provided no return is −100% or worse (which would give a growth factor of zero or below).

When to Use the Geometric Mean

The geometric mean is the appropriate average whenever quantities interact multiplicatively rather than additively. That covers a broad range of fields:

📈

Investment Returns

Multi-year portfolio performance and compound growth require the geometric mean. Arithmetic averaging of returns overstates performance when returns vary across periods.

🏙️

Economic and Population Growth

GDP growth over multiple periods, population growth rates, and similar compounding quantities are correctly summarized by the geometric mean.

🔬

Scientific Measurements on Log Scales

pH, seismic magnitude, decibels, and other logarithmic-scale measurements span orders of magnitude. The geometric mean is more representative than the arithmetic mean for such data.

📊

Index Numbers

Many price indices and market indices weight constituent performance geometrically to avoid the distortion that a single high-priced asset creates under arithmetic averaging.

🧬

Biological Growth Rates

Cell doubling times, bacterial colony growth, and similar exponential biological processes are naturally summarized by the geometric mean.

⚖️

Ratios and Proportions

When the data itself is a ratio — exchange rates, relative risks, concentration ratios — the geometric mean respects the ratio structure where the arithmetic mean does not.

For the geometric mean in financial index construction, see NIST. For biological and environmental applications, see the descriptive statistics coverage at Statistics Fundamentals — Descriptive Statistics.

Mathematical Properties of the Geometric Mean

📐 Key Mathematical Properties
  • Positivity: GM is always positive when all input values are positive.
  • Identity: If all values equal c, then GM = c (matches the arithmetic mean in this special case).
  • AM–GM inequality: AM ≥ GM for all positive values; equality holds only when all values are identical.
  • HM–GM–AM ordering: HM ≤ GM ≤ AM for all positive values.
  • Multiplicative scaling: GM(kx₁, kx₂, …, kxₙ) = k × GM(x₁, x₂, …, xₙ) for any positive constant k.
  • Log–arithmetic link: GM = exp(mean(ln x)), so the geometric mean is the back-transformed arithmetic mean on a log scale.
  • Sensitivity to small values: A very small value pulls the geometric mean down strongly, because all values multiply together.
  • Middle-term property: For a geometric sequence, the geometric mean of all terms equals the middle term.

Common Mistakes with the Geometric Mean

MistakeWhat Goes WrongCorrect Approach
Adding values instead of multiplyingComputing (Σx)^(1/n) instead of (Πx)^(1/n)Multiply all values: (x₁ × x₂ × … × xₙ)^(1/n)
Dividing the product by nProduct / n gives the wrong answer every timeTake the nth root: Product^(1/n)
Averaging raw percentage returns(10 − 5 + 20) / 3 = 8.33% overstates compound returnConvert to growth factors first, then apply geometric mean
Using GM with zeroResult is always 0; log method undefinedStandard GM does not apply to datasets containing zero
Using GM with negative valuesInconsistent or non-real resultsConvert returns to growth factors; ensure all exceed zero
Confusing GM with CAGRCAGR uses start/end values only; geometric mean of factors uses every periodCAGR = (Vₙ/V₀)^(1/n) − 1; GM of growth factors − 1 when all individual factors are known
Confusing GM with medianThe median is positional; GM uses all values multiplicativelyUse median for positional center; GM for multiplicative center
Rounding intermediate valuesRounding ln(x) values introduces compounding errorKeep full precision throughout; round only the final displayed result
Applying GM to additive dataGM of test scores distorts the central tendencyUse arithmetic mean for interval-scale additive quantities

Practice Problems — 25 with Solutions

Work through each problem before revealing the answer. Solutions show full working.

Problem 1 — Basic

Find the geometric mean of 3 and 27.

GM = √(3 × 27) = √81 = 9. Arithmetic mean = (3 + 27) / 2 = 15. Note GM (9) is well below AM (15) due to the large spread between 3 and 27.
Problem 2 — Three Values

Find the geometric mean of 4, 16, and 64.

GM = (4 × 16 × 64)^(1/3) = 4,096^(1/3) = 16. This is a geometric sequence with ratio 4; the GM equals the middle term.
Problem 3 — Log Method

Use the logarithmic method to find the geometric mean of 5, 10, and 50.

ln(5) ≈ 1.60944, ln(10) ≈ 2.30259, ln(50) ≈ 3.91202. Sum = 7.82405. Mean = 7.82405 / 3 = 2.60802. GM = exp(2.60802) ≈ 13.57. Verify: (5 × 10 × 50)^(1/3) = 2,500^(1/3) ≈ 13.57 ✓
Problem 4 — Investment Returns

A stock returned +25%, −20%, and +10% over three years. Find the geometric average annual return.

Growth factors: 1.25, 0.80, 1.10. Product: 1.25 × 0.80 × 1.10 = 1.10. GM = 1.10^(1/3) ≈ 1.03228. Average return ≈ 3.23% per year. Arithmetic average of raw returns = (25 − 20 + 10)/3 = 5% — this overstates the true compound return.
Problem 5 — CAGR

An investment grew from $2,000 to $3,500 over 5 years. What is the CAGR?

CAGR = (3,500 / 2,000)^(1/5) − 1 = 1.75^0.2 − 1 ≈ 1.11832 − 1 = 11.83% per year.
Problem 6 — AM vs GM

For the values 1, 4, and 16, compute both the arithmetic mean and geometric mean. Which is larger?

AM = (1 + 4 + 16) / 3 = 7. GM = (1 × 4 × 16)^(1/3) = 64^(1/3) = 4. Arithmetic mean (7) is larger, consistent with the AM–GM inequality. Equality holds only when all values are identical.
Problem 7 — Weighted GM

Two assets return 8% and 12%. Asset A has weight 0.6, Asset B has weight 0.4. Find the weighted geometric mean return.

Weighted log sum = 0.6 × ln(1.08) + 0.4 × ln(1.12) = 0.6 × 0.07696 + 0.4 × 0.11333 = 0.04618 + 0.04533 = 0.09151. Σw = 1.0. GM = exp(0.09151) ≈ 1.09580. Weighted return ≈ 9.58%.
Problem 8 — Domain

Can you compute the standard geometric mean of 5, 0, 10, 15? Explain why or why not.

No. The dataset contains zero. Any product including zero equals zero, so the direct formula gives GM = 0^(1/4) = 0 regardless of the other values. The log method fails because ln(0) is undefined (approaches −∞). The standard geometric mean does not apply to datasets containing zero.
Problem 9 — Identical Values

What is the geometric mean of 7, 7, 7, 7, 7?

GM = (7 × 7 × 7 × 7 × 7)^(1/5) = 7^(5/5) = 7^1 = 7. When all values are identical, GM = AM = that common value.
Problem 10 — Population Growth

GDP growth rates over three years: 3.2%, 5.5%, 2.1%. Find the geometric average.

Growth factors: 1.032, 1.055, 1.021. Product: 1.032 × 1.055 × 1.021 ≈ 1.11138. GM = 1.11138^(1/3) ≈ 1.03580. Average GDP growth ≈ 3.58% per year.
Problem 11 — Two Values

Find the geometric mean of 9 and 25.

GM = √(9 × 25) = √225 = 15. Arithmetic mean = (9 + 25) / 2 = 17. The geometric mean (15) equals 3 × 5, the product of the square roots of 9 and 25.
Problem 12 — Small Values

Find the geometric mean of 0.1, 0.5, and 2.5.

GM = (0.1 × 0.5 × 2.5)^(1/3) = 0.125^(1/3) = 0.5. Arithmetic mean = (0.1 + 0.5 + 2.5) / 3 ≈ 1.033. The large relative spread causes a substantial gap between GM (0.5) and AM (1.033).
Problem 13 — AM–GM Check

Verify the AM–GM inequality for 2, 6, 18.

AM = (2 + 6 + 18) / 3 = 26 / 3 ≈ 8.667. GM = (2 × 6 × 18)^(1/3) = 216^(1/3) = 6. AM (8.667) > GM (6) ✓ — inequality confirmed. These form a geometric sequence with ratio 3; GM = middle term = 6.
Problem 14 — Fractions

Find the geometric mean of 1/4 and 4.

GM = √(0.25 × 4) = √1 = 1. When two values are reciprocals of each other (a and 1/a), their geometric mean is always 1.
Problem 15 — Large Values

Find the geometric mean of 1,000 and 1,000,000 using the log method.

ln(1,000) = 6.90776, ln(1,000,000) = 13.81551. Mean = (6.90776 + 13.81551) / 2 = 10.36164. GM = exp(10.36164) ≈ 31,623. Verify: √(10³ × 10⁶) = √10⁹ = 10^4.5 ≈ 31,623 ✓
Problem 16 — Growth Rate Conversion

Why must you convert percentage returns to growth factors before applying the geometric mean?

Percentage returns can be negative (e.g. −20%), but the standard geometric mean requires positive inputs. Growth factors (1 + return/100) are positive as long as no return is −100% or worse. Beyond the domain issue, taking the geometric mean of growth factors directly computes the true compound average growth factor — subtracting 1 gives the correct average rate. Taking the geometric mean of raw percentage values does not have this interpretation.
Problem 17 — Interpretation

A dataset has GM = 8 and n = 3. What does this mean in plain language?

It means: if you replace all three original values with 8, 8, 8, the product of the three 8s (8³ = 512) equals the product of the three original values. The geometric mean (8) is the constant multiplicative equivalent of the original dataset. For growth-rate data this would mean a constant annual growth factor of 8 produces the same total cumulative change as the varying original factors.
Problem 18 — Weighted GM

Values 2, 8, and 32 have weights 3, 2, and 1 respectively. Find the weighted geometric mean.

Σwᵢ = 3 + 2 + 1 = 6. Weighted log sum = 3 × ln(2) + 2 × ln(8) + 1 × ln(32) = 3 × 0.69315 + 2 × 2.07944 + 1 × 3.46574 = 2.07944 + 4.15888 + 3.46574 = 9.70407. Mean = 9.70407 / 6 = 1.61734. Weighted GM = exp(1.61734) ≈ 5.039.
Problem 19 — HM vs GM vs AM

For 4, 8, and 16, compute AM, GM, and HM and confirm the ordering.

AM = (4 + 8 + 16) / 3 = 9.333. GM = (4 × 8 × 16)^(1/3) = 512^(1/3) = 8. HM = 3 / (1/4 + 1/8 + 1/16) = 3 / (0.25 + 0.125 + 0.0625) = 3 / 0.4375 ≈ 6.857. Order: HM (6.857) ≤ GM (8) ≤ AM (9.333) ✓
Problem 20 — Ratio Data

A company's price-to-earnings ratios across three quarters were 18, 22, and 15. Which mean is most appropriate and what is its value?

P/E ratios are multiplicative quantities (ratios), so the geometric mean is the most appropriate measure. GM = (18 × 22 × 15)^(1/3) = 5,940^(1/3) ≈ 18.15. AM = (18 + 22 + 15) / 3 ≈ 18.33. Here the values are close, so AM and GM are similar — but for more widely spread ratios the difference would be larger.
Problem 21 — Excel Formula

What Excel formula calculates the geometric mean of cells A1 through A10?

=GEOMEAN(A1:A10). Excel returns an error if any cell contains zero or a negative value. The equivalent using logs is =EXP(AVERAGE(LN(A1:A10))), entered as an array formula in older Excel versions (Ctrl+Shift+Enter) or normally in Excel 365.
Problem 22 — Python

Write a Python one-liner to compute the geometric mean of a list of positive values.

import math; values = [2, 4, 8]; gm = math.exp(sum(math.log(v) for v in values) / len(values)). Alternatively, from scipy.stats import gmean; gm = gmean(values). Both use the logarithmic method internally for numerical stability.
Problem 23 — AM–GM Equality

For which dataset does the AM–GM inequality become an equality?

Only when all values are identical. If every xᵢ = c, then AM = c and GM = (c^n)^(1/n) = c. For any dataset with at least two distinct positive values, AM is strictly greater than GM.
Problem 24 — Scaling Property

The geometric mean of 3, 6, and 12 is 6. What is the geometric mean of 6, 12, and 24?

The second dataset is exactly 2 × the first dataset. By the multiplicative scaling property, GM(2×3, 2×6, 2×12) = 2 × GM(3, 6, 12) = 2 × 6 = 12. Verify: (6 × 12 × 24)^(1/3) = 1,728^(1/3) = 12 ✓
Problem 25 — GM and CAGR Distinction

Explain the difference between the geometric mean of annual growth factors and CAGR.

The geometric mean of annual growth factors uses each year's individual factor and computes GM = (f₁ × f₂ × … × fₙ)^(1/n). CAGR uses only the start value V₀ and end value Vₙ: CAGR = (Vₙ/V₀)^(1/n) − 1. When the growth factors for every year are known, GM of factors − 1 gives the geometric average return. CAGR is equivalent when the ratio Vₙ/V₀ equals the product of all the annual growth factors — which it does when no cash is added or withdrawn. In practice they give the same result for a single investment with no external cash flows, but they are calculated differently and the distinction matters when intermediate values are known.

Frequently Asked Questions

The geometric mean is the multiplicative middle value of a set of positive numbers. You calculate it by multiplying all the numbers together and taking the nth root of the result, where n is how many numbers you have. For two numbers it is their square root. For three numbers it is the cube root of their product. It gives you the "central" value in proportional terms rather than additive terms.

Standard form: GM = (x₁ × x₂ × … × xₙ)^(1/n). Logarithmic form: GM = exp[(ln x₁ + ln x₂ + … + ln xₙ) / n]. Both require all values to be strictly positive. The logarithmic form is preferred for large datasets and programming because it avoids numerical overflow.

GM = √(2 × 8) = √16 = 4. Arithmetic mean = (2 + 8) / 2 = 5. The geometric mean (4) is lower, consistent with the AM–GM inequality. Interpretation: 4 is the number that, when squared, equals 16, the same as 2 × 8.

GM = √(4 × 9) = √36 = 6. Arithmetic mean = (4 + 9) / 2 = 6.5.

GM = √(1 × 9) = √9 = 3. Arithmetic mean = (1 + 9) / 2 = 5. The gap between GM (3) and AM (5) is large here because the values 1 and 9 are nine times apart, so the proportional spread is large even though the absolute spread seems modest.

This follows from Jensen's inequality applied to the concave logarithm function. In plain terms: when values vary, multiplication "compresses" larger values more than addition does, so the geometric mean ends up below the arithmetic mean. The two are equal only when all values are identical, when there is no variation, there is nothing to compress.

No. For all positive values, AM ≥ GM without exception (the AM–GM inequality). The geometric mean can only equal the arithmetic mean, and that happens only when every value in the dataset is identical.

Not with the standard real-valued formula. When the count of negative values is odd, the product is negative and the nth root is complex (non-real). When the count is even, the product is positive by coincidence, but the result loses interpretable meaning. For investment returns that include losses, convert each percentage to a growth factor (add 1) so all inputs are positive, then apply the geometric mean.

The product-based formula gives GM = 0 whenever any value is zero, regardless of the other values. The log-based formula is undefined because ln(0) is not a finite number. The standard geometric mean does not apply to datasets containing zero. Some contexts define GM = 0 by convention when zero is present, but this must be stated explicitly rather than assumed.

Because ln(a × b) = ln(a) + ln(b), the logarithm converts multiplication into addition. So: ln(x₁ × x₂ × … × xₙ) = ln x₁ + ln x₂ + … + ln xₙ. Taking the arithmetic mean of these log values gives (ln x₁ + … + ln xₙ) / n. Exponentiating reverses the log: GM = exp[(Σ ln xᵢ) / n]. This is mathematically equivalent to the direct formula but avoids overflow when values are very large.

Use the geometric mean when values interact multiplicatively, when the next period's quantity is the current quantity times a factor rather than plus a constant. Growth rates, percentage changes, financial returns, ratios, and log-scale measurements are all multiplicative. Use the arithmetic mean for additive data such as heights, test scores, or temperatures.

The geometric mean multiplies all values and takes the nth root, so it uses every value. The median sorts values and picks the middle one, so it uses only position. The median is resistant to extreme values; the geometric mean is affected by all values through multiplication. For lognormal data the two are sometimes close, but they are conceptually and numerically distinct.

The geometric mean of annual growth factors is the constant factor that produces the same total multiplicative change over the same number of periods. CAGR = (Vₙ/V₀)^(1/n) − 1 uses the same logic with only the start and end values. When every annual factor is known, GM of factors − 1 equals the geometric average return. When only start and end values are known, CAGR gives the equivalent constant rate.

The weighted geometric mean assigns different importance to each value: Weighted GM = exp[Σ(wᵢ × ln xᵢ) / Σwᵢ]. It is used in portfolio analysis (weights = portfolio shares), economic index construction (weights = market capitalizations), and any setting where observations have different levels of importance. When all weights are equal it reduces to the standard geometric mean.

Yes. The geometric mean is not restricted to integers. GM of 1.5 and 2.4 = √(1.5 × 2.4) = √3.6 ≈ 1.897, not a whole number. The result is a decimal whenever the nth root of the product is not an integer, which is the typical case for real-world data.

Use =GEOMEAN(A1:A10) for a range. Excel returns an error for zero or negative values. The log equivalent =EXP(AVERAGE(LN(A1:A10))) works the same way; in older Excel it requires Ctrl+Shift+Enter as an array formula, while Excel 365 handles it normally.

For any set of positive real numbers, the arithmetic mean is always greater than or equal to the geometric mean: AM ≥ GM. Equality holds if and only if all values are equal. This is one of the most frequently used inequalities in mathematics, with applications ranging from optimization to information theory.

In descriptive statistics, the geometric mean is a measure of central tendency for positive, multiplicative, or ratio-scale data. It is appropriate when the data follows (or is suspected to follow) a lognormal distribution, when averaging growth rates, when combining index ratios, or when the measurement scale is logarithmic.

They are closely related but not identical. CAGR = (Vₙ/V₀)^(1/n) − 1 uses only starting and ending values. The geometric mean of growth factors uses every individual period's factor. For a single investment with no external cash flows, they give the same numerical result. For a portfolio where individual period returns are recorded, the geometric mean of the factors is the more detailed calculation.

Geometric mean: GM = (Πx)^(1/n), appropriate for multiplicative data such as growth and ratios. Harmonic mean: HM = n / Σ(1/x), appropriate for rates where the denominators add, such as average speed over equal distances. For positive values, HM ≤ GM ≤ AM. The harmonic mean is smaller than the geometric mean except when all values are equal.

You cannot apply the geometric mean directly to percentage growth rates because they can be negative and the formula requires positive values. The correct procedure is: convert each percentage to a growth factor (add 1: a 15% rate becomes 1.15, a −5% rate becomes 0.95), compute the geometric mean of the growth factors, then subtract 1 to convert back to a rate. This gives the geometric average growth rate.

The geometric mean is the constant value that, if used as each element in a multiplicative sequence of length n, produces the same overall product as the original values. For growth rates, it is the constant periodic rate that produces the same cumulative change. For ratios or index numbers, it is the typical ratio. It is not a "middle" in the additive sense, it is a middle in the proportional, logarithmic sense.

Do not use the geometric mean when: the data contains zero or negative values (without converting to growth factors); the data is purely additive (exam scores, temperatures, lengths); the measurement scale is ordinal rather than ratio; or when you need a measure that is resistant to extreme values in the positional sense (use the median instead). The geometric mean is the right tool for multiplicative, ratio-scale, positive data.

Because all values are multiplied together, a very small positive value pulls the geometric mean down substantially. For example, adding a value of 0.001 to the dataset {10, 100, 1000} reduces the geometric mean from 100 to (0.001 × 10 × 100 × 1000)^(1/4) = 1,000^(1/4) ≈ 5.62. This sensitivity to small values is a characteristic of the geometric mean to be aware of when interpreting results.

Yes, indirectly. Convert each percentage return r to a growth factor (1 + r/100). A −20% return becomes 0.80, which is positive. Compute the geometric mean of the growth factors. Subtract 1 to convert back to a rate. This works as long as no return is −100% or worse, because a −100% return gives a growth factor of 0, which is invalid for the geometric mean.

The Geometric Mean in Descriptive Statistics

In descriptive statistics, the geometric mean belongs to the family of measures of central tendency alongside the arithmetic mean, median, and mode. All of these summarize where a dataset is centered, but the choice of measure determines whether the summary is meaningful or misleading.

The geometric mean has a precise statistical connection to the lognormal distribution. When data is lognormally distributed — that is, when the logarithms of the values follow a normal distribution — the geometric mean of the data equals the median of the distribution and the back-transformed arithmetic mean of the log values. Many biological measurements, financial returns, particle sizes, and environmental concentrations follow approximately lognormal distributions, which explains why the geometric mean appears so naturally in those fields.

For computing these measures side by side, the mean calculator, median calculator, mean median mode calculator, and descriptive statistics calculator are available on Statistics Fundamentals. For the full context of how growth rates, compound interest, and the geometric mean connect to probability, the statistics and probability section covers the foundational theory.