How to Use the GEOMEAN Function in Google Sheets (With Examples)

Published on

Need to calculate the geometric mean in Google Sheets? The GEOMEAN function is designed just for that—whether you’re analyzing growth rates, investment returns, or ratios, it helps you find the “multiplicative average” of your dataset.

In this tutorial, you’ll learn:

  • What the GEOMEAN function is and when to use it
  • How to calculate geometric mean with and without the function
  • How to avoid common GEOMEAN errors
  • Real-world formula examples for everyday use

What Is the GEOMEAN Function in Google Sheets?

The GEOMEAN function in Google Sheets returns the geometric mean of a set of positive numbers. It’s especially useful when you’re dealing with values that multiply over time—such as compound growth rates.

GEOMEAN Syntax:

GEOMEAN(value1, [value2, ...])
  • value1: The first number or range.
  • [value2, ...]: Optional additional numbers or ranges.

How to Calculate Geometric Mean Without GEOMEAN

Before jumping into the function, here’s how geometric mean works manually. This helps you understand what GEOMEAN does behind the scenes.

Example 1 – Manual Calculation with 3 Numbers

Find the geometric mean of 5, 10, and 25.

  1. Multiply all values: 5 * 10 * 25 = 1250
  2. Take the cube root (3rd root) of 1250:
    =1250^(1/3)
    Result: 10.77

For n values, the formula becomes:
=product^(1/n)
where n is the number of values.

👉 Want to learn more about nth roots? See: Square Root, Cube Root, and Nth Root in Google Sheets

Example 2 – Manual Calculation with 5 Numbers

Find the geometric mean of 5, 10, 15, 20, 25.

  1. Multiply values:
    =5*10*15*20*25 → 375,000
  2. Find the 5th root:
    =375000^(1/5)
    Result: 13.03

How to Use the GEOMEAN Function in Google Sheets

Let’s now see how the GEOMEAN function simplifies this process.

Formula Example 1 – With Individual Numbers

=GEOMEAN(5, 10, 15, 20, 25)

Result: 13.03

Formula Example 2 – With a Range

Assume B3:B7 contains the values 5, 10, 15, 20, 25:

=GEOMEAN(B3:B7)

Result: 13.03

Example of the GEOMEAN function in Google Sheets using a cell range as input

How to Fix Common GEOMEAN Errors in Google Sheets

You might encounter the #NUM! error when using GEOMEAN. Here’s why—and how to fix it.

Causes of #NUM! Error:

  • A zero in the range
  • A negative number in the range

The GEOMEAN function only works with positive numbers.

Solution 1 – Filter Out Non-Positive Values

=GEOMEAN(FILTER(B3:B7, B3:B7 > 0))

Solution 2 – Convert Negatives to Positives Using ABS

echnically, the geometric mean is only defined for positive numbers. If your data contains negative values but you still want to proceed, you can use the ABS function to convert them to positive:

=GEOMEAN(FILTER(ABS(B3:B7), ABS(B3:B7) > 0))

⚠️ Use this approach with caution, as it changes the meaning of the data.

That way, you can still include negative values by converting them before applying GEOMEAN.

When Should You Use Geometric Mean?

Use the geometric mean when:

  • You’re working with growth rates (e.g., population, investments)
  • You want to calculate the average ratio or percentage
  • Values multiply over time, not add

Looking for other ways to calculate averages? Check out these functions:

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Expert Prashanth KV is a Diamond Product Expert in Google Sheets, officially recognized by Google for his contributions to the Docs Editors Help Community and featured in the Google Product Experts Directory. Explore his blog to learn advanced formulas, automation tips, and problem-solving techniques to elevate your spreadsheet skills.

Top Discussions

More like this

Pivot Table Formatting, Output & Special Behavior in Google Sheets

Pivot Tables in Google Sheets are powerful—but they can get tricky once you move...

Pivot Table Calculations & Advanced Metrics in Google Sheets

When it comes to built-in tools for data analysis and visualization in Google Sheets,...

Google Sheets Pivot Table Tutorial: Basics, Setup, and Date Grouping

The easiest way to summarize, analyze, and report data in Google Sheets is by...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.