Geometric Mean Calculator

The geometric mean is the n-th root of the product of n positive numbers. For 2, 8 and 32 the geometric mean is (2 × 8 × 32)^(1/3) = 8, compared with an arithmetic mean of 14. It is the right average for growth rates and ratios.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is the Geometric Mean?

The geometric mean is a type of average that multiplies values together instead of adding them. It answers the question: what single constant factor would give the same overall result as these varying factors? That is exactly what you want for quantities that compound, such as investment returns, population growth and price indices.

The ordinary (arithmetic) mean can be badly misleading for growth. Gain 50% and then lose 50%, and the arithmetic average says you broke even, yet $100 becomes $75. The geometric mean captures the real outcome.

The Three Classic Means

MeanFormulaBest forFor 2, 8, 32
ArithmeticSum ÷ nAdditive quantities14
Geometric(Product)^(1/n)Growth rates, ratios, compounding8
Harmonicn ÷ Σ(1/x)Rates such as speeds over equal distances4.5714

For any set of positive numbers, arithmetic mean ≥ geometric mean ≥ harmonic mean, with equality only when all the numbers are identical.

Geometric Mean Formula

Geometric mean = ( x₁ × x₂ × … × xₙ )^(1 ÷ n) = exp( [ ln x₁ + ln x₂ + … + ln xₙ ] ÷ n )
  • x₁ … xₙ are the positive values in your dataset.
  • n is how many values there are.
  • The second form uses logarithms, which avoids overflow when multiplying many large numbers. It shows that the geometric mean is the arithmetic mean of the logs, converted back.

Every value must be greater than zero. A zero makes the product zero, and negative numbers can make roots undefined. Compare with the ordinary arithmetic mean or the harmonic mean.

Worked Example: Geometric Mean of 2, 8 and 32

  1. Multiply: 2 × 8 × 32 = 512.
  2. Take the 3rd root (n = 3): 512^(1/3) = 8.
  3. Check: 8 × 8 × 8 = 512.
  4. The arithmetic mean is (2 + 8 + 32) ÷ 3 = 14, and the harmonic mean is 3 ÷ (1/2 + 1/8 + 1/32) = 4.5714. The three means sit in the order 14 > 8 > 4.57, as theory predicts.

Example: Average Investment Growth

An investment returns +10%, −20% and +30% in three years, giving growth factors of 1.10, 0.80 and 1.30.

  1. Product: 1.10 × 0.80 × 1.30 = 1.144, so $100 becomes $114.40.
  2. Geometric mean: 1.144^(1/3) = 1.0459, an average of +4.59% per year.
  3. Arithmetic mean of the returns: (10 − 20 + 30) ÷ 3 = 6.67%, which overstates the real growth.
  4. Check: $100 × 1.0459³ = $114.40.

Data Spanning Orders of Magnitude

For 1, 10, 100, 1,000 and 10,000 the geometric mean is 10^((0 + 1 + 2 + 3 + 4) ÷ 5) = 10² = 100, while the arithmetic mean is 2,222.2, dragged up by the largest value. That is why the geometric mean is used for quantities such as concentrations and counts that vary by powers of ten.

Compound Annual Growth Rate

If an investment grows from $100 to $150 over 5 years, the geometric average annual growth is (150 ÷ 100)^(1/5) − 1 = 1.0845 − 1 = 8.45% per year.

How to Use This Geometric Mean Calculator

  1. Enter your positive numbers separated by commas or spaces.
  2. For growth rates, convert each percentage to a factor first: +10% becomes 1.10 and −20% becomes 0.80.
  3. Read the geometric mean, with the arithmetic and harmonic means shown for comparison.
  4. If you entered growth factors, subtract 1 from the geometric mean to get the average growth rate.

Real-World Uses of the Geometric Mean

  • Finance: compound annual growth rate (CAGR) is a geometric mean of yearly growth factors.
  • Economics: price indices and the Human Development Index use geometric averaging.
  • Biology and medicine: averaging bacterial counts, dilution series and antibody titres, which span orders of magnitude.
  • Engineering and technology: averaging performance ratios in benchmarks.
  • Data analysis: summarising right-skewed, strictly positive data such as concentrations.

What Are the Most Common Mistakes With the Geometric Mean Calculator?

  • Using it with zero or negative values. It is defined only for positive numbers.
  • Averaging percentages directly. Convert returns to factors before taking the geometric mean, then convert back.
  • Using it for additive data. For quantities that simply add, such as heights, use the arithmetic mean.
  • Forgetting to take the n-th root. The product alone is not the mean.
  • Mixing up the three means. Each answers a different question.
  • Rounding too early. Roots amplify rounding differences, so carry extra digits.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the geometric mean formula?

Multiply all n numbers together and take the n-th root: (x₁ × x₂ × … × xₙ)^(1/n).

When should I use the geometric mean instead of the arithmetic mean?

Use it for quantities that multiply or compound, such as growth rates, returns and ratios. The arithmetic mean overstates the typical value in those cases.

Can the geometric mean be used with negative numbers?

No. It requires positive numbers because a zero makes the product zero and negative values can make the root undefined.

How do I calculate average growth rate with the geometric mean?

Convert each growth rate to a factor (1 + rate), take the geometric mean of those factors, then subtract 1. For +10%, −20%, +30% the answer is about 4.59% per period.

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

By the AM–GM inequality, the geometric mean is less than or equal to the arithmetic mean for positive numbers, with equality only when all values are the same.

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

It is 8, because 2 × 8 × 32 = 512 and the cube root of 512 is 8.