A little context. A clearer answer.
When this calculator is useful
Analyze two events from their marginal probabilities and a known intersection, or from an explicit independence assumption. For a related calculation, try Binomial probability calculator.
What to enter
| Input | What it means | Example value |
|---|---|---|
| How the events are related | Choose a known intersection if P(A∩B) is available. Choose independence only when your model justifies it; independence is not inferred from P(A) and P(B). | Enter their intersection |
| P(A), from 0 to 1 | Enter the probability of A on a 0–1 scale. For example, 60% is 0.6. | 0.6 |
| P(B), from 0 to 1 | Enter the probability of B on a 0–1 scale. For example, 50% is 0.5. | 0.5 |
| Both: P(A∩B) | Enter the probability that both occur. It must lie between max(0, P(A)+P(B)−1) and min(P(A), P(B)). This field is ignored in independence mode. | 0.1 |
How the calculation works
- Use the supplied intersection, or multiply the marginal probabilities only if independence is selected.
- Subtract the intersection from each marginal to find A-only and B-only; subtract the union from 1 for neither.
- Add the exclusive regions for exactly one. Divide the intersection by the conditioning event probability for a conditional result, if that denominator is positive.
P(A∪B) = P(A)+P(B)−P(A∩B); P(A|B) = P(A∩B)/P(B)A worked example
At least one: P(A∪B) · 60% + 50% − 10% = 100% → 60% + 50% − 40% = 70%
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Probabilities are numbers from 0 to 1, with up to 9 decimals in the form. This is event algebra, not a fitted probability distribution or an estimate of missing probabilities. The intersection must satisfy the feasibility bounds. Conditioning on an event of probability zero is undefined. Decimal arithmetic is exact before finite-number display conversion. The diagram is schematic, not proportional in area.
Frequently asked questions
Are mutually exclusive events independent?
Generally no. Mutually exclusive events have intersection zero. Independent events have intersection P(A)P(B), which is positive when both marginal probabilities are positive.
Why can an intersection be too small?
The union cannot exceed 1. For example, probabilities 0.8 and 0.7 require at least 0.5 overlap, even though an overlap of 0.2 is below each marginal.
Why is a conditional result sometimes undefined?
P(A|B) divides by P(B). If P(B)=0, that division has no value in this elementary event model; the calculator reports a status instead of zero.