Combine the probabilities of two events. Get the chance of both, either, neither, exactly one, and each one given the other, for independent, mutually exclusive or overlapping events.
P(A or B) = P(A) + P(B) − P(A and B)
As a decimal (0.25), a percentage (25%) or a fraction (1/4).
To combine two probabilities you need one more fact: how the events relate to each other. If A and B are independent, the chance of both is P(A) × P(B). If they can't happen together, it's zero. Otherwise you need to know P(A and B) directly.
Once you have P(A and B), everything else follows from three rules: the complement rule (not A), the addition rule (A or B) and the definition of conditional probability (A given B).
Not every combination is possible. With P(A) = 0.6 and P(B) = 0.4, the overlap can't be bigger than 0.4 (B can't overlap with more than all of itself). The calculator checks this and tells you the allowed range.
Rules as set out in OpenStax Introductory Statistics, chapter 3. See Sources.
Subtracting the overlap stops the "both" outcomes being counted twice.
Simply adding 0.6 + 0.4 would give 1, wrongly suggesting a bad day is certain. Subtracting the 0.24 overlap fixes the double count.
P(A) = 0.6 and P(B) = 0.4 in every row. Only the relationship between them changes.
| Relationship | P(A and B) | P(A or B) | P(A | B) |
|---|---|---|---|
| Mutually exclusive | 0 | 1 | 0 |
| Independent | 0.24 | 0.76 | 0.6 |
| B always comes with A | 0.4 | 0.6 | 1 |
Yes: 60%, 0.6 and 3/5 all mean the same here.
Check whether P(A and B) = P(A) × P(B), or equivalently P(A | B) = P(A). In plain terms: does knowing one happened change the chance of the other?
“A or B” includes the case where both happen. “Exactly one” excludes it.
The overlap can’t exceed the smaller probability, and if P(A) + P(B) is above 1 the events must overlap by at least the excess. The error gives the allowed range.
Everything that isn’t the event. P(not A) = 1 − P(A), so a 30% chance of rain is a 70% chance of no rain.
No. Every probability lies between 0 (impossible) and 1 (certain). A total above 1 means outcomes are being double-counted.
Use the probability of three events calculator, which extends the same rules with inclusion–exclusion.
The probability of A once you know B has happened. It restricts attention to the B outcomes only. The conditional probability calculator covers it in depth.
Related Tools
P(A|B) calculations.
P(A and B) calculations.
Three event probabilities.
Conditional probability.
Probability-weighted average.
Decision theory.