Binomial Probability Calculator
Calculate exact, cumulative or tail probability for a fixed number of independent Bernoulli trials
Probability
How we calculated it
About the Binomial Probability Calculator
Binomial Probability Calculator finds the probability of a specified number of successes in a fixed number of independent trials when every trial has the same success probability. It is useful for repeated yes/no outcomes.
The binomial model is only appropriate when trial conditions remain consistent. Changing success probability or dependence between trials requires another model.
How to Use the Binomial Probability Calculator
- Enter the number of trials n.
- Enter the success probability p for one trial.
- Enter the desired number of successes k or a supported cumulative range.
- Calculate the probability and verify that the independence and constant-probability assumptions fit the situation.
How the Calculation Works
For exactly k successes, P(X=k) = C(n,k)p^k(1−p)^(n−k), where n is the number of trials, k is the number of successes and p is the constant success probability for each trial.
Cumulative probabilities are found by summing the exact binomial probabilities across the requested values of k. The combination term C(n,k) counts the distinct arrangements that contain exactly k successes.
Worked examples
Binomial Probability Calculator Worked Examples
Default
Exactly 5 heads in 10 fair flips has a probability of 0.246094, about 24.61%. The expected number is 5 with an SD of 1.5811.
Quality control
With a 10% defect rate, the chance of no defects in 20 items is 12.16%.
Dice
The chance of at least one six in 5 rolls is 59.81%.
Binomial probabilities
P(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ.
| Trials | p | Event | Probability | Percent |
|---|---|---|---|---|
| 10 | 50.00% | X = 5 | 0.246094 | 24.609% |
| 10 | 50.00% | X ≤ 5 | 0.623047 | 62.305% |
| 10 | 50.00% | X ≥ 7 | 0.171875 | 17.188% |
| 20 | 10.00% | X = 0 | 0.121577 | 12.158% |
| 20 | 10.00% | X ≥ 2 | 0.608253 | 60.825% |
| 5 | 16.67% | X ≥ 1 | 0.598122 | 59.812% |
How the calculator works
The binomial distribution counts successes in n independent trials, each with the same success probability p. The exact probability of k successes is C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ. "At most k" adds the probabilities from 0 to k, and "at least k" is 1 minus the probability of at most k − 1. The calculator also shows the expected number of successes (np) and the standard deviation √(np(1 − p)).
When it applies
Use the binomial model when trials are independent, there are only two outcomes, n is fixed and p stays the same: coin flips, defective items in a batch drawn with replacement, or free throws by a steady shooter. If you sample without replacement from a small population, the hypergeometric distribution is more accurate.
Common Mistakes
- Dependent trials. Drawing without replacement changes p.
- Off-by-one in "at least". At least k includes k itself.
- Using percentages wrongly. Enter p as a percentage in this calculator.
Result guide
Understanding Your Binomial Probability Calculator Result
The result is the model probability for the defined repeated-trial process. It does not mean that exact proportion must appear in one small batch of trials. When n is large and p is very small or very large, direct arithmetic can become numerically delicate. Reliable implementations avoid unnecessary factorial overflow and use stable probability calculations.
Before you rely on the answer
Assumptions and Limitations
- Number of trials is a non-negative integer.
- Each trial has the same success probability.
- Trials are independent under the model.
Practical tip
Using This Result in Practice
Before using a binomial formula, ask whether one trial changes the next. Sampling without replacement from a small population, for example, can violate independence.
Related calculations
Useful Calculations to Continue With
If the problem does not have a repeated identical-trial structure, use the general Probability Calculator.
For large-sample approximations under appropriate conditions, the Normal Distribution Calculator can support comparison with a normal model.
Common questions
Binomial Probability Calculator FAQ
What is a binomial distribution?
The count of successes in fixed independent trials.
What is the expected value?
n × p.
How do I find "at least"?
1 − P(at most k − 1).
What is C(n, k)?
The number of ways to choose k of n.
When does the normal approximation work?
When np and n(1 − p) are both at least about 10.
