how to calculate the geometric mean in excel

Geometric Mean Calculator

Quickly test your data before moving to Excel. Enter your values separated by commas.

When dealing with growth rates, investment returns, or any data that compounds over time, the standard arithmetic average often fails to tell the full story. This is where the geometric mean becomes an essential tool in your Excel toolkit.

Unlike the arithmetic mean, which adds values together, the geometric mean multiplies them. It is defined as the nth root of the product of n numbers. In this guide, we will look at exactly how to implement this in Microsoft Excel.

The GEOMEAN Function

Excel provides a built-in function specifically designed for this purpose: =GEOMEAN(). This function is the most efficient way to calculate the average rate of return or growth across multiple periods.

Syntax

=GEOMEAN(number1, [number2], ...)

  • number1: The first value or range of values.
  • number2: (Optional) Additional values or ranges.

Step-by-Step: Calculating Growth Rates

To calculate the geometric mean of a set of values in Excel, follow these steps:

  1. Organize your data: List your numbers in a single column or row (e.g., A1 through A10).
  2. Select an empty cell: This is where your result will appear.
  3. Enter the formula: Type =GEOMEAN(A1:A10).
  4. Press Enter: Excel will multiply all values in the range and take the 10th root (in this example) to provide the result.

Why Use Geometric Mean Instead of Arithmetic Mean?

Imagine you have an investment that grows by 50% in year one and drops by 50% in year two. The arithmetic mean is 0% ( (50% - 50%) / 2 ). However, if you started with $100, you'd have $150 after year one, and only $75 after year two. You've actually lost 25%! The geometric mean correctly reflects this compounding reality, whereas the arithmetic mean does not.

Important Restrictions

Before you use the GEOMEAN function, keep these two critical rules in mind:

  • No Negative Numbers: The geometric mean cannot be calculated if any of the numbers in your set are negative.
  • No Zeros: If any value in your range is zero, the product of the entire set becomes zero, resulting in a geometric mean of zero.

If you are working with percentage returns that include negatives (e.g., -5%), you should convert them to "growth factors" by adding 1 to the decimal (e.g., 0.95) before using the function.

Alternative Method: The Power Formula

If you prefer to understand the math behind the scenes, you can calculate the geometric mean manually in Excel using the PRODUCT and COUNT functions:

=POWER(PRODUCT(A1:A10), 1/COUNT(A1:A10))

This formula multiplies all items in the range and raises the result to the power of 1 divided by the number of items, which is mathematically identical to the nth root.