What is a geometric mean calculator?
A geometric mean calculator finds the central tendency of a list of positive numbers by multiplying them all together and taking the root that matches how many values you entered. Unlike the ordinary (arithmetic) average, which adds values and divides by the count, the geometric mean is built on multiplication, which makes it the right choice whenever your data represents rates, ratios, or quantities that compound over time.
Enter your numbers and the calculator instantly reports the geometric mean along with the count of values used. Because the geometric mean involves a product of all the values, it is only defined for positive numbers — a single zero would collapse the product to zero, and a negative value makes the root undefined for real data, so the calculator leaves the result blank in those cases.
How does it work?
The geometric mean of positive values is the -th root of their product:
To keep the arithmetic numerically stable for long lists, the calculator computes the same value through logarithms — averaging the natural logs of the inputs and exponentiating the result:
Both forms give an identical answer; the logarithmic version simply avoids overflow when many values are multiplied together.
Worked examples
Two numbers. For the list and , the product is and there are values, so the geometric mean is the square root of :
Three numbers. For , , and , the product is and , so the geometric mean is the cube root of :
Identical values. When every value is the same, the geometric mean equals that value. For , , and :
When to use the geometric mean
The geometric mean shines whenever values multiply rather than add. Common uses include:
- Average growth and return rates. For investment returns, population growth, or inflation measured year over year, the geometric mean of the growth factors gives the true compound average — the arithmetic mean overstates it.
- Ratios and index numbers. Price indexes, aspect ratios, and other quantities expressed as ratios are averaged correctly with the geometric mean.
- Data spanning several orders of magnitude. When values range across powers of ten, the geometric mean is far less distorted by extreme entries than the arithmetic mean.
For a single value the geometric mean is just that value, and for any list it always falls below or equal to the arithmetic mean of the same numbers, with equality only when all the values are identical.
Frequently asked questions
Why must the numbers be positive? The geometric mean depends on the product of all values. A zero makes the product zero, and a negative value makes an even root undefined for real numbers, so a meaningful geometric mean exists only when every input is greater than zero. To learn how the geometric mean relates to the everyday average, see the average calculator, and to measure how spread out your data is, try the standard deviation calculator.
How is it different from the median or mode? The median and mode describe position and frequency rather than a product-based center; the mean, median, and mode calculator covers those measures. The geometric mean is a true average, but one tuned for multiplicative data.