Mihsaba›Math›Geometric Mean Calculator

Geometric Mean Calculator

Calculate the geometric mean of positive values with a numerically stable log method, alongside the arithmetic mean and count.

Share this free calculator

Send this tool to someone who needs the calculation.

How to use

The geometric mean is useful for multiplicative quantities, ratios and growth factors. Instead of multiplying values directly, the calculator averages logarithms for numerical stability.

  1. Enter strictly positive values.
  2. Take ln of each value and average those logs.
  3. Exponentiate that average to obtain GM and compare it with the arithmetic mean.

How it is calculated

GM=exp[(Σln xᵢ)/n]=(∏xᵢ)^(1/n)

Example

For 1, 4 and 16: GM = ∛64 = 4.

Important notes

This version requires strictly positive inputs; zero or negative values do not have real logarithms for this formula.

Worked examples and interpreting results

For positive values 4 and 9, the geometric mean is 6 and the arithmetic mean 6.5. The geometric mean roots their product and is useful for certain multiplicative relationships.

Worked examples and interpreting results
CaseCalculationResult
Geometric mean√(4 × 9)6
Arithmetic mean for comparison(4 + 9) ÷ 26.5

How to check the result

This model uses positive values. For growth rates, convert each rate to a factor such as 1.10, find the geometric mean of those factors and subtract 1. Do not multiply percentage rates directly.

Frequently asked questions

When should I use geometric mean?

For multiplicative quantities such as growth factors and ratios.

Is it the same as arithmetic mean?

Only in special cases, such as when all positive values are equal.

Why use logarithms?

To avoid directly multiplying many values and risking overflow or underflow.

Can the geometric mean include zero or negative values?

A zero makes the product, and therefore the direct geometric mean, zero. Negative inputs require context-dependent mathematical treatment and are usually excluded from growth-factor and relative-return applications.