Venn Diagram Calculator
Calculate exclusive region values for 2-set or 3-set Venn diagrams using inclusion-exclusion principle.
Inputs
Results
A Only
30
B Only
20
Union Total
60
How to Use This Calculator
- Enter the total population or universe size.
- Input the size of Set A, Set B, and their intersection.
- Review the exclusive regions: A only, B only, both A and B, and neither.
- Calculate percentages of the universe in each region for proportion analysis.
- Use the output to solve inclusion-exclusion problems in probability and combinatorics.
How the result changes with Set A Size
| Set A Size | A Only | B Only | Union Total |
|---|---|---|---|
| 10,000 | 9,990 | 20 | 10,020 |
| 35,000 | 34,990 | 20 | 35,020 |
| 65,000 | 64,990 | 20 | 65,020 |
| 90,000 | 89,990 | 20 | 90,020 |
What each input means
- Set A Size
- Total elements in set A
- Set B Size
- Total elements in set B
- Set C Size (0 for 2-set)
- Total elements in set C (set to 0 for a two-set diagram)
- A ∩ B Overlap
- Number of elements in both A and B
- A ∩ C Overlap
- Number of elements in both A and C (only for 3-set diagrams)
- B ∩ C Overlap
- Number of elements in both B and C (only for 3-set diagrams)
- A ∩ B ∩ C Overlap
- Number of elements in all three sets
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersSet A Size = 40, Set B Size = 30, Set C Size (0 for 2-set) = 0, A ∩ B Overlap = 10 = 7 input(s) provided
- Calculate A Only30 = 30
- Calculate B Only20 = 20
- Calculate Union Total60 = 60
- Calculate C Only0 = 0
- Calculate A ∩ B10 = 10
Engine last updated . Checked against 5 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Set Theory Calculator
Calculate union, intersection, difference, symmetric difference, and complements for two sets with similarity metrics.
Logic & Formal ReasoningTruth Table Generator
Generate a complete truth table for propositional logic formulas with 2-4 variables and common logical operations.
Discrete MathematicsInclusion-Exclusion Calculator
Apply the inclusion-exclusion principle to compute union sizes and exclusive membership for up to three sets.
Logic & Formal ReasoningBoolean Algebra Simplifier
Estimate Boolean expression simplification from sum-of-products form. Calculates term and literal reduction using grouping heuristics.
More in Math & Statistics.