What Is the Geometric Mean?
The geometric mean is a type of average that multiplies all the numbers in a set together and then takes the nth root of the product, where n is how many numbers there are. Unlike the familiar arithmetic mean, which adds values, the geometric mean is built on multiplication. This makes it the right average for things that grow or shrink by ratios or percentages — such as investment returns, growth rates, ratios, and index numbers.
How to Use This Calculator
Type your numbers into the box, separated by commas or spaces (for example 2, 8, 32). All values must be positive — the geometric mean is undefined when any number is zero or negative. Press calculate and the tool returns the geometric mean along with the count of values used.
The Formula Explained
The geometric mean is defined as:
$$\text{GM} = \left( \prod_{i=1}^{n} x_i \right)^{\frac{1}{n}} = \sqrt[n]{x_1 \cdot x_2 \cdots x_n}$$
To stay numerically stable for large lists, this calculator uses the logarithmic form: it sums the natural logs of every value, divides by \(n\), then exponentiates. The two forms are mathematically identical.
Worked Example
Suppose you have the numbers 2, 8 and 32. Their product is $$2 \times 8 \times 32 = 512.$$ Since there are 3 numbers, take the cube root: $$512^{\frac{1}{3}} = 8.$$ So the geometric mean is 8 — notice it sits in the "middle" multiplicatively (\(2 \times 4 = 8\), \(8 \times 4 = 32\)).
FAQ
When should I use the geometric mean instead of the arithmetic mean? Use it for rates of return, percentage changes, and ratios that compound over time, where multiplying matters more than adding.
Can I include zero or negative numbers? No. Because the product would be zero or the root undefined, the geometric mean only applies to positive values.
Is the geometric mean always smaller than the arithmetic mean? Yes — for any set of positive numbers that are not all equal, the geometric mean is strictly less than the arithmetic mean (the AM–GM inequality).