📚 Counting Principles & Inclusion–Exclusion

Multiply stage counts with the fundamental counting principle or find the size of unions using inclusion–exclusion. Handy for license plate problems, scheduling, or Venn-diagram style questions.

1. Fundamental Counting Principle

Multiply the number of choices at each stage.

Total outcomes

Switches to scientific notation for extremely large products.

2. Inclusion–Exclusion: Two Sets

|A ∪ B| = |A| + |B| − |A ∩ B|

Union size

3. Inclusion–Exclusion: Three Sets

|A ∪ B ∪ C| = Σ|A| − Σ|A ∩ B| + |A ∩ B ∩ C|

Union size

How to Use

  1. For the fundamental counting principle, list the number of choices per stage using commas, spaces, or an “×” separator, then click Multiply Stages.
  2. For inclusion–exclusion, enter the set sizes and intersection counts, ensuring intersections do not exceed the corresponding sets.
  3. Review warnings that highlight inconsistent or negative union totals so you can adjust inputs.
  4. Reset each card when switching between unrelated problems to keep calculations clear.

Formula References

Related Probability Tools