MihsabaGeometric Mean Calculator

Geometric Mean Calculator

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

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.

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.

Is this calculator free?

Yes. It is free to use and requires no account.