Probability of Two Events and 'At Least Once': Formulas With Worked Examples
Most probability questions in real life fall into a few patterns: one event, two events together, or the same thing tried several times. Here are the formulas for each, with examples you can check by hand.
One event
P(A) = favourable outcomes ÷ total outcomes
Rolling a 6 on a fair die: 1 ÷ 6 = 16.67%. Drawing a heart from a deck: 13 ÷ 52 = 25%.
The chance of the event not happening is the complement: P(not A) = 1 − P(A). Not rolling a 6 is 5 ÷ 6 = 83.33%.
Two events: and
If the events are independent, meaning one has no effect on the other, multiply:
P(A and B) = P(A) × P(B)
Heads on a coin (50%) and a 6 on a die (16.67%): 0.5 × 0.1667 = 8.33%.
If the first event changes the second, they are dependent, and you use the probability of the second given the first. Drawing two aces in a row without putting the first back: 4/52 × 3/51 = 0.45%. After the first ace, only three aces remain among 51 cards.
Two events: or
For "A or B, or both", add them and subtract the overlap, so it is not counted twice:
P(A or B) = P(A) + P(B) − P(A and B)
Heads or a 6: 0.5 + 0.1667 − 0.0833 = 58.33%.
If the events cannot happen together (mutually exclusive), the overlap is zero and you just add: rolling a 1 or a 2 is 1/6 + 1/6 = 33.33%.
For exactly one of the two, subtract the overlap twice: 0.5 + 0.1667 − 2 × 0.0833 = 50%.
At least once in several tries
This is the most common question, and the most common mistake. If something has a 5% chance and you try 20 times, the chance is not 20 × 5% = 100%.
Instead, work out the chance of it never happening and subtract that from 1:
P(at least once) = 1 − (1 − p)ⁿ
- 5% chance, 20 tries: 1 − 0.95²⁰ = 64.15%
- 10% chance, 10 tries: 1 − 0.9¹⁰ = 65.13%
- 1% chance, 100 tries: 1 − 0.99¹⁰⁰ = 63.40%
- At least one 6 in 4 rolls of a die: 1 − (5/6)⁴ = 51.77%
Notice that the 1% event tried 100 times still fails more than a third of the time. Repeating something raises the odds, but it never makes them certain.
Exactly k times in n tries
For an exact count, use the binomial formula:
P(exactly k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ
where C(n, k) is the number of ways to choose which k tries succeed. Exactly 3 heads in 5 coin flips: C(5, 3) = 10, so the probability is 10 × 0.5³ × 0.5² = 10 ÷ 32 = 31.25%.
The combination calculator gives C(n, k) for larger numbers.
Percentages, fractions and odds
The same probability can be written four ways:
- 50% = 0.5 = 1/2 = odds of 1:1
- 25% = 0.25 = 1/4 = odds of 1:3
- 20% = 0.2 = 1/5 = odds of 1:4
- 10% = 0.1 = 1/10 = odds of 1:9
Odds compare the outcomes you want with the outcomes you don't, so a 1 in 4 chance is odds of 1 to 3.
Do it with a calculator
The probability calculator has a mode for each pattern above: one event (with the fraction and odds), two events (and, or, exactly one, neither), and repeated tries (at least once, exactly k times, and the expected number).