Compatibility function

BETAINV function

Returns the value x at which the cumulative beta distribution reaches a given probability (the inverse of BETADIST). Replaced by BETA.INV.

Available in All versions of Excel, including Microsoft 365 and Excel for the web (kept for compatibility)

In every Excel versionWorks in Google Sheets

Older function. BETAINV still works, but for new workbooks use BETA.INV.

Syntax

BETAINV(probability, alpha, beta, [A], [B])
ArgumentWhat it means
probabilityRequiredA probability between 0 and 1.
alphaRequiredFirst shape parameter, > 0.
betaRequiredSecond shape parameter, > 0.
AOptionalLower bound. Default 0.
BOptionalUpper bound. Default 1.

Returns: The value x (between A and B) where the cumulative probability equals probability.

How BETAINV works

BETAINV works backwards from a probability to a value. Where BETADIST answers "how likely is a value up to x?", BETAINV answers "below which value do 90% of outcomes fall?". That is how you set an upper planning estimate for a task, or a credible upper limit for an unknown rate, once you have chosen the beta shape parameters.

Excel finds the answer by searching numerically, so very extreme probabilities can occasionally return #N/A if the search does not converge. With bounds A and B the result is scaled back into that interval.

Compatibility note: BETAINV is one of the older statistical functions that Excel 2010 moved to the Compatibility group. It still works in every version, but for new workbooks Microsoft recommends BETA.INV. The arguments are the same in the same order, so migrating is a straight rename: =BETA.INV(probability, alpha, beta, A, B).

Examples

1Reverse a BETADIST result

F2fx=BETAINV(A2, B2, C2, D2, E2)
ABCDEF
1ProbabilityAlphaBetaAB
20.685470581810132.0000

Result: 2.0000

Feeding the probability from the BETADIST example back in returns the original x value of 2 (formatted to 4 decimals).

290th percentile of a conversion rate

D2fx=BETAINV(A2, B2, C2)
ABCD
1ProbabilityAlphaBeta
20.9250.5103

Result: 0.5103

Under a beta(2, 5) model there is a 90% chance that the rate is below 0.5103, about 51.0% (formatted to 4 decimals).

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!probability is ≤ 0 or ≥ 1, alpha or beta ≤ 0, or A ≥ B.Use a probability strictly between 0 and 1 and positive shape parameters.
#N/AThe iterative search did not converge.Check for extreme parameter values.

Tips

  • Check your result by plugging it into BETADIST: you should get the probability back.

Questions

Should I still use BETAINV?

Only if the workbook must open in Excel 2007 or earlier. Otherwise use BETA.INV, which gives the same result and makes the intent clearer to the next person who reads the formula.

Will BETAINV stop working?

There is no announced removal date. Microsoft keeps compatibility functions so old workbooks keep calculating, but they get no new features.

Google Sheets

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

BETAINV 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
FinnishBEETAJAKAUMA.KÄÄNT
FrenchBETA.INVERSE
HungarianINVERZ.BÉTA
ItalianINV.BETA
Norwegian (Bokmål)INVERS.BETA.FORDELING
PolishROZKŁAD.BETA.ODW
Portuguese (Brazil)BETA.ACUM.INV
Portuguese (Portugal)BETA.ACUM.INV
RussianБЕТАОБР
SpanishDISTR.BETA.INV
TurkishBETATERS