Statistics

Venn Diagram Calculator

Find the regions of a two-set Venn diagram.

Parameters Live Compute
Calculated Output
A ∪ B 45
Only in A 20
Only in B 15
Formula: A ∪ B = A + B − (A ∩ B)
Step-by-Step Breakdown
1. Values used:
2. Size of A = 30
3. Size of B = 25
4. Size of A ∩ B = 10
5.
6. A ∪ B = 45
7. Only in A = 20
8. Only in B = 15
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

A Venn diagram splits two sets into the overlap and the parts unique to each.

The math behind it

Union = |A| + |B| − |A ∩ B| (inclusion–exclusion). Only-A = |A| − overlap.

Worked Example

A 30, B 25, overlap 10 → union 45, only-A 20, only-B 15.

Frequently Asked Questions

What if the sets don't overlap?

Set the intersection to 0; the union is then just A + B.

Advertisement