=BINOM.INV(num_trials, prob_success, target_prob)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
| Parameter | Required | Description |
|---|---|---|
| num_trials | Yes | The number of independent trials. |
| prob_success | Yes | The probability of success on each trial, between 0 and 1. |
| target_prob | Yes | The cumulative probability to reach, between 0 and 1. |
BINOM.INV works backwards from a probability to a count. Given a number of trials and the success rate on each, it returns the smallest number of successes k for which the chance of getting k or fewer successes is at least your target probability. It is the inverse of the cumulative binomial distribution calculated by BINOMDIST (or BINOM.DIST) with cumulative set to TRUE.
A practical way to read the answer: "95% of the time, we will see this many successes or fewer." That makes BINOM.INV a handy tool for capacity planning, quality limits, and setting thresholds.
The older function CRITBINOM performs the same calculation with the same arguments.
Google Sheets steps through possible counts 0, 1, 2, and so on, adding up binomial probabilities, and returns the first count at which the running total reaches target_prob. Because the binomial distribution is discrete, the cumulative probability at the returned value will usually be somewhat higher than the target, not exactly equal.
=BINOM.INV(10, 0.5, 0.5)Returns 5. The probability of 5 or fewer heads in 10 flips is about 62%, the first count to pass 50%.
=BINOM.INV(100, 0.05, 0.95)Returns 9. With a 5% defect rate, a batch of 100 will contain 9 or fewer defects at least 95% of the time.
=BINOM.INV(B1, B2, 0.99)With 400 bookings in B1 and a 90% show-up rate in B2, this returns the number of seats needed to seat everyone who shows up on 99% of days.
=BINOMDIST(BINOM.INV(100, 0.05, 0.95), 100, 0.05, TRUE)Shows the actual cumulative probability at the returned count (here about 0.97).
| You want | Formula |
|---|---|
| A count not exceeded with probability p | BINOM.INV(n, prob, p) |
| A lower limit exceeded with probability p | BINOM.INV(n, prob, 1-p) (approximately; check with BINOMDIST) |
| A middle range covering 90% | BINOM.INV(n, prob, 0.05) to BINOM.INV(n, prob, 0.95) |
=IF(C2 > BINOM.INV(B2, 0.05, 0.99), "Investigate", "").A restaurant takes 120 reservations for Saturday and historically 85% of parties show up. =BINOM.INV(120, 0.85, 0.95) tells the manager how many tables to staff so that on 95% of Saturdays every arriving party is seated.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.