🔵 Venn Diagram Calculator
Enter the size of two sets and how many elements they share to calculate the union, exclusive regions, and full breakdown for a two-circle Venn diagram.
1
2
3
What this calculator finds
This tool calculates the standard regions of a two-circle Venn diagram — the parts unique to each set and the part they share — using basic set theory.
The formulas
Union: |A ∪ B| = |A| + |B| − |A ∩ B|. Only in A: |A| − |A ∩ B|. Only in B: |B| − |A ∩ B|. These formulas prevent double-counting the elements that belong to both sets.
This calculator is useful for planning diagrams, teaching basic probability and set theory, or checking survey/overlap data. It supports two sets; for three or more overlapping sets, the region formulas become more complex.
Last reviewed August 2026