Geometric Mean Calculator — Free Online | EverydayCalcSkip to main content
everydaycalc.

Find calculators and file viewers

Press Esc to close · / or Ctrl+K to open

Home›Math & Scientific›Geometric Mean Calculator
Math & Scientific

Geometric Mean Calculator

Find the geometric mean of positive values using logarithms for numerical stability, with arithmetic mean for comparison.

✦ INSTANT CALCULATION

Geometric Mean Calculator

YOUR RESULT
—

ⓘ Calculated locally in your browser. Results depend on the values and units you enter.

Interactive mathematical graph

The axes, points and dimensions are recalculated from the values you enter.

How this calculator works

For n strictly positive observations, geometric mean=exp((ln x₁+…+ln xₙ)/n). Summing logarithms instead of multiplying many values helps avoid overflow and underflow. It is useful for positive growth factors or multiplicative processes; it is not the same as arithmetic average growth, and zero or negative values are not accepted. To average percentage growth rates, first convert each to a positive growth factor (1+r), then subtract 1 from the factor mean.

Formula and reasoning

GM = exp[Σln(xᵢ) / n], xᵢ > 0

  1. 1. Start with the measurements
    Positive values (comma or space separated)1, 2, 4, 8
  2. 2. Substitute into the formula

    Positive values (comma or space separated) = 1, 2, 4, 8

  3. 3. Check the computed answer

    Result for the sample inputs2.8284

Worked example

The geometric mean of 1, 2, 4 and 8 is (64)^(1/4)≈2.828427; the arithmetic mean is 3.75.

Frequently asked questions

Can I enter zero?

No. The logarithmic geometric mean requires every entry to be greater than zero.

Can it average annual investment returns?

Use growth factors such as 1.05 or 0.98, not percentage labels, and subtract 1 from their geometric mean.

Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.

Add this calculator to your website

Share a working calculator on your blog or website. Choose a fixed size or let the height fit the content.

Fixed height

Works on websites that accept iframe HTML.

Responsive height

Automatically adjusts the height. Your website must allow scripts.

Open calculator preview ↗

Powered by EverydayCalc