Statistical function

BINOM.INV function

Returns the smallest number of successes whose cumulative binomial probability reaches a target, e.g. how much stock covers demand 95% of the time.

Available in Excel 2010 and later, Microsoft 365, Excel for the web, Excel for Mac 2011 and later

Excel 2010 and laterWorks in Google Sheets

Syntax

BINOM.INV(trials, probability_s, alpha)
ArgumentWhat it means
trialsRequiredThe number of independent yes/no trials.
probability_sRequiredThe chance of success in each trial, between 0 and 1.
alphaRequiredThe target cumulative probability, between 0 and 1 (for example 0.95).

Returns: A whole number k: the smallest k for which BINOM.DIST(k, trials, probability_s, TRUE) ≥ alpha.

How BINOM.INV works

BINOM.INV turns a binomial model into a planning number. You know how many attempts there will be and the success rate of each; you choose how sure you want to be; it returns the count that will not be exceeded with that level of confidence. Shops use the idea to size stock, call centres to size staffing and quality teams to set acceptance limits.

Because the binomial distribution only takes whole numbers, there is usually no count that hits your probability exactly. BINOM.INV therefore returns the first count where the cumulative probability reaches or passes alpha. In the example below, 70 buyers would only cover demand 94.6% of the time, so the answer is 71. It replaced the older CRITBINOM function.

Examples

1Stock to cover demand 95% of the time

D2fx=BINOM.INV(B2, B3, B4)
ABCD
1InputValue
2Visitors20071
3Buy rate0.3
4Service level0.95

Result: 71

On average 60 of 200 visitors buy. The cumulative probability of 70 or fewer buyers is 0.9458, just short of 95%; for 71 or fewer it is 0.9604. So stocking 71 units covers demand on 95% of days.

2Acceptance limit for faulty units

D2fx=BINOM.INV(B2, B3, B4)
ABCD
1InputValue
2Units tested1009
3Normal fault rate0.04
4Confidence0.99

Result: 9

A healthy process with a 4% fault rate produces 9 or fewer faulty units in a sample of 100 at least 99% of the time. If an inspection finds 10 or more, something has probably changed and the line should be checked.

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!trials is negative, or probability_s or alpha is outside 0–1.Check the inputs.
#VALUE!An argument is not numeric.Use numbers.

Tips

  • Verify the answer with BINOM.DIST: the result k should give a cumulative probability ≥ alpha, and k − 1 should fall below it.

Google Sheets

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

BINOM.INV 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
DanishBINOMIAL.INV
DutchBINOMIALE.INV
FinnishBINOMIJAKAUMA.KÄÄNT
FrenchLOI.BINOMIALE.INVERSE
HungarianBINOM.INVERZ
ItalianINV.BINOM
PolishROZKŁ.DWUM.ODWR
Portuguese (Brazil)INV.BINOM
Portuguese (Portugal)INV.BINOM
RussianБИНОМ.ОБР
SpanishINV.BINOM
TurkishBİNOM.TERS