Probability Calculator
Work out the probability of two independent events: both happening, either one, exactly one or neither – and the chance of an event over several tries.
Rules for two independent events
Events are independent when one does not affect the other – two coin flips, or a dice roll and a card draw.
- Both: P(A and B) = P(A) × P(B)
- At least one: P(A or B) = P(A) + P(B) − P(A and B)
- Exactly one: P(A) + P(B) − 2 · P(A and B)
- Neither: (1 − P(A)) × (1 − P(B))
- Not A: 1 − P(A)
Worked example
P(A) = 50% and P(B) = 30%. Both: 0.5 × 0.3 = 15%. At least one: 50% + 30% − 15% = 65%. Exactly one: 50%. Neither: 0.5 × 0.7 = 35%. The four parts of the Venn diagram always add up to 100%.
Repeated tries
The chance that something happens at least once in n tries is 1 − (1 − p)ⁿ. A six on a die has p = 1/6. In 4 rolls: 1 − (5/6)⁴ ≈ 51.77% – just better than even. The chance that it happens every time is pⁿ: two heads in a row is 0.5² = 25%.
When the events are not independent
Drawing two cards without putting the first one back changes the odds for the second. Then P(A and B) = P(A) × P(B given A). This calculator assumes independence – for dependent events, use the conditional probability for B.
Frequently asked questions
What is the probability of getting at least one six in 4 rolls?
1 − (5/6)⁴ ≈ 51.77%.
How do I add probabilities?
For "A or B" add them and subtract the overlap: P(A) + P(B) − P(A and B). Only if A and B cannot happen together can you just add them.
Can a probability be more than 100%?
No. Probabilities are between 0 (impossible) and 1 or 100% (certain).