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
Syntax
BETAINV(probability, alpha, beta, [A], [B])| Argument | What it means | |
|---|---|---|
probability | Required | A probability between 0 and 1. |
alpha | Required | First shape parameter, > 0. |
beta | Required | Second shape parameter, > 0. |
A | Optional | Lower bound. Default 0. |
B | Optional | Upper 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
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Probability | Alpha | Beta | A | B | |
| 2 | 0.685470581 | 8 | 10 | 1 | 3 | 2.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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Probability | Alpha | Beta | |
| 2 | 0.9 | 2 | 5 | 0.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).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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/A | The 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.
| Language | Function name |
|---|---|
| Finnish | BEETAJAKAUMA.KÄÄNT |
| French | BETA.INVERSE |
| Hungarian | INVERZ.BÉTA |
| Italian | INV.BETA |
| Norwegian (Bokmål) | INVERS.BETA.FORDELING |
| Polish | ROZKŁAD.BETA.ODW |
| Portuguese (Brazil) | BETA.ACUM.INV |
| Portuguese (Portugal) | BETA.ACUM.INV |
| Russian | БЕТАОБР |
| Spanish | DISTR.BETA.INV |
| Turkish | BETATERS |