Set Calculator
One set per line (commas or spaces), line 1 is A, line 2 is B - union, intersection, difference, symmetric difference and complement in one go
Universe:
Universe elements:
Max results:
Separator:
Calculation Result
Download CSV
| No. | Operation | Result | Elements |
|---|
Introduction to the tool and how to use it
Set Operations Calculator: one set per line; it computes union, intersection, difference, symmetric difference, and complement all at once, with a Venn count summary.
What each result means:
· Union A ∪ B: elements present in any set;
· Intersection A ∩ B: elements present in every set;
· Difference A − B: elements in A but in no other set;
· Symmetric difference A △ B: elements belonging to exactly one set (not both);
· Complement U \\ (A ∪ B): elements in the universe but in no input set;
· Venn count summary: how many elements sit in each region that belongs to exactly certain sets.
Difference from our Number Sets Overlap Checker: that tool only compares the first line against the rest pairwise, outputting the intersection and each side's unique items; this tool returns the full operations, all five at once with a Venn count summary. Sets are deduplicated internally and sorted ascending numerically; elements are always treated as strings, and integers beyond 20 digits stay exact.
What each result means:
· Union A ∪ B: elements present in any set;
· Intersection A ∩ B: elements present in every set;
· Difference A − B: elements in A but in no other set;
· Symmetric difference A △ B: elements belonging to exactly one set (not both);
· Complement U \\ (A ∪ B): elements in the universe but in no input set;
· Venn count summary: how many elements sit in each region that belongs to exactly certain sets.
Difference from our Number Sets Overlap Checker: that tool only compares the first line against the rest pairwise, outputting the intersection and each side's unique items; this tool returns the full operations, all five at once with a Venn count summary. Sets are deduplicated internally and sorted ascending numerically; elements are always treated as strings, and integers beyond 20 digits stay exact.
How to use
- Enter one set per line, separating numbers with commas or spaces; line 1 is A, line 2 is B, and so on. Use 2 to 8 lines, such as
1, 2, 3, 4, 5. - Choose universe source: by default it takes the union of all sets, or pick manual and enter your own universe (for example 1~100) so the complement is meaningful.
- Click start calculation; the result table shows all five sets and element counts at once, and the output box also carries the Venn count summary.
- Results can be copied with one click and exported as CSV.
Message board
All messages →-
No one has spoken up yet — want to go first?