Union, intersection, difference + Venn text.. Set Theory Calculator is a free online tool from the ToolsRift Math Calculators collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Loading Set Theory Calculator…
How to use Set Theory Calculator
Enter the elements of two sets and the calculator returns their union, intersection and differences with a Venn text summary.
Frequently asked questions
What set operations are supported?
Union (all elements), intersection (shared elements) and difference (elements in one set but not the other).
How do I enter the sets?
List each set's elements separated by commas; duplicates are automatically ignored.
What is the difference between A−B and B−A?
A−B keeps elements only in A; B−A keeps elements only in B — the two are usually different.
ToolsRift processes your files in your browser. We use cookies only for basic analytics and to support ads that keep every tool free. See our Cookie Policy.