CRITBINOM returns the smallest number of successes for which the cumulative binomial probability is at least a given criterion. In plain terms: you tell it how many trials you have, the chance of success on each trial, and a target probability (often 0.75 or 0.9), and it tells you the cut-off number of successes you need to reach that target. It is the inverse of the binomial cumulative distribution, useful for quality control, acceptance sampling, and setting pass/fail thresholds. You need a Google account and a spreadsheet; no add-ons are required.

What You'll Need

  • A Google account and access to Google Sheets (desktop browser or the mobile app).
  • A spreadsheet with your numbers ready: number of trials, probability of success per trial, and the criterion value (alpha).
  • Basic understanding that trials are independent and each has the same success probability.

Step-by-Step

  1. Open your Google Sheet. If you are starting fresh, create a new blank spreadsheet.
  2. Click an empty cell where you want the result to appear.
  3. Type =CRITBINOM( to start the function. Google Sheets will show a tooltip with the argument order.
  4. Enter the number of trials first. This must be a non-negative integer. For example, if you are testing 20 items, type 20.
  5. Type a comma, then enter the probability of success on each trial as a decimal between 0 and 1. For a 10% defect rate, type 0.1.
  6. Type a comma, then enter the criterion (alpha) as a decimal between 0 and 1. This is the cumulative probability you want to reach. Common values are 0.75, 0.9, or 0.95.
  7. Close the parenthesis and press Enter. For example: =CRITBINOM(20, 0.1, 0.75) returns the smallest number of successes such that the cumulative binomial probability is at least 0.75.
  8. Check the result. The function returns a whole number (integer). If you see a decimal, you likely mistyped an argument or referenced a cell containing a non-integer.
  9. To reuse the formula, drag the fill handle or copy the cell and paste it where needed. Use absolute references (like $B$1) if you want to keep some inputs fixed.
  10. If you prefer cell references, put your trials in A1, probability in A2, and alpha in A3, then use =CRITBINOM(A1, A2, A3). This makes it easy to change inputs without editing the formula.

Note: menu labels and function tooltips can differ slightly by version, device, or region, but the function name and argument order are consistent.

Common Mistakes

  • Using percentages instead of decimals. Enter 0.1 for 10%, not 10. If you type 10, the function returns an error or an unexpected result.
  • Passing non-integer trials. The trials argument must be a whole number. If you have a calculated value, wrap it in ROUND or INT first.
  • Forgetting that alpha is a probability. Alpha must be between 0 and 1. Values like 75 (for 75%) will cause an error.
  • Assuming CRITBINOM gives the expected number of successes. It gives the smallest number of successes to reach the cumulative probability, not the mean. The mean is trials × probability.
  • Mixing up CRITBINOM with BINOM.DIST. BINOM.DIST calculates the probability of a specific number of successes; CRITBINOM goes the other way.
  • Using it for dependent trials. The binomial distribution assumes independent trials with a constant probability. If trials are not independent, the result will be misleading.

Tips

  • Use CRITBINOM for acceptance sampling: set trials to sample size, probability to the acceptable defect rate, and alpha to your desired confidence (e.g., 0.95). The result is the maximum number of defects you can allow while still meeting that confidence.
  • Combine with conditional formatting to flag when observed successes exceed the critical number.
  • If you need the exact cumulative probability for a given number of successes, use BINOM.DIST with the cumulative argument set to TRUE.
  • Keep your inputs in separate cells and label them. This makes formulas easier to audit and update.
  • Remember that CRITBINOM returns the smallest integer k such that P(X ≤ k) ≥ alpha. If you need the smallest k such that P(X ≥ k) ≥ alpha, you need a different approach (e.g., using BINOM.DIST and subtracting from 1).

Troubleshooting

If you see #NUM!, check that trials is a non-negative integer, probability is between 0 and 1, and alpha is between 0 and 1. If you see #VALUE!, one of your arguments is text or a blank cell. Ensure all inputs are numeric. If the result seems too high or too low, double-check that you entered probability as a decimal, not a percentage. Also verify that alpha is the cumulative probability you intend; a common mistake is to use 0.05 when you mean 0.95. If the function returns 0, it means even zero successes meet the criterion (alpha is very low or probability is very low). If you need a non-integer result, CRITBINOM is not the right function; use BINOM.INV or a manual calculation.

Frequently Asked Questions

What does CRITBINOM actually return?

It returns the smallest number of successes k for which the cumulative binomial probability P(X ≤ k) is greater than or equal to the alpha you specify.

Can I use CRITBINOM with non-integer trials?

No. The trials argument must be an integer. If you have a fractional value, round it first.

Is CRITBINOM the same as BINOM.INV?

They are similar but not identical. BINOM.INV returns the smallest value of k such that the cumulative probability is greater than or equal to alpha, but it uses a different algorithm and may give slightly different results in edge cases. For most practical purposes they agree.

Why does CRITBINOM return 0?

It returns 0 when the cumulative probability of zero successes already meets or exceeds alpha. This happens when alpha is very small or the probability of success is very low.

Can I use CRITBINOM for a two-tailed test?

CRITBINOM is one-tailed by nature. For a two-tailed test, you would need to adjust alpha or use other functions.

Does CRITBINOM work in Excel too?

Yes, Excel has the same function with the same arguments. The behavior is consistent across both platforms.