Venn Diagram Calculator

Calculate and shade the union, intersection, complement, or symmetric difference of two or three sets in a Venn diagram.

Result
—

How to calculate

Subtract intersections from totals to find the number in each exclusive region. For three sets, add the triple overlap back where it was subtracted twice. The union adds all inside regions. The symmetric difference includes elements present in an odd number of sets.

Worked example

Use Number of sets Two sets · Universal set size (optional) 100 · Set A size 45 · Set B size 35 · Set C size (three sets) 30 · A and B intersection including any triple overlap 15 · A and C intersection including triple overlap 10 · B and C intersection including triple overlap 8 · A, B, and C intersection 5 · Region to calculate and shade Union of all sets. The result is 65.

Input and result notes

Enter counts of whole items. Pairwise overlaps include the triple overlap. Enter the universe size to calculate the outside region and complements. The diagram shows counts and shading without sizing regions by count.

OpenStax on set operations with three sets

Related calculators