Statistical function

LOGEST function

Fits an exponential curve y = b·m^x to your data and returns the growth factor m and the starting value b.

Available in All versions of Excel, including Microsoft 365 and Excel for the web (spills automatically in Microsoft 365 and Excel 2021+)

In every Excel versionWorks in Google Sheets

Syntax

LOGEST(known_y's, [known_x's], [const], [stats])
ArgumentWhat it means
known_y'sRequiredThe observed values; all must be greater than 0.
known_x'sOptionalThe matching x-values. Defaults to 1, 2, 3, ...
constOptionalTRUE or omitted: estimate b. FALSE: force b = 1.
statsOptionalTRUE: also return standard errors, R² and other statistics (calculated on the log scale).

Returns: An array {m, b} (with several x columns {mₙ, …, m₁, b}), plus four rows of statistics if requested.

How LOGEST works

Where LINEST fits a straight line, LOGEST fits a curve that grows (or shrinks) by a constant percentage per step: y = b·m^x. The growth factor m is the useful number: an m of 1.25 means +25% per period, an m of 0.9 means -10% per period. b is the value the curve would have at x = 0.

Excel fits the curve by taking the natural log of every y and running ordinary linear regression on those logs, so all y-values must be positive. The statistics (when stats is TRUE) describe that log-scale regression, so R² measures how straight the logged data is. GROWTH uses exactly the same fit to produce forecasts directly.

Examples

1Growth factor and starting value

D2fx=LOGEST(B2:B7, A2:A7)
ABCDE
1MonthSubscribers
211201.246096.2693
32150
43185
54232
65290
76360

Spills into D2:E2: m = 1.245976 and b = 96.269307 (shown to 4 decimals). The subscriber base grows about 24.6% per month, and the curve is y = 96.27 × 1.2460^month.

2Monthly growth rate as a percentage

D2fx=INDEX(LOGEST(B2:B7, A2:A7), 1) - 1
ABCD
1MonthSubscribers
2112024.60%
32150
43185
54232
65290
76360

Result: 24.60%

INDEX picks m, then subtracting 1 gives the growth rate: 24.60% per month (formatted as a percentage).

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!A value in known_y's is 0 or negative.Exponential fits need positive data.
#REF!The y and x ranges have different sizes.Use matching ranges.
#VALUE!A cell is empty or contains text.Remove blanks from the input ranges.

Tips

  • =INDEX(LOGEST(y,x),1)^12-1 converts a monthly factor into an annual growth rate.
  • Compare LOGEST's R² (stats row 3) with LINEST's to see whether exponential or linear growth fits better, keeping in mind they are measured on different scales.

Google Sheets

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

LOGEST 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
CzechLOGLINREGRESE
DanishLOGREGR
DutchLOGSCH
FinnishLOGREGR
FrenchLOGREG
GermanRKP
HungarianLOG.ILL
ItalianREGR.LOG
Norwegian (Bokmål)KURVE
PolishREGEXPP
Portuguese (Brazil)PROJ.LOG
Portuguese (Portugal)PROJ.LOG
RussianЛГРФПРИБЛ
SpanishESTIMACION.LOGARITMICA
SwedishEXPREGR
TurkishLOT