Probability
calculator.
Find the chance of at least one success, of two events together, or of an outcome.
With a 5% chance each time, 20 tries give a 64.15% chance of at least one success. An even chance takes 14 tries, and 95% takes 59. Earlier failures do not change the next try.
Chance of at least one success
Drag the brass point to change the triesWith a 5% chance per try, 20 tries give a 64.15% chance of at least one success. The chance passes 50% at 14 tries and 95% at 59 tries.
Working
- 1Chance of failing one try: the complement1 − 0.05 = 0.95
- 2No success in 20 independent tries: multiply0.95²⁰ = 0.3585
- 3At least one success: the complement of none1 − 0.3585 = 0.6415
- 4Exactly 1: the binomial formula, with C(20, 1) = 20 ways to place the successesC(20, 1) × 0.05¹ × 0.95¹⁹ = 0.3774
- 5Check: none and at least one add up to 10.3585 + 0.6415 = 1.0000
- 6AnswerP(at least one) = 0.6415
How many tries do I need?
You need 59 tries for at least a 95% chance of one success.
- 50% chance
- 14 tries
- 90% chance
- 45 tries
- 95% chance
- 59 tries
- 99% chance
- 90 tries
How likely is that in words?
64.15% is "about as likely as not" on the IPCC likelihood scale.
- Virtually certain
- 99 to 100%
- Extremely likely
- 95 to 100%
- Very likely
- 90 to 100%
- Likely
- 66 to 100%
- About as likely as not (your answer)
- 33 to 66%
- Unlikely
- 0 to 33%
- Very unlikely
- 0 to 10%
- Extremely unlikely
- 0 to 5%
- Exceptionally unlikely
- 0 to 1%
Terms from the IPCC guidance note on uncertainty (Mastrandrea and others, 2010). The bands overlap; the tool uses the narrowest one that fits.
Every count of successes in 20 tries
| At most k | At least k | ||
|---|---|---|---|
| 0 | 0.3585At most k 0.3585At least k 1.0000 | 0.3585 | 1.0000 |
| 1 | 0.3774At most k 0.7358At least k 0.6415 | 0.7358 | 0.6415 |
| 2 | 0.1887At most k 0.9245At least k 0.2642 | 0.9245 | 0.2642 |
| 3 | 0.0596At most k 0.9841At least k 0.0755 | 0.9841 | 0.0755 |
| 4 | 0.0133At most k 0.9974At least k 0.0159 | 0.9974 | 0.0159 |
How it's worked out
Every result here comes from a handful of rules. Each one has a condition, and most wrong answers come from using a rule when its condition does not hold.
For repeated tries, is the chance of success on one try and is the number of tries. Working out "at least one" directly would mean adding up many cases, so you take the one case you can count easily, no successes at all, and subtract it from 1. This needs the tries to be independent: each try has the same chance, whatever happened before.
For two events, the addition rule takes away the overlap so it is not counted twice. The multiplication rule says how big the overlap is. When and are independent, is just , and you multiply the two chances.
When outcomes are equally likely, such as the faces of fair dice, the chance of an event is the number of favorable outcomes over the total. The tool reduces that fraction and gives the odds too.
Worked examples
A rare drop in a game
An item drops 5% of the time, and Maya plays 20 rounds. The chance of no drop is 0.95²⁰ = 0.3585, so the chance of at least one is 0.6415, about 64%. It takes 14 rounds to reach an even chance and 59 rounds to reach 95%. The chance of exactly one drop in her 20 rounds is 0.3774.
Two job applications
Sam rates an offer from the first company at 30% and from the second at 20%. The two hiring teams do not talk to each other, so the events are independent. Both offers come with chance 0.3 × 0.2 = 0.06. At least one offer comes with chance 0.3 + 0.2 − 0.06 = 0.44, and no offer at all with chance 0.56.
A late bus on a rainy day
Your bus is late on 30% of days, it rains on 60% of days, and on rainy days the bus is late 40% of the time. Late and rainy together is 0.4 × 0.6 = 0.24. Now turn it around: you are standing at a stop and the bus is late. The chance it is raining is 0.24 ÷ 0.3 = 0.8. That is much higher than 0.6, because late buses happen mostly on rainy days.
Rolling a total of 7
Two dice have 36 equally likely results, and 6 of them add up to 7. The chance is 6 out of 36, which reduces to 1 out of 6, or 0.1667. The odds are 1 : 5 in favor, and 7 is the most likely total of all.
Reading your result
A probability of 0.6415 means that if many people each played 20 rounds, about 64% of them would get the drop. It does not promise anything for one person. About a third of players would still have nothing after 20 rounds.
The tool also gives "about 1 in N", which many people find easier to picture, and a word from the likelihood scale of the IPCC guidance note on uncertainty (Mastrandrea and others, 2010). On that scale, 66% to 100% is "likely", 33% to 66% is "about as likely as not" and 0% to 10% is "very unlikely". The bands overlap, so the tool picks the narrowest one that fits.
The number of tries needed grows fast as the chance per try shrinks. For small chances, about 0.7 divided by tries gives an even chance and about 3 divided by gives 95%:
| Chance per try | Tries for 50% | Tries for 95% |
|---|---|---|
| 50% | 1 | 5 |
| 10% | 7 | 29 |
| 5% | 14 | 59 |
| 1% | 69 | 299 |
A quality check shows the same thing. With a 1% defect rate, a sample of 50 parts holds at least one defect only 39% of the time, so a clean sample of 50 is weak evidence that a batch is clean.
Common mistakes
- Adding chances of repeated tries. Three tries at 20% do not give 60%. The chance of at least one success is 0.488, because adding counts the times you succeed twice more than once.
- Multiplying events that are not independent. Rain and a late bus go together, so 0.3 × 0.6 understates how often both happen. Use the known overlap or the chance of one given the other.
- Mixing up P(A | B) and P(B | A). The chance of a late bus on a rainy day (0.4) is not the chance of rain when the bus is late (0.8).
- Thinking a streak is due to end. Independent tries have no memory. After 19 rounds without the drop, round 20 is still a 5% chance.
- Counting outcomes that are not equally likely. A total of 7 is 6 of 36 dice results, but the totals 2 to 12 are not equally likely, so "1 of 11 totals" is wrong.
Questions people ask
Sources
- Ross, S. M., A First Course in Probability, 10th ed., Pearson, 2019, chapters 2 and 3 (axioms, conditional probability, independence)
- Grinstead, C. M. and Snell, J. L., Introduction to Probability, 2nd ed., American Mathematical Society, 1997, chapter 4 (conditional probability)