✓ Effortless Math · Free Tool

Set Calculator

Enter two sets A and B as comma-separated lists, pick an operation, and get the union, intersection, difference, or symmetric difference — plus the cardinalities, a subset check, and a disjoint check, with step-by-step working.

A ∪ B ·  A ∩ B ·  A − B ·  A △ B
A = Set A
B = Set B

Separate elements with commas. Duplicates are removed automatically. Leave a box empty for the empty set ∅.

Results

Result
—
—
|A|
—
|B|
—
|result|
—
A ⊆ B ?
—
Disjoint ?
—

Step-by-step