The complement of an event is everything that happens when that event doesn’t. In probability, if you define an event A, its complement is the collection of all outcomes in your sample space that aren’t part of A. The two always add up to cover every possibility, which gives you one of the most useful shortcuts in probability: P(A) + P(A’) = 1.
How the Complement Works
Every probability problem starts with a sample space, which is the full set of possible outcomes. When you roll a standard die, the sample space is {1, 2, 3, 4, 5, 6}. If you define event A as “rolling an even number,” that’s {2, 4, 6}. The complement of A is every outcome left over: {1, 3, 5}. The complement occurs when, and only when, the original event does not occur.
A few boundary cases are worth knowing. The complement of the entire sample space is the empty set, because if your event already includes every possible outcome, nothing is left over. And the complement of an impossible event (the empty set) is the entire sample space.
Notation You’ll See
Textbooks and instructors use several different symbols for the complement of event A, and they all mean the same thing:
- A’ (read “A prime”)
- Aᶜ (read “A complement”)
- Ā (A with a bar over it)
- ~A or ¬A (common in logic contexts, read “not A”)
Which one you encounter depends on the course or field. Statistics courses often use A’ or Aᶜ, while logic and computer science lean toward ~A. They’re interchangeable.
The Complement Rule
Because an event and its complement together account for every outcome in the sample space, their probabilities always sum to 1:
P(A) + P(A’) = 1
Rearranging gives you the subtraction form: P(A’) = 1 − P(A). This is called the complement rule, and it’s the reason complements matter so much in practice. Whenever calculating a probability directly feels complicated, check whether the complement is simpler. If it is, find that probability and subtract from 1.
When Complements Save You Work
The complement rule shines in “at least one” problems, where calculating the probability directly means adding up many separate cases.
Suppose you flip a fair coin 5 times and want the probability of getting at least one heads. You could calculate the probability of exactly 1 heads, exactly 2, exactly 3, and so on, then add them all together. Or you could recognize that the complement of “at least one heads” is “zero heads,” meaning all 5 flips land tails. The probability of all tails is (1/2)⁵ = 1/32. So the probability of at least one heads is 1 − 1/32 = 31/32. One calculation instead of five.
The same logic applies in quality control. Imagine a factory produces light bulbs with a 10% defect rate, and you randomly pick 3. What’s the probability that not all three are defective? Rather than separately computing the odds of 0, 1, or 2 defective bulbs, you find the complement: the probability that all 3 are defective is 0.1 × 0.1 × 0.1 = 0.001. So the probability that not all three are defective is 1 − 0.001 = 0.999.
Visualizing With a Venn Diagram
In a Venn diagram, the sample space is drawn as a rectangle, and an event is typically shown as a circle inside it. The complement of that event is all the space inside the rectangle but outside the circle. When you shade the complement, you’re shading everything the circle doesn’t cover. This makes it visually clear that the event and its complement together fill the entire rectangle, leaving no gaps and no overlap.
Complements of Combined Events
When events are joined by “and” or “or,” finding the complement follows a pair of rules known as De Morgan’s Laws:
- Complement of “A and B”: equals “not A or not B.” If you negate a situation where both conditions must hold, at least one of them must fail.
- Complement of “A or B”: equals “not A and not B.” If you negate a situation where at least one condition holds, both must fail.
In plain terms, “and” flips to “or” when you take the complement, and “or” flips to “and.” This matters when you’re working with more complex probability expressions involving multiple events. If you need the probability that it’s not the case that a student passes math and science, De Morgan’s Laws tell you that’s the same as the probability the student fails math or fails science (or both).
Quick Reference Examples
To anchor the concept, here are a few straightforward complements:
- Event: rolling a 6 on a die. Complement: rolling 1, 2, 3, 4, or 5. P(complement) = 5/6.
- Event: it rains tomorrow (30% chance). Complement: it does not rain. P(complement) = 0.70.
- Event: drawing a heart from a standard deck. Complement: drawing a spade, diamond, or club. P(complement) = 39/52 = 3/4.
In every case, the pattern is the same: identify what the event includes, then the complement is everything else in the sample space. Subtract the event’s probability from 1 and you have the complement’s probability.

