Set Theory Calculator — Union, Intersection, Difference, and Power Set
Our Set Theory Calculator performs every core set operation on custom sets you enter: union (A ∪ B), intersection (A ∩ B), difference (A − B), symmetric difference (A △ B), Cartesian product (A × B), power set (P(A)), and complement (Aᶜ relative to a universal set). Enter your elements separated by commas and get an instant, correctly formatted result with an explanation of how it was derived.
Quick Answer
This calculator performs every core set operation — union, intersection, difference, symmetric difference, Cartesian product, power set, and complement — on sets you enter as comma-separated elements, returning a correctly formatted result with an explanation of how it was derived.
How to Use the Set Theory Calculator — Union, Intersection, Difference & More
- 1
Choose a set operation from the button row.
- 2
Enter the elements of Set A, separated by commas.
- 3
For operations that need a second set or a universal set, fill in Set B or the Universal Set field.
- 4
Click 'Calculate' to see the resulting set and a short explanation of how it was derived.
Why Use Set Theory Calculator — Union, Intersection, Difference & More?
Set operations are the building blocks of discrete mathematics, database query logic (SQL joins mirror set operations directly), and probability theory. Working them out by hand for anything beyond a handful of elements is tedious and error-prone — it's easy to accidentally include or drop an element, especially with symmetric difference or power sets, where the number of subsets doubles with every added element. This calculator computes the exact result for any operation instantly and shows the reasoning, so you can check your work or explore how each operation behaves.
Frequently Asked Questions
Related Tools
Truth Table Generator — Boolean Logic Expressions Online
Generate truth tables for any boolean logic expression — AND, OR, NOT, XOR, NAND, NOR, and conditional operators. Free calculator with automatic tautology and contradiction detection.
Probability Calculator — Addition Rule, Conditional & Bayes' Theorem
Calculate probabilities using the addition rule, conditional probability, and Bayes' theorem. Free calculator with three modes, step-by-step solutions, and instant percentage results.
Combination Calculator — Calculate C(n,r) Online
Calculate combinations C(n,r) — the number of ways to choose r items from n total items where order doesn't matter. Free calculator with step-by-step solutions and Pascal's Triangle visualization.