Statistical function

GEOMEAN function

Returns the geometric mean of positive numbers, the right average for growth rates, returns and ratios that compound.

Available in All versions of Excel, including Microsoft 365 and Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

GEOMEAN(number1, [number2], ...)
ArgumentWhat it means
number1RequiredThe first number, cell or range. All values must be greater than 0.
number2, ...OptionalUp to 255 numbers or ranges in total.

Returns: The n-th root of the product of n values.

How GEOMEAN works

The everyday average (AVERAGE) adds values and divides. That is wrong for things that multiply over time, such as yearly sales growth, investment returns or price indices. If sales rise 50% one year and fall 50% the next, the ordinary average says 0% change, but you have actually lost 25%. The geometric mean multiplies the values together and takes the n-th root, giving the single constant rate that would have produced the same end result.

To use it on percentage changes, add 1 to each rate (a 12% rise becomes 1.12, a 5% fall becomes 0.95), take GEOMEAN, then subtract 1. Every value must be positive: a zero or negative number makes the product meaningless and Excel returns #NUM!. Text, logical values and empty cells inside a range are ignored. The geometric mean is always less than or equal to the arithmetic mean, and the HARMEAN is smaller still.

Examples

1Average yearly growth factor

D2fx=GEOMEAN(B2:B5)-1
ABCD
1YearGrowth factor
220221.128.36%
320230.95
420241.08
520251.2

Result: 8.36%

GEOMEAN returns 1.083644; minus 1 gives the compound annual growth rate 8.36% (formatted as a percentage). Growing at that steady rate for four years ends at the same level as the real, bumpy path. The simple average of the factors would overstate it at 8.75%.

2Average return from percentage changes

D2fx=GEOMEAN(1+B2:B5)-1
ABCD
1QuarterReturn
2Q10.044.39%
3Q20.1
4Q3-0.03
5Q40.07

Result: 4.39%

The returns are stored as decimals (they would show as 4%, 10%, -3% and 7% with percentage formatting). 1+B2:B5 turns them into growth factors, and the formula returns 4.39% per quarter. In Microsoft 365 it works as typed; in Excel 2019 and earlier confirm it with Ctrl+Shift+Enter.

3Typical ratio across stores

D2fx=GEOMEAN(B2:B5)
ABCD
1StoreStock-to-sales ratio
2North25.656854249
3South8
4East4
5West16

Result: 5.656854249

(2 × 8 × 4 × 16)^(1/4) = 1024^(1/4) = 5.657… which Excel shows as 5.656854249 in General format. For ratios spread over several orders of magnitude, the geometric mean resists being dragged up by the largest value (the arithmetic mean here is 7.5).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 16 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!A value is 0 or negative.Convert rates to growth factors (1 + rate) first; remove zero rows or use a different measure.
#VALUE!A value typed directly into the argument list is text that cannot be read as a number.Use cell references or real numbers.

Tips

  • CAGR between a start and end value is also =(End/Start)^(1/years)-1; GEOMEAN gives the same answer from the yearly factors.
  • Formatting a percentage column does not change the stored value: 4% is 0.04, so always add 1 before GEOMEAN.
  • Typed arguments such as =GEOMEAN(2, "8") count text numbers, but the same text inside a range is ignored.

Questions

Why not just average the growth rates?

Because growth compounds. A +50% year followed by a -50% year averages 0%, but 1.5 × 0.5 = 0.75, a 25% loss. GEOMEAN of 1.5 and 0.5 is about 0.866, a -13.4% yearly rate that correctly ends at 0.75.

Can GEOMEAN handle negative returns?

Not directly. Convert each return r to 1 + r first; a -3% return becomes 0.97, which is positive. Only a return of -100% or worse is impossible to include.

Google Sheets

GEOMEAN also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

GEOMEAN in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DanishGEOMIDDELVÆRDI
DutchMEETK.GEM
FinnishKESKIARVO.GEOM
FrenchMOYENNE.GEOMETRIQUE
GermanGEOMITTEL
HungarianMÉRTANI.KÖZÉP
ItalianMEDIA.GEOMETRICA
Norwegian (Bokmål)GJENNOMSNITT.GEOMETRISK
PolishŚREDNIA.GEOMETRYCZNA
Portuguese (Brazil)MÉDIA.GEOMÉTRICA
Portuguese (Portugal)MÉDIA.GEOMÉTRICA
RussianСРГЕОМ
SpanishMEDIA.GEOM
SwedishGEOMEDEL
TurkishGEOORT

Recipes that use GEOMEAN