Navigation
Calculators Pricing Blog About Contact
Get Started
Get Started Login
📏

Geometric Mean Calculator

Calculate the geometric mean of a set of numbers. Used in finance, biology, and statistics.

All values must be positive

What Is the Geometric Mean?

The geometric mean is a type of average that is calculated by multiplying all the numbers together and then taking the nth root (where n is the count of numbers). Unlike the arithmetic mean (regular average), the geometric mean is particularly useful for datasets that involve rates of change, ratios, or multiplicative relationships.

Geometric Mean Formula:
GM = (x₁ × x₂ × x₃ × ... × xₙ)^(1/n)

Or equivalently:
GM = exp((ln(x₁) + ln(x₂) + ... + ln(xₙ)) / n)

When to Use Geometric Mean

The geometric mean is preferred over the arithmetic mean in several situations:

  • Investment returns: Calculating average annual returns over multiple years
  • Growth rates: Finding average growth rates (population, revenue, etc.)
  • Ratios and percentages: Averaging values that are ratios or percentages
  • Log-normal data: When data is log-normally distributed
  • Index numbers: Computing financial indices

Geometric vs Arithmetic Mean

The arithmetic mean adds values and divides by count. The geometric mean multiplies values and takes the root. The geometric mean is always less than or equal to the arithmetic mean for positive numbers (AM-GM inequality).

Example: For investment returns of +50% and -50%: Arithmetic mean = 0% (misleading). Geometric mean = √(1.5 × 0.5) - 1 = -13.4% (accurate).

Applications in Finance

In finance, the geometric mean correctly accounts for the compounding effect of returns. If an investment returns 10%, 20%, and -5% over three years, the geometric mean return tells you the equivalent constant annual return that would give the same final value.

How to Use This Calculator

Enter your numbers separated by commas. The calculator instantly computes the geometric mean along with the arithmetic mean for comparison. All numbers must be positive for the geometric mean to be defined.

Limitations

The geometric mean cannot be calculated if any value is zero or negative (you cannot take roots of negative products). For datasets containing zeros, consider using a modified geometric mean or a different measure of central tendency.

Frequently Asked Questions

The geometric mean is calculated by multiplying all values together and taking the nth root. It represents the central tendency of multiplicative data.
Use geometric mean for growth rates, investment returns, ratios, and any data that compounds or multiplies. Use arithmetic mean for additive data like test scores.
No, the geometric mean requires all positive values. Negative or zero values make the geometric mean undefined.
The Arithmetic Mean - Geometric Mean inequality states that for positive numbers, the arithmetic mean is always greater than or equal to the geometric mean.
In finance, geometric mean calculates the true average rate of return over multiple periods, accounting for compounding effects that the arithmetic mean ignores.
The geometric mean of 2 and 8 is √(2×8) = √16 = 4. Note the arithmetic mean is (2+8)/2 = 5.

Embed this Calculator

Copy the code below and paste it into your website's HTML. Your visitors can use this calculator for free.

px × px
<iframe src="https://calculatorteam.com/embed/geometric-mean-calculator" width="100%" height="600" style="border:none;border-radius:12px;" loading="lazy" title="Geometric Mean Calculator"></iframe>

Report an Issue

Let us know what's wrong with this calculator. We'll review and fix it as soon as possible.