Binomial Distribution Calculator
The chance of exactly, at most and at least k successes in n trials.
- P(X ≥ 4)
- 0.35038928
- P(X < 4)
- 0.64961072
- Mean (n × p)
- 3
- Variance (n × p × (1 − p))
- 2.1
- Standard deviation
- 1.449138
Probability table
| k | P(X = k) | P(X ≤ k) |
|---|---|---|
| 0 | 0.028248 | 0.028248 |
| 1 | 0.121061 | 0.149308 |
| 2 | 0.233474 | 0.382783 |
| 3 | 0.266828 | 0.649611 |
| 4 | 0.200121 | 0.849732 |
| 5 | 0.102919 | 0.952651 |
| 6 | 0.036757 | 0.989408 |
| 7 | 0.009002 | 0.99841 |
| 8 | 0.001447 | 0.999856 |
| 9 | 0.000138 | 0.999994 |
| 10 | 0.000006 | 1 |
Formula and sources
P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ P(X ≤ k) = Σ P(X = i) for i = 0 … k; P(X ≥ k) = Σ P(X = i) for i = k … n Mean = np, variance = np(1 − p)
- Binomial distribution — probability theory
When to use the Binomial Distribution
The chance of k successes in n trials
If each customer buys with a 30% chance, what is the chance that exactly 4 of 10 buy? The binomial distribution answers that, including at most or at least 4.
Quality control
With a 1.5% defect rate, work out the chance of finding 3 or more defects in a sample of 500 to set a lot acceptance limit.
School probability problems
Coin tosses, dice and guessing on multiple-choice tests are binomial examples. The probability table shows the whole distribution.
Mean and spread
The mean np is the expected number of successes, while the standard deviation shows how far results usually stray from it.
Frequently asked questions
What is the difference between P(X ≤ k) and P(X < k)?
P(X ≤ k) includes exactly k successes, while P(X < k) does not. The difference between them is P(X = k).
When can the normal approximate the binomial?
When np and n(1 − p) are both at least about 5 to 10. This calculator still computes the binomial exactly, without approximation.
Why is there no table for large n?
The table is shown up to n = 60 to stay readable. For larger n, the requested probabilities are still computed exactly.
What are the odds of passing by guessing?
For 10 questions with 4 options, each guess is right 25% of the time. The chance of getting at least 6 right by guessing alone, P(X ≥ 6), is about 2%.
What if the probability is a fraction?
Convert it to a percentage first, so a 1/6 chance on a die becomes 16.67%. For full precision, write as many decimals as you can.
Related calculators
- Permutations & CombinationsnPr and nCr with or without repetition, and factorials, exact for large numbers.Example: Permutations nPr (order matters)720Calculate →
- Normal Distribution & Z-ScoreProbability below, above or between values, z-scores and the value at a percentile.Example: Probability P(a < X < b)0.774538Calculate →
- Descriptive StatisticsMean, median, mode, quartiles, variance and standard deviation from pasted data.Example: Mean80.666667Calculate →