Binomial Distribution Calculator
The binomial distribution counts successes in a fixed number of independent trials that each have the same chance of success, such as heads in 10 coin flips. This calculator finds the probability of exactly, at most, or at least k successes, and draws the whole distribution as a bar chart.
How to use the binomial distribution calculator
- Enter the number of trials n and the probability of success p.
- Enter the number of successes k and choose =, ≤ or ≥.
- Press Calculate to see the probability and the chart.
Formula
Worked example: 10 coin flips, exactly 6 heads
- Number of trials n: 10
- Probability of success p: 0.5
- Number of successes k: 6
- Find: P(X = k)
✓ Answer checked
- As a percentage
- 20.5078%
- Mean
- Standard deviation
Step-by-step working (2 steps)
Binomial formula Binomial distribution
Each outcome with exactly i successes has probability pⁱ(1 − p)ⁿ⁻ⁱ, and there are C(n, i) of them.
Substitute k
Put i = 6.
Formulas used
How this was checked
- ✓ All probabilities add up to 1, and P(event) + P(not event) = 1.
Probabilities rounded to 8 significant figures.
Frequently asked questions
What is the chance of exactly 6 heads in 10 flips?
C(10, 6) × 0.5¹⁰ = 210 ÷ 1024 ≈ 0.2051, or about 20.5%.
When can I use the binomial distribution?
When there is a fixed number of trials, each trial has two outcomes, the probability of success is the same each time, and the trials are independent.
What are the mean and standard deviation?
The mean is np and the standard deviation is √(np(1 − p)).
Related calculators
Permutation & Combination Calculator
Calculate permutations (nPr) and combinations (nCr) exactly, even for large numbers, plus the counts with repetition.
Normal Distribution Calculator
Find normal probabilities P(X < a), P(X > a) or P(a < X < b) from the mean and standard deviation, with z-scores and a shaded bell curve.
Percentage Calculator
Free percentage calculator: find X% of Y, what percent one number is of another, the whole from a part, or add and remove a percentage.
