Inclusion-Exclusion Principle Calculator
Calculate the union of sets using the Inclusion-Exclusion Principle — without double-counting overlapping elements. Enter the sizes of Set A, Set B, and optionally Set C, along with their intersections, and get back the union size and a full breakdown of how each term contributes to the formula.
Results
Union Size |A ∪ B| or |A ∪ B ∪ C|
--
Sum of Individual Sets
--
Pairwise Intersections Subtracted
--
Triple Intersection Added Back
--
Elements Only in A
--
Elements Only in B
--
Elements Only in C
--