Google Sheets BINOM.INV Function: Syntax, Examples & Tips

Returns the smallest number of successes whose cumulative binomial probability is at least a target value.
Google Sheets
=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.

On this page
  1. Parameters
  2. What Is BINOM.INV?
  3. How BINOM.INV Works
  4. Basic Examples
  5. Reading the Result Correctly
  6. Common Use Cases
  7. Common Errors
  8. Tips and Best Practices
  9. Related Functions
  10. Example use case

Parameters

ParameterRequiredDescription
num_trialsYesThe number of independent trials.
prob_successYesThe probability of success on each trial, between 0 and 1.
target_probYesThe cumulative probability to reach, between 0 and 1.

What Is BINOM.INV?

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.

How BINOM.INV Works

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.

Basic Examples

Median number of heads

Google Sheets
=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%.

A 95% upper limit

Google Sheets
=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.

Capacity planning

Google Sheets
=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.

Verify the result

Google Sheets
=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).

Reading the Result Correctly

You wantFormula
A count not exceeded with probability pBINOM.INV(n, prob, p)
A lower limit exceeded with probability pBINOM.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)

Common Use Cases

  • Quality control: set an acceptance limit for defects in a sample
  • Staffing and seating: how many slots to provide for uncertain attendance
  • Marketing: a realistic upper range for responses from a campaign
  • Inventory: how many units of a slow-moving item might be demanded
  • Fraud and anomaly checks: flag a day when a count is above the 99th percentile

Common Errors

  • #NUM!: prob_success or target_prob is outside 0 to 1, or num_trials is negative.
  • #VALUE!: An argument is text that cannot be read as a number.
  • Expecting an exact match: The result is the first count that meets or passes the target, so its cumulative probability is usually higher than target_prob.
  • Confusing the order of arguments: The number of trials comes first, then the success rate, then the target.

Tips and Best Practices

  • Use BINOM.INV to turn a percentage rule into a whole-number limit that operations teams can act on.
  • Pair it with IF to flag outliers: =IF(C2 > BINOM.INV(B2, 0.05, 0.99), "Investigate", "").
  • For a continuous proportion rather than a count, see BETAINV.
  • BINOMDIST: probability of a given number of successes
  • BETAINV: percentiles of a proportion
  • AVERAGE: the mean of a data set
  • ROUND: tidy up probability results
  • IF: turn a probability into a decision

Example use case

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.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.