Probability Calculator

Give the probabilities of two events and get every combination: both, either, neither, exactly one, and conditional probabilities.

How are A and B related?
0.30000.20000.2000ABneither 0.3000
P(A and B)0.2000
P(A or B)0.7000
P(not A), P(not B)0.5000, 0.6000
Exactly one of A, B0.5000
Neither0.3000
P(A | B)0.5000
P(B | A)0.4000

Working: P(A or B) = 0.5 + 0.4 − 0.2000 = 0.7000

Explain my result

An AI tutor reads your numbers and explains what they mean in plain words. Sends only the inputs and results shown above.

Why “5% each time” doesn’t add up to 100%

A common slip is to add probabilities across repeated tries: twenty 5% chances must make 100%. They don’t, because once the event has happened, later tries can’t make it happen “again” in the at-least-once sense.

Set the chance per try and the number of tries. The dots show 100 people each making that many attempts; the filled ones succeeded at least once.

At least once: 64.2% · naive sum would say 100%

The rules in one place

P(A∪B) = P(A) + P(B) − P(A∩B)   ·   P(A|B) = P(A∩B) ÷ P(B)

Independent: P(A∩B) = P(A)·P(B). Mutually exclusive: P(A∩B) = 0. Complement: P(not A) = 1 − P(A). For the number of successes over many independent trials, move on to the binomial distribution calculator.

Frequently asked questions

What is the difference between “and” and “or” probability?

P(A and B) is the chance both happen. P(A or B) is the chance at least one happens, found with the addition rule P(A) + P(B) − P(A and B). Subtracting the overlap stops it being counted twice.

How do I know if events are independent?

Events are independent if one happening does not change the chance of the other, so P(A and B) = P(A) × P(B). Two coin flips are independent. Drawing two cards without replacement is not.

What are mutually exclusive events?

Events that cannot happen together, such as rolling a 2 and a 5 on one die. Then P(A and B) = 0 and P(A or B) = P(A) + P(B). Mutually exclusive events with non-zero probability are never independent.

How do I calculate conditional probability?

P(A | B) = P(A and B) ÷ P(B): the chance of A once you know B happened. If 10% of students take both French and Spanish and 40% take Spanish, P(French | Spanish) = 0.10 ÷ 0.40 = 0.25.

What is the probability of at least one success in n tries?

One minus the probability of no successes: 1 − (1 − p)ⁿ for independent tries. With a 5% chance each time, 20 tries give 1 − 0.95²⁰ ≈ 64%, not 100%.