CalculatorForEver
MATH / CALCULATOR

Geometric Mean Calculator

Calculate geometric mean with worked steps, clear input conventions and a result table.

For n positive values, G = (x₁x₂…xₙ)^(1/n). Equivalently, G = exp[(Σ ln xᵢ)/n]. Values 2 and 8 have geometric mean 4 because √(2×8) = 4.

Your numbers

BROWSER-LOCAL INPUTS

Your inputs stay in this browser. No account needed.

RESULT

Your result

Enter your values and select Calculate.

Check the units and assumptions before using this result.

METHOD

How the geometric mean calculator works

How to use this calculator

Enter the values in the stated format. Calculate and review the method, exact distinctions and any numerical limits before using the result.

What the result means

The geometric mean describes a central value for positive quantities that combine by multiplication. Multiply the observations and take the root corresponding to their count, or average their logarithms and exponentiate. This calculator uses positive numeric observations and an unweighted mean. It is useful for checking equal-weight growth factors and multiplicative ratios. The inputs must represent comparable quantities; combining measurements with unrelated units does not create a meaningful central value merely because the formula returns a number.

The formula

GM = exp(mean(ln x))

A worked example

The geometric mean of 2 and 8 is 4.

Assumptions & methodology

Use consistent units and inspect the displayed working. Numerical results are rounded for display; unsupported or unstable inputs are rejected. Results are rounded for display; intermediate calculations retain precision. This tool is informational and does not replace institutional or professional guidance.

References

Wolfram MathWorld: geometric mean

WORK THROUGH THE DETAILS

Using your geometric mean result

Compare a two-period investment path

Start with 1,000, rise 50% to 1,500, then fall 50% to 750. The growth factors are 1.5 and 0.5, with product 0.75. Their geometric mean factor is √0.75, approximately 0.866025, corresponding to −13.3975% per period. The arithmetic average of the percentage returns is zero, but the ending balance fell. The geometric calculation retains the multiplicative effect. This illustration assumes equal periods and no contributions or withdrawals; cash-flow performance needs a different calculation.

Use logarithms to keep the numerical calculation manageable

Directly multiplying many very large positive observations can overflow even when the final root would be representable. Averaging logarithms avoids forming that full product. For instance, values 10⁶ and 10⁻⁶ multiply to 1 and have geometric mean 1. Their logarithms cancel before exponentiation. Logarithms require positive inputs in this real-valued model. Zero and negative observations are rejected rather than silently removed or replaced, because changing the list would change the question.

Choose weights explicitly outside this unweighted interface

Each entered observation contributes the same weight here. Repeating a value changes its frequency and therefore its influence; it is not a harmless display choice. A weighted geometric mean would use a weighted average of logarithms, which this form does not infer from neighboring text or labels. Use Arithmetic Average for additive observations or Harmonic Mean for suitable equal-quantity rate problems. If a dataset includes missing records, resolve their treatment before entering numeric replacements. A zero used as a missing-data code is not a valid growth multiplier.

Check sensitivity to scaling and units

Multiplying every positive observation by the same positive factor multiplies the geometric mean by that factor. Values 2 and 8 have mean 4; expressing both in a unit one hundred times smaller gives numeric values 200 and 800 with mean 400. The relationship preserves the underlying quantity when the unit conversion is consistent. Multiplying only one observation changes the relative data and does not act as a simple unit conversion. For ratios or growth factors, avoid attaching a currency label to the mean unless the observations themselves are currency amounts with a suitable multiplicative interpretation.

INTERPRETATION

Understanding geometric mean results

Check the product-preserving interpretation

For 2 and 8, replacing both observations with 4 preserves their product: 2×8 = 4×4 = 16. The arithmetic mean would be 5, which preserves the sum instead. The two means answer different questions. With values 1, 4 and 16, the product is 64 and its cube root is 4. The count in the root is the number of observations, including repeated values, not the number of distinct values in the list.

Enter growth multipliers rather than raw percentage returns

A 20% gain corresponds to a factor of 1.20, while a 20% decline corresponds to 0.80. Their geometric mean factor is √0.96, approximately 0.979796. Subtracting one gives an equivalent per-period return of about −2.0204%. Entering 20 and −20 directly would not describe those growth factors and would violate this positive-input model. A negative return can therefore still have a positive growth factor when it remains above −100%.

RELATED GUIDES

Related questions and worked examples

Read a worked explanation before trying another calculation.

QUESTIONS

Geometric Mean questions

Why must these inputs be positive?+

The model calculates real logarithms of the observations. Positive values provide a defined log and an unambiguous positive geometric mean.

Do identical positive values return that same value?+

Yes. The geometric mean of 7, 7 and 7 is 7. This is a useful boundary check for the input and calculation.