Math Figures Tree Diagram Generator
H0.5T0.5H0.5T0.5H0.5T0.5H, H0.25H, T0.25T, H0.25T, T0.25

Probability tree diagrams with blanks for students

The Tree Diagram Generator draws a probability tree from the stages you type: each stage is one event, like a coin flip, a spin or a draw from a bag, and every branch of a stage splits into the same outcomes. Probabilities are written on the branches as you type them, fractions stacked, and the outcome column at the end lists each path, like H, T, with its probability worked out by multiplying along the branches.

Each stage’s probabilities can be the same on every branch, for independent events, or different on each, for dependent events like drawing without replacement. Leave a probability empty for students to fill in, click any label on the figure to make it a blank, or blank or hide every outcome, probability or path at once for a worksheet or exam question.

What you can set

  • Up to four stages, each with two to six outcomes, up to 36 paths in all
  • Each outcome’s probability, the same on every branch or typed for each branch, written as typed: fractions, decimals, percents or letters like x
  • An outcome column of each path’s name, written H, T or HT, and its probability, multiplied out and in lowest terms when the branches are fractions
  • Outcomes, probabilities, path names and path probabilities each shown, left as blank lines or hidden, and any single label made a blank by clicking it
  • Left to right or top to bottom, a label at the start, a title over each stage, and small, medium or large labels

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 make a tree diagram for drawing without replacement?

Type the first draw’s outcomes and probabilities, like Red 3/5 and Blue 2/5, then add a second stage and untick Same on every branch. Each branch of the first draw gets its own row, so after Red you can type 2/4 and 2/4, and after Blue 3/4 and 1/4.

How do I leave probabilities for students to fill in?

Leave a probability empty and its branch gets a blank line. To blank a label you’ve typed, click it on the figure; click it again to bring it back, or click Clear blanks. Under Labels you can make every outcome, probability, path name or path probability a blank at once, or hide it.

How are the path probabilities worked out?

Each path’s probability is the product of the probabilities on its branches. When every one is a fraction it’s written as a fraction in lowest terms; otherwise as a decimal. If a branch on the path is blank or a letter, the path’s probability is left blank.

What if my probabilities don’t add up to 1?

The panel tells you which branches don’t add up to 1, so you can check a typo before printing. The tree is still drawn as you typed it.

Can the tree go from top to bottom?

Yes, under Layout, for trees of up to 12 paths. The outcome column becomes a row under the leaves, each path’s name over its probability.

← All math figures