In short
For two events A and B, the chance that at least one happens is P(A) + P(B) − P(A and B). If the events cannot happen together, P(A and B) is 0. If they are independent, it is P(A) × P(B). The chance an event does not happen is 1 minus its probability. Enter probabilities as decimals from 0 to 1.
How it works
P(A or B) = P(A) + P(B) − P(A and B)
independent: P(A and B) = P(A) × P(B) mutually exclusive: P(A and B) = 0
P(not A) = 1 − P(A) P(neither) = 1 − P(A or B) P(exactly one) = P(A or B) − P(A and B)
Adding P(A) and P(B) counts the outcomes where both happen twice, so the overlap is subtracted once. This is the inclusion–exclusion principle.
Worked examples
Rolling an even number or a 3
The two cannot happen on one roll, so P = 3/6 + 1/6 = 2/3 ≈ 0.666667 (OpenStax Contemporary Mathematics, Example 7.29).
Overlapping events
With P(E) = 0.45, P(F) = 0.6 and P(E and F) = 0.2, P(E or F) = 0.45 + 0.6 − 0.2 = 0.85 (Example 7.30), and neither happens with probability 0.15.
One trip or the other
Klaus can take only one vacation: New Zealand with probability 0.6 or Alaska with 0.35. The chance he goes to one of them is 0.95 (OpenStax Introductory Statistics, Example 3.14).
Two independent events
With P(G) = 0.6 and P(H) = 0.5, both happen with probability 0.6 × 0.5 = 0.3, as in Example 3.9, and at least one with 0.8.
Using this calculator well
- Mutually exclusive is not independent. If A and B cannot both happen, knowing A happened tells you B did not, so they are dependent (unless one has probability 0).
- “At least one” is often easiest as a complement: the chance of at least one tail in 3 coin flips is 1 − 1/8 = 7/8.
- Percentages: divide by 100 first, so 35% is 0.35.
Frequently asked questions
What does independent mean in probability?
Two events are independent when one happening does not change the chance of the other. Coin flips and separate dice rolls are independent. Drawing two cards without putting the first back is not, because the deck has changed. For independent events, P(A and B) = P(A) × P(B).
What does mutually exclusive mean?
Mutually exclusive events cannot happen at the same time, such as rolling a 2 and a 5 on one die. Their overlap is 0, so the chance of either is simply P(A) + P(B). Two outcomes of one roll, one draw or one race are usually mutually exclusive.
When do I add probabilities and when do I multiply?
Add for “or”: the chance of A or B is P(A) + P(B), minus the overlap. Multiply for “and”: the chance of A and then B is P(A) × P(B given A), which is P(A) × P(B) for independent events. Two heads in a row is 0.5 × 0.5 = 0.25.
How do I find the probability of something not happening?
Subtract its probability from 1. If there is a 0.3 chance of rain, there is a 0.7 chance of no rain. The chance of rolling more than 1 on a die is 1 − 1/6 = 5/6.
Sources and methodology
- Contemporary Mathematics, 7.8 The Addition Rule for Probability, OpenStax, Rice University, P(E or F) = P(E) + P(F) − P(E and F); Example 7.29: 3/6 + 1/6 = 2/3; Example 7.30: 0.45 + 0.6 − 0.2 = 0.85 (accessed November 24, 2026)
- Introductory Statistics 2e, 3.3 Two Basic Rules of Probability, OpenStax, Rice University, P(A AND B) = P(A)P(B) when independent; P(A OR B) = P(A) + P(B) − P(A AND B); Example 3.14: 0.6 + 0.35 = 0.95; Example 3.15: 0.65 + 0.65 − 0.585 = 0.715; Example 3.19: P(B′) = 1 − P(B) (accessed November 24, 2026)
Rounding: Results keep 12 significant digits and are shown to 10.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/probability" title="Probability Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>