Skip to content
LoveToCalc

Concept — what does that mean?

Independent and dependent events

Two events are independent when what you know about one does not change the probability of the other. Two coin tosses are independent; two cards from the same deck without replacement are not.

In Swedish: Oberoende och beroende händelser

What it is

Two events A and B are independent if knowing that A has happened does not change the probability of B. If it does change it, the events are dependent. The test is an equality:

P(A and B) = P(A) · P(B)

If it holds, the events are independent; otherwise they are dependent. When P(A) > 0 this is the same as saying that the conditional probability of B given A equals the probability of B: P(B|A) = P(B).

Independent events:

Dependent events:

If A and B are independent, so are A and “not B”. In the “even” and “at most 4” example, “not B” = {5, 6}. Both happen for {6}, with probability 1/6, and 1/2 · 1/3 = 1/6. The probability of “not B” is 1 − P(B); see the complement rule.

Why it matters

Independence decides which rule applies.

An urn holds 4 red and 6 blue balls, and two balls are drawn:

With replacement Without replacement
P(red on the first draw) 4/10 4/10
P(red on the second, if the first was red) 4/10 3/9
P(red on the second, if the first was blue) 4/10 4/9
P(two red) 0.16 2/15 ≈ 0.133
P(one red and one blue) 0.48 8/15 ≈ 0.533
P(at least one red) 0.64 2/3 ≈ 0.667

Without replacement, P(two red) = 4/10 · 3/9 = 2/15, not 4/10 · 4/10. “At least one red” is easiest as 1 minus the probability of two blue: 1 − 6/10 · 5/9 = 2/3 without replacement and 1 − 0.6 · 0.6 = 0.64 with it.

Someone who does not know what the first ball was still gets 4/10 for red on the second draw: 4/10 · 3/9 + 6/10 · 4/9 = 36/90 = 4/10, the sum over the two paths by the law of total probability. The dependence only shows once you know what the first ball was.

Common misconceptions

Common questions

How do you check whether two events are independent? Compare P(A and B) with P(A) · P(B). In a table of counts it is enough to compare proportions. Of 100 students, 60 are girls and 40 boys, and 50 cycle to school: 30 girls and 20 boys. The share who cycle is 0.5 overall, 30/60 = 0.5 among the girls and 20/40 = 0.5 among the boys, so gender and cycling are independent in this group. The expected number of girls cycling under independence is 60 · 50/100 = 30, as observed; see expected frequency. If instead 36 girls and 14 boys cycle, the shares are 0.6 and 0.35, and gender and cycling are linked.

Is an event independent of its own complement? No, if its probability lies between 0 and 1. If A happens, “not A” cannot, so P(A and not A) = 0, while P(A) · P(not A) is greater than 0. If P(A) is 0 or 1 the equality holds, and then A is independent of every event, its complement included.

Can three events be independent two by two but not all three together? Yes. Toss a coin twice. A is “heads on the first toss”, B “heads on the second” and C “the same result both times”. Each pair is independent: both happen with probability 1/4 = 1/2 · 1/2. But all three happen with probability 1/4, not 1/2 · 1/2 · 1/2 = 1/8, because C has already happened when A and B have.

Does the multiplication rule hold for dependent events too? The short form P(A) · P(B) holds only for independent events. The general form P(A and B) = P(A) · P(B|A) holds for any two events, and the short form follows when P(B|A) = P(B).

Last reviewed October 22, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas