Set Theory Calculator (Union, Intersection, Venn)

Combine two sets — union, intersection, differences, symmetric difference and complement — with the cardinalities, power-set size and Cartesian-product size.

Results

Enter your details and click Calculate to see your results.
About This Calculator

List elements separated by spaces or commas (numbers or words). |A ∪ B| = |A| + |B| − |A ∩ B| (inclusion-exclusion).

Example

Example: {1,2,3,4} ∪ {3,4,5,6} = {1, 2, 3, 4, 5, 6}; ∩ = {3, 4}.

Assumptions

Duplicates are removed.

Frequently Asked Questions

What is the symmetric difference?

Elements in exactly one of the two sets.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile