Geometric Mean

Free online geometric mean calculator for statistics and finance. Enter comma-separated positive numbers to compute the nth root of the product with bar chart, ln-value breakdown table, and instant accuracy.

Calculate geometric mean

About This Calculator

The Geometric Mean Calculator computes the geometric mean of any set of positive numbers using the formula GM = (x1 x x2 x ... x xₙ)^(1/n). Unlike the arithmetic mean which uses addition, the geometric mean uses multiplication and is the appropriate measure of central tendency for datasets that grow exponentially or multiplicatively.

The geometric mean is the correct way to average investment returns (CAGR), growth rates, inflation rates, and any ratio-based data. For example, if an investment returns +50% in year one and -50% in year two, the arithmetic mean says 0% return, but the actual average annual return (CAGR) is -13.4% -- which is what the geometric mean correctly computes. The geometric mean is always less than or equal to the arithmetic mean for any set of positive numbers.

The calculator accepts comma-separated positive numbers and returns the geometric mean, product of all values (in scientific notation for large datasets), natural logarithm breakdown for each value, and an interactive bar chart of the input values.

How to Use

Enter your positive numbers as a comma-separated list (e.g. 2, 4, 8, 16). The calculator requires all values to be positive numbers. Click "Calculate Geometric Mean" to see the result, chart, and breakdown. Bookmark the URL to share or revisit the calculation.

Frequently Asked Questions

What is the geometric mean?

The geometric mean is a measure of central tendency calculated as the nth root of the product of n positive numbers. For numbers a1, a2, ..., aₙ, the geometric mean = (a1 x a2 x ... x aₙ)^(1/n). It is always less than or equal to the arithmetic mean and greater than or equal to the harmonic mean.

How do I use the geometric mean calculator?

Enter your positive numbers as a comma-separated list (e.g. 2, 4, 8, 16). Click Calculate Geometric Mean to compute the result. The tool displays the geometric mean, product of all values, count, a bar chart of values, and a breakdown table with natural logarithms and percentage contributions.

What are common uses of geometric mean?

The geometric mean is essential for calculating average investment returns over multiple periods (CAGR), analyzing population growth rates, computing average inflation rates, normalizing values in index construction, and in biology for measuring bacterial growth rates. It is always used when dealing with multiplicative processes rather than additive ones.

What is the difference between geometric and arithmetic mean?

The arithmetic mean sums values and divides by count (additive). The geometric mean multiplies values and takes the nth root (multiplicative). For investment returns, if a stock gains 50% one year and loses 50% the next, the arithmetic mean is 0% but the geometric mean correctly shows the actual loss. The geometric mean is always less than or equal to the arithmetic mean for positive numbers.

Can geometric mean handle negative or zero values?

The geometric mean is defined only for positive numbers. If any value is zero or negative, the geometric mean is not a real number (or becomes zero/undefined). Our calculator returns 0 if any non-positive values are detected. For datasets containing negative values, use the arithmetic mean or median instead.

How is geometric mean related to CAGR?

The Compound Annual Growth Rate (CAGR) is actually the geometric mean of investment returns. If an investment grows by rates r1, r2, ..., rₙ over n periods, CAGR = ((1+r1)x(1+r2)x...x(1+rₙ))^(1/n) - 1. This is exactly applying the geometric mean to the growth factors and subtracting 1 to get the annualized return rate.

Is this geometric mean calculator free?

Yes, this geometric mean calculator is completely free to use with no registration, downloads, or hidden charges. Share your results via URL bookmarking.

How accurate are the results?

Results are computed using standard mathematical formulas with high-precision floating point arithmetic. The geometric mean is displayed to 4 decimal places for maximum accuracy.