Overview
The binomial distribution gives the chance of getting a certain number of successes in a fixed number of independent tries, each with the same success chance, such as heads in 10 coin flips.
Enter the number of trials, the chance of success on each, the target number of successes, and a mode: 1 for exactly k, 2 for at least k, or 3 for at most k.
Worked examples
| Inputs | Result |
|---|---|
| Number of Trials (n)12Success Probability (%)35Target Successes (k)4Probability ofExactly | P(X = 4): 23.67%Exact P(X = 4): 23.67% |
Show 3 more examples
| Number of Trials (n)10Success Probability (%)50Target Successes (k)5Probability ofExactly | P(X = 5): 24.61%Exact P(X = 5): 24.61% |
| Number of Trials (n)20Success Probability (%)10Target Successes (k)3Probability ofAt least | P(X >= 3): 32.31%Exact P(X = 3): 19.01% |
| Number of Trials (n)8Success Probability (%)25Target Successes (k)1Probability ofAt most | P(X <= 1): 36.71%Exact P(X = 1): 26.7% |
P(X = 4) by number of trials
With the calculator's starting values, the P(X = 4) is 23.67%. The table shows how it changes with the number of trials.
| Number of Trials (n) | P(X = 4) |
|---|---|
| 6 | 9.51% |
| 8 | 18.75% |
| 10 | 23.77% |
| 12starting value | 23.67% |
| 14 | 20.22% |
| 16 | 15.53% |
| 18 | 11.04% |
Other inputs: Success Probability: 35% · Target Successes: 4 k. Change them in the calculator above for your own numbers.
How it works
The chance of exactly k successes is the number of ways to arrange them, C(n, k), times p to the power k times (1 − p) to the power n − k. 'At least' and 'at most' add up the matching exact chances. The mean number of successes is n × p.
The formula
| n | Number of trials |
| p | Chance of success on each trial |
| k | Number of successes |
Practical tips
- 12 tries at 35% give exactly 4 successes 23.67% of the time.
- 10 fair coin flips give exactly 5 heads 24.61% of the time.
- The trials must be independent with the same p. Drawing cards without replacement needs the hypergeometric distribution instead.
Frequently asked questions
What's the difference between exact and at least?
Exact counts only k. At least adds k, k + 1, and so on up to n.
What is the expected number of successes?
n × p. For 12 tries at 35%, that's 4.2.
When can I use a normal approximation?
Roughly when n × p and n × (1 − p) are both above 10.