Enter the probabilities of two events to find the chance that both happen, that at least one happens, that exactly one happens, or that neither does. Choose whether the events are independent, like two coin flips, or mutually exclusive, like rolling a 1 or a 6 on a single die.
What is probability?
A probability is a number from 0 to 1 that measures how likely an event is: 0 means it can’t happen, 1 means it is certain, and 0.5 means it happens half the time in the long run. Probabilities are often written as percentages, so 0.25 is a 25% chance.
Two rules cover most questions about a pair of events. The addition rule says P(A or B) = P(A) + P(B) − P(A and B); the overlap is subtracted so it isn’t counted twice. The multiplication rule says that for independent events P(A and B) = P(A) × P(B). When events are mutually exclusive they can’t happen together, so the overlap is zero.
How to use the probability calculator
- Enter the probability of each event as a decimal between 0 and 1.
- Choose whether the events are independent or mutually exclusive.
- Read the chance of both, either, exactly one or neither.
Formula
P(A and B) = P(A) × P(B) · P(A or B) = P(A) + P(B) − P(A and B)
The multiplication rule applies to independent events. For mutually exclusive events P(A and B) = 0, so P(A or B) is simply P(A) + P(B).
The complement rule gives P(not A) = 1 − P(A).
Worked examples
Two coin flips both landing heads
- Probability of A, P(A)
- 0.5
- Probability of B, P(B)
- 0.5
- The events are…
- Independent (one doesn’t affect the other)
- P(A and B)
- 0.25 (25%)
- P(A or B)
- 0.75 (75%)
- P(exactly one of A or B)
- 0.5 (50%)
The flips are independent: 0.5 × 0.5 = 0.25. The chance of at least one head is 0.5 + 0.5 − 0.25 = 0.75.
Rolling a 1 or a 6 on one die
- Probability of A, P(A)
- 0.166667
- Probability of B, P(B)
- 0.166667
- The events are…
- Mutually exclusive (can’t both happen)
- P(A or B)
- 0.333333 (33.3333%)
- P(A and B)
- 0 (0%)
- P(exactly one of A or B)
- 0.333333 (33.3333%)
One roll can’t show both, so add the chances: 1/6 + 1/6 = 1/3 ≈ 0.3333.
Rain on two different days
- Probability of A, P(A)
- 0.3
- Probability of B, P(B)
- 0.2
- The events are…
- Independent (one doesn’t affect the other)
- P(A and B)
- 0.06 (6%)
- P(A or B)
- 0.44 (44%)
- P(exactly one of A or B)
- 0.38 (38%)
If the days are treated as independent, the chance of a dry weekend is (1 − 0.3) × (1 − 0.2) = 0.56.
Probability rules
| Event | Independent | Mutually exclusive |
|---|---|---|
| A and B | P(A) × P(B) | 0 |
| A or B | P(A) + P(B) − P(A)P(B) | P(A) + P(B) |
| Neither | (1 − P(A))(1 − P(B)) | 1 − P(A) − P(B) |
| Exactly one | P(A) + P(B) − 2P(A)P(B) | P(A) + P(B) |
| Not A | 1 − P(A) | 1 − P(A) |
Conditional probability and base rates
P(A given B) is a different question from P(B given A), and mixing them up is one of the most common probability errors. Take a test that catches 99% of real cases and wrongly flags 5% of everyone else, used where 1% of people have the condition. Out of 10,000 people, 99 real cases test positive and so do 495 people without it. Only 99 of the 594 positives, about 17%, actually have the condition.
Common mistakes
- Adding probabilities of events that can happen together, which counts the overlap twice.
- Multiplying probabilities of events that are not independent, such as drawing two cards without replacement.
- Confusing mutually exclusive with independent — exclusive events (with non-zero chances) are never independent.
Frequently asked questions
How do I enter a percentage?
Divide it by 100: 30% is 0.3. The results are shown both as decimals and as percentages.
What does independent mean?
Two events are independent when knowing one happened doesn’t change the chance of the other — like two separate coin flips. Drawing cards without putting them back is not independent.
Can P(A or B) be more than 1?
No. If adding the probabilities gives more than 1, the events must overlap, so they can’t be mutually exclusive.
What is the difference between odds and probability?
Probability compares outcomes to all possibilities; odds compare them to the outcomes that don’t happen. Odds of 1 to 4 mean 1 success for every 4 failures, a probability of 1 ÷ 5 = 20%.
Sources
- Introductory Statistics 2e, Chapter 3: Probability Topics, OpenStax, Rice University
- Probability Distributions (NIST/SEMATECH e-Handbook of Statistical Methods), National Institute of Standards and Technology (NIST)
Last updated · Calculations checked by automated tests· Editorial policy