Probability of two events
Give the chance of A and of B in %, then say how they are linked. Nothing is assumed for you.
Result
20%A and B
- A or B (at least one)
- 70%
- Exactly one
- 50%
- Neither
- 30%
- Not A
- 50%
- Not B
- 60%
- A given B
- 50%
- B given A
- 40%
Inputs
- Link between A and B
- Independent
- Probability of A
- 50
- Probability of B
- 40
How it is calculated
Independent: P(A and B) = P(A) × P(B).
Result
A and B
- A or B (at least one)
- 70%
- Exactly one
- 50%
- Neither
- 30%
How it is calculated
- Independent: P(A and B) = P(A) × P(B).
- Mutually exclusive: P(A and B) = 0 (they cannot happen together).
- P(A or B) = P(A) + P(B) − P(A and B). Exactly one = P(A or B) − P(A and B).
- P(A given B) = P(A and B) ÷ P(B).
Example
Heads (50%) and rain (40%), independent: both = 20%, at least one = 70%.
Good to know
- Choosing “independent” when it is not true gives a wrong answer.
- With “I know A and B”, the value must be possible: between P(A) + P(B) − 100% and the smaller of the two.
When to use it
- Work out the chance that two events both happen, such as two independent machine failures.
- Find the chance that at least one of two things happens, or neither.
- To count the possible draws or arrangements first, use Permutations and combinations (with or without repetition).
Frequently asked questions
What is the difference between independent and mutually exclusive?
Independent events do not affect each other, like a coin and the weather. Mutually exclusive events cannot happen together, like rolling a 2 and a 5 on one die.
Can two events be both exclusive and independent?
Only if one of them has a probability of 0. If A happening rules out B, then knowing A changes the chance of B, so they are not independent.
Why can I not simply add the two probabilities?
Adding counts the cases where both happen twice. P(A or B) removes that overlap once: 50% + 40% − 20% = 70%.