Set Theory Calculator
Calculate union, intersection, difference, symmetric difference, and complements for two sets with similarity metrics.
Inputs
Results
Union (A ∪ B)
70
Intersection (A ∩ B)
10
Difference (A − B)40
Difference (B − A)20
Symmetric Diff (A Δ B)60
Complement of A50
Complement of B70
Jaccard Index0.1429
Overlap Coefficient0.3333
How to Use This Calculator
- Enter the elements of Set A and Set B as comma-separated values.
- Select the set operation: union, intersection, difference (A−B or B−A), or symmetric difference.
- Review the resulting set elements and cardinality.
- Check the Venn diagram representation to visualize the overlap.
- Use the cardinality outputs to verify set relationships in database queries or combinatorics problems.
Ad Placeholder
Related Calculators
Venn Diagram Calculator
Calculate exclusive region values for 2-set or 3-set Venn diagrams using inclusion-exclusion principle.
Truth Table Generator
Generate a complete truth table for propositional logic formulas with 2-4 variables and common logical operations.
Boolean Algebra Simplifier
Estimate Boolean expression simplification from sum-of-products form. Calculates term and literal reduction using grouping heuristics.
Logical Equivalence Checker
Test whether two propositional logic expressions produce identical truth values across all variable assignments.
Ad Placeholder