Enter your sets as comma-separated values, pick two or three sets, and get union, intersection, difference, complement, and more. The Venn diagram updates as you type.
Use commas. Duplicates are removed. Empty input means empty set.
Sets are written as comma-separated elements; order and duplicates do not matter. Union (∪) is “in A or B or both”; intersection (∩) is “in both”; A − B is “in A but not in B”; A′ is everything in U that is not in A. Symmetric difference A △ B is (A − B) ∪ (B − A).
Subset A ⊆ B means every element of A is in B. Disjoint means A ∩ B = ∅. Equal sets have the same elements. Cardinality |A| is the number of elements. The tool uses the universal set U only for complement; other operations do not depend on U.