Geometric Mean Calculator
Enter positive numbers separated by commas or spaces to find their geometric mean. This tool also shows the arithmetic mean for comparison.
Understanding the Geometric Mean Formula
The geometric mean of n positive numbers is the nth root of their product. Written mathematically, the geometric mean of xโ, xโ, ..., xโ is (xโ ร xโ ร ... ร xโ)^(1/n). For two numbers, you multiply them and take the square root. For three numbers, multiply and take the cube root. This operation finds the central value in a multiplicative sense, just as the arithmetic mean finds the central value in an additive sense.
Consider the numbers 2, 8, and 32. Their product is 512. The cube root of 512 is 8, so the geometric mean is 8. Notice that 8 is perfectly positioned in a multiplicative sequence: 2 ร 4 = 8 and 8 ร 4 = 32. The geometric mean captures the proportional center of the data, not the absolute center.
This property makes geometric mean ideal for data that represents growth factors, ratios, or quantities that compound. If an investment grows 10% one year and 20% the next, the average growth is not 15%. You must multiply growth factors (1.10 and 1.20), then take the square root to get the geometric mean growth factor of approximately 1.1489, representing 14.89% average annual growth.
When to Use Geometric Mean
Geometric mean is the correct average for quantities that multiply rather than add. Financial returns compound multiplicatively: an investment growing by factors of 1.05, 1.10, and 1.15 over three years has a total growth factor of 1.05 ร 1.10 ร 1.15 = 1.32825. The geometric mean of those factors is 1.0977, indicating an average annual growth of 9.77%, which accurately reflects compound growth.
Ratios and percentages often require geometric mean. If you resize an image to 80% and then to 120% of the original, the arithmetic mean of 100% suggests you are back to the original size, but you are not: 0.8 ร 1.2 = 0.96. The geometric mean of 0.8 and 1.2 is 0.9798, correctly showing you are slightly below the original size.
Population biology uses geometric mean to average reproduction rates across generations. Computer scientists use it for benchmarking performance metrics. Geologists use it for averaging grain sizes and permeability measurements. Any domain where values combine multiplicatively benefits from geometric rather than arithmetic averaging.
Geometric Mean vs. Arithmetic Mean
The arithmetic mean sums values and divides by the count. The geometric mean multiplies values and takes the nth root. For the same set of numbers, the geometric mean is always less than or equal to the arithmetic mean, with equality only when all values are identical. This relationship is known as the AM-GM inequality and holds for all positive numbers.
For the numbers 1, 4, and 16, the arithmetic mean is (1+4+16)/3 = 7, while the geometric mean is (1ร4ร16)^(1/3) = 4. The geometric mean is pulled down by the smaller values because multiplication amplifies the effect of values near zero, while addition treats small and large values more symmetrically.
Choosing the right mean depends on your data's structure. If you average speeds over equal distances, use harmonic mean. If you average speeds over equal times, use arithmetic mean. If you average growth rates or ratios over multiple periods, use geometric mean. Using the wrong type of average can produce misleading results and incorrect conclusions, so understanding the underlying mathematical structure of your data is essential.
Frequently Asked Questions
What is the geometric mean?
The geometric mean is the nth root of the product of n numbers. For two numbers, it is the square root of their product. For three numbers, the cube root, and so on.
When should I use geometric mean instead of arithmetic mean?
Use geometric mean for ratios, growth rates, and data that multiply together. Arithmetic mean works for data that adds together. Investment returns and population growth use geometric mean.
Can I calculate geometric mean with negative numbers?
No. Geometric mean is only defined for positive numbers because taking even roots of negative products produces complex numbers.
Why is geometric mean always less than or equal to arithmetic mean?
This is the AM-GM inequality, a fundamental mathematical theorem. The geometric mean equals the arithmetic mean only when all values are identical.
How do I calculate geometric mean manually?
Multiply all the numbers together, then take the nth root where n is the count of numbers. For 2, 8, and 32: multiply to get 512, then take the cube root, which is 8.