8
12.4
0.645161
32,768
8
12.4
0.645161
32,768
The Geometric Mean Calculator computes the geometric mean of a set of positive numbers — the nth root of the product of n values. Unlike the arithmetic mean, the geometric mean is multiplicative in nature, making it the correct average for quantities that grow or compound multiplicatively, such as investment returns, population growth rates, and ratios.
The geometric mean is always less than or equal to the arithmetic mean (AM-GM inequality), with equality only when all values are identical. This property makes it especially useful for datasets with large variation or multiplicative relationships, where the arithmetic mean would be skewed upward by extreme values. Financial analysts use it for average return calculations, scientists for averaging ratios and indices, and engineers for signal processing and geometric design parameters.
For n positive values \(x_1, x_2, \ldots, x_n\), the geometric mean is:
$$G = \left(\prod_{i=1}^{n} x_i\right)^{1/n} = \sqrt[n]{x_1 \cdot x_2 \cdots x_n}$$
To avoid numerical overflow with large products, the calculation uses logarithms:
$$G = \exp\left(\frac{1}{n}\sum_{i=1}^{n} \ln(x_i)\right)$$
This log-transform approach is computationally stable and works for any positive values. The geometric mean requires all values to be strictly positive — if any value is zero, the product is zero and the geometric mean is zero; negative values would produce complex logarithms.
The geometric mean has a key property: it is the value that, if substituted for every item, would produce the same product as the original values. This makes it the natural average for multiplicative processes.
A geometric mean of 8.0 for the values {2, 4, 8, 16, 32} means that multiplying five 8's together gives the same product as 2 * 4 * 8 * 16 * 32. The arithmetic mean of the same data is 12.4, which is higher — this gap demonstrates the AM-GM inequality and reflects the right-skewed nature of this dataset.
In finance, if your portfolio returns 10%, -5%, 20%, and 15% over four years, the geometric mean return correctly captures the compounding effect, while the arithmetic mean would overstate performance.
Inputs
Results
Growth factors of 1.10, 0.95, 1.20, 1.15, 1.08 over 5 years. Geometric mean = 1.0929, meaning average annual growth of ~9.29%. Arithmetic mean (9.6%) slightly overstates the true compounded return.
Inputs
Results
For dimensions 3, 12, 27: geometric mean = cube root of (3*12*27) = cube root of 972 = 10.90. This represents the side length of a cube with the same volume as a 3x12x27 box.
Use geometric mean when data involves rates of change, ratios, percentages, or compound growth. Examples include average investment returns, average inflation rates, biological growth rates, and index numbers.
The geometric mean involves taking roots of a product. Zero makes the product zero, and negative values create problems with even roots (which produce complex numbers). The log-based computation also requires positive values since ln(x) is undefined for x <= 0.
The Arithmetic Mean - Geometric Mean inequality states that the arithmetic mean is always >= the geometric mean for positive numbers, with equality only when all values are identical. Mathematically: (x1+x2+...+xn)/n >= (x1*x2*...*xn)^(1/n).
For compound returns over multiple periods, the geometric mean of growth factors (1 + return) gives the true average growth rate. The arithmetic mean overstates returns due to the asymmetry of percentage gains and losses.
If any value in the dataset is 0, the geometric mean is 0, since the product of the values becomes 0. This is why geometric mean is typically applied only to strictly positive data.
The geometric mean equals the exponential of the arithmetic mean of logarithms: G = exp(mean(ln(xi))). This relationship is the basis for log-normal distribution analysis, where the geometric mean is the natural center.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!