Math Figures Venn Diagram Generator
UAB

Venn diagrams with numbers, elements or shading

The Venn Diagram Generator draws one, two or three circles inside a box for the universal set, marked U unless you choose ξ (as GCSE papers write it), S, ε, a word or nothing. Two sets can overlap, sit apart for mutually exclusive events, or one can sit inside the other for a subset. Each set is named outside its circle, with a letter like A or a word like Football.

Put a number in each region for counting and probability questions, a letter or expression like x or 2x + 1 for algebra, or words to compare and contrast, like red flesh, mushy, savory, one to a line. Or list the members of each set, or a range like 1-20, and every element is sorted into its region for you, prime factors included. Click any region on the figure to fill it in or shade it, and leave regions empty for students to fill in.

What you can set

  • Text mode: whatever you type in each region, a number, a letter, an expression or words for comparing two things, with commas splitting it into lines. Sets mode: each set’s members, sorted into the regions where the sets meet
  • One, two or three sets; two sets overlapping, separate, or one inside the other
  • Each set’s name, as a letter or a word
  • The universal set’s name: U, ξ, S, ε, a word or nothing
  • Any regions shaded, in a color tint, gray or a black-and-white pattern
  • Empty regions left empty or given a blank line for students

Copying, printing and sharing

Copy the figure straight into a test, worksheet or slide, or download it as a PNG or SVG. Printing the page prints just the figure. Share link copies the page’s address with your settings in it, so anyone who opens it sees this exact figure, and presets save settings you use often in your browser. It’s free, with no sign-up.

Frequently asked questions

How do I shade a region, like A ∩ B′?

Click the region on the figure and tick Shaded, or tick it in the list of regions under Sets. A ∩ B′ is the part of A outside B, called A only in the list. Pick the fill under Shading: a color tint, gray, or hatching or dots that photocopy well.

Can it sort numbers into the diagram for me?

Yes. Choose Sets, type the universal set (like 1-20) and each set’s members (like 2, 4, 6, 8), and each number is written in the region of every set it belongs to. An element that’s in a set but not in the universal set is pointed out so you can fix it.

How do I make a prime factor Venn diagram for the HCF and LCM?

Choose Sets and name the sets after the two numbers. Type each number’s prime factors with repeats, like 2, 2, 3, 3 for 36 and 2, 2, 3, 5 for 60. Each repeated factor is another copy, so the factors the numbers share go in the middle.

Can I use it for probability?

Yes. Type a probability in each region, like 0.3, or choose Text for fractions and unknowns like x. Leave a region empty, or give empty regions a blank line, for students to work out.

Can I use ξ for the universal set?

Yes. The box is marked U to start with; GCSE papers in England write the universal set as ξ, which is one click away under Labels, along with S, ε, a word or nothing.

← All math figures