Math & Geometry
Probability Calculator
Combine two independent events: both, either, neither, exactly one.
Combining two independent events
Probability measures how likely an event is, from 0% (impossible) to 100% (certain). When two events are independent — the outcome of one does not affect the other, like two coin tosses or two separate machines failing — their probabilities combine with simple rules. The chance that both happen is the product of their probabilities. The chance that at least one happens is the sum minus the overlap. The chance that neither happens is the product of the two complements.
Enter the probability of each event as a percentage to see the chance of both, either, exactly one and neither.
Common pitfalls
The rules above apply only to independent events. Drawing cards without replacing them, or medical test results and disease status, are dependent, and need conditional probability. Another trap is the gambler's fallacy: after five heads in a row, the next toss is still 50% heads. Probabilities also add up surprisingly fast over many trials — a 1% risk repeated 100 times gives a 63% chance of at least one occurrence.
Formula & method
P(A and B) = P(A) × P(B)P(A or B) = P(A) + P(B) − P(A and B)P(neither) = (1 − P(A))(1 − P(B))Worked example
Event A 50% and event B 30%
- Both = 0.5 × 0.3 = 15%
- At least one = 50% + 30% − 15% = 65%
- Neither = 0.5 × 0.7 = 35%
Answer: 15% for both, 65% for either, 35% for neither.
Frequently asked questions
What if the events are not independent?
Then P(A and B) = P(A) × P(B | A); this calculator assumes independence.
What does independent mean?
Knowing whether one event happened does not change the probability of the other.
How do I convert odds to probability?
Odds of 3 to 1 against mean a probability of 1 ÷ (3 + 1) = 25%.
What is the chance of at least one success in n tries?
1 − (1 − p)ⁿ; for p = 10% and n = 10, about 65%.
Can I enter probabilities as decimals?
Enter percentages: 0.25 should be entered as 25.
What is conditional probability?
The probability of A given that B happened, written P(A | B).
Are coin tosses independent?
Yes. Past tosses do not change the next one.
What is the probability of rolling two sixes?
1/6 × 1/6 = 1/36, about 2.78%.