Toolvito

Calculates on this device. File exports run online.

Venn Diagram Maker

Type the items of each set, or the numbers in each region, and get the Venn diagram with every union, intersection and complement. You can also find the regions from totals, or shade a set expression.

Enter your values

Type the items of each set. The diagram puts every item in its region and lists unions, intersections and complements.

Your values

Separate the items with commas or new lines.

They count for the complements (everything not in a set).

More options

Then “ali” and “Ali” are one item.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Make the diagram.

Download the diagram

Task
Picture files: PNG, SVG and more

The diagram is 200 × 150 mm. Choose a resolution, or type a size in pixels.

300 dpi suits printing; 96 dpi suits a screen.

More options

Leave both empty to use the size of the diagram and the resolution.

The diagram has a white background; this colour fills any space around it.

Leave it empty for a name made from the set names.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to make a Venn diagram

  1. Choose what you want to do: sort items, draw from numbers, find the regions, or shade an expression.
  2. Choose 2, 3 or 4 sets and give each set a name.
  3. Type the items of each set, separated by commas or new lines, or the number in each region.
  4. Press Make the diagram. You see the diagram, the regions and the set operations.
  5. In the box below, download it as a picture, a PDF to print, or a Word, PowerPoint or Excel file.

Regions and set signs

  • A ∪ B (A union B): in A or B or both.
  • A ∩ B (A intersection B): in both A and B.
  • A − B (A minus B): in A but not in B.
  • A′ (the complement of A): everything in U, the universal set, that is not in A.
  • A Δ B (symmetric difference): in A or B but not both.
  • A region such as A ∩ B ∩ C′ means “in A and B, not in C”. With 3 sets there are 8 regions, with 4 sets 16.

The solver (inclusion and exclusion)

When you know the total of each set and of each overlap, the regions follow by subtracting: with 2 sets, only A = A − A ∩ B and A ∪ B = A + B − A ∩ B. With 3 sets, A ∪ B ∪ C = A + B + C − A ∩ B − A ∩ C − B ∩ C + A ∩ B ∩ C.

It works with counts, probabilities from 0 to 1, or percentages. With probabilities of 2 sets you also get P(A | B), P(B | A) and whether A and B are independent.

Worked example: of 60 pupils, 30 play football (A), 25 tennis (B) and 20 swim (C); 10 play football and tennis, 8 football and swim, 6 tennis and swim, and 3 do all three. Then 15 play only football, 54 play at least one, and 6 play none.

Shading an expression

Type an expression such as (A ∪ B) ∩ C′ with the letters A to D. You can also write u for ∪, n for ∩, an apostrophe for ′, and “not”, “and”, “or”. ∩ is worked out before ∪ and −, so use brackets when you are not sure.

Add a second expression to check whether two expressions are equal, for example De Morgan’s law (A ∪ B)′ = A′ ∩ B′.

Limits you should know

  • 2 to 4 sets. A diagram of 5 sets needs other shapes and is not drawn.
  • Areas are in proportion to the numbers only for 2 sets. With 3 or 4 sets, circles cannot in general show every area exactly, so they keep one size.
  • It draws every region, also empty ones (an Euler diagram leaves empty regions out).

Privacy

The diagram is worked out and drawn in your browser. Only when you press Make the files, Make the PDF or Make the file is the diagram (and, for a document, the result and its tables) sent to the Toolvito server to make the file. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

Related tools