Calculators
Home › Calculators › Probability Calculator

Probability Calculator (Two Events)

Two events, every standard combination: with the relationship made explicit.

Calculate two-event probabilities

Set the relationship first: it decides what the intersection is.

Quick answer: P(A ∪ B) = P(A) + P(B) − P(A ∩ B). Independent with P(A) = 0.4, P(B) = 0.5: union 0.70, both 0.20, and P(A|B) = P(A): independence means no news travels.

The only two rules you really need

Almost every basic probability question is the addition rule or the multiplication rule in a costume. The addition rule: P(A or B) = P(A) + P(B) − P(A and B): the overlap subtracted because it was counted twice. The multiplication rule: P(A and B) = P(A) × P(B | A), and when the events are independent, P(B | A) is just P(B), so it collapses to a plain product.

Worked example

P(A) = 0.4, P(B) = 0.5, independent. Both: 0.4 × 0.5 = 0.20. Either: 0.4 + 0.5 − 0.20 = 0.70. Neither: 1 − 0.70 = 0.30. And P(A | B) = 0.4, exactly P(A), because independence means B's happening carries no news about A. Make the same events mutually exclusive instead and the picture changes completely: both becomes 0, either becomes 0.90. Which relationship holds is the whole question: the arithmetic is the easy part.

The three relationships, kept straight

Watch out

Adding P(A) + P(B) for "either" and getting something over 1: the signature of a forgotten intersection. Probabilities of unions can never exceed 1; if yours does, the overlap is still in there twice.

Frequently asked questions

What is P(A or B) when the events are independent?

P(A) + P(B) − P(A)·P(B). Independence simplifies the intersection, not the union: the subtraction still applies.

Can P(A|B) be bigger than P(A)?

Yes, that is precisely what 'B is evidence for A' means. It can also be smaller, or (under independence) exactly equal.