Decision Tree
What is a Decision Tree?
A decision tree is a branching diagram of choices, uncertain events and outcomes, with probabilities and payoffs on each branch so each option's expected value can be calculated. It differs from the machine learning model.
Updated November 2026 · 3 min read
A decision tree is a diagram that lays out a decision, the options available, the uncertain events that could follow each option and the resulting outcomes, so the options can be compared using probabilities and values. It branches from left to right like a tree on its side. By putting numbers on each branch, teams can calculate the expected value of each option and see which assumptions matter most.
Decision trees are used for business decisions with uncertain results, such as whether to build or buy, launch now or later, enter a market or invest in a project. The same name is also used in machine learning for a model that classifies data by splitting it on a series of questions. That model shares the branching structure but is a different technique; this entry covers the decision analysis tool.
Components of a decision tree
| Element | Usual Symbol | Meaning |
|---|---|---|
| Decision node | Square | A point where the decision-maker chooses between options |
| Chance node | Circle | A point where an uncertain event occurs, with probabilities on each branch |
| End node | Triangle | A final outcome, with its value or payoff |
| Branches | Lines | The options or possible events leading from each node |
Probabilities on the branches leaving any chance node must add up to 100%.
How to build and analyze a decision tree
- State the decision. Write the choice at the left as a decision node.
- List the options. Draw a branch for each, including doing nothing.
- Add uncertain events. For each option, add chance nodes for the events that affect its outcome, such as success or failure.
- Estimate probabilities. Use historical data, expert judgment or benchmarks. Make assumptions explicit.
- Assign values. Estimate the payoff of each end node, net of costs where appropriate.
- Roll back. Working from right to left, calculate the expected value at each chance node (the sum of each outcome's value multiplied by its probability), then subtract any costs and pick the best option at each decision node.
- Test sensitivity. Change the most uncertain inputs to see whether the preferred option changes.
Decision tree example: Build, buy or do nothing
Consider a hypothetical software company deciding how to add advanced reporting. It has three options:
- Build in-house. Costs $400,000. There is a 60% chance it fully succeeds, producing $1.5M in added gross profit over three years, and a 40% chance of a partial result worth $500,000. Expected value: (0.6 × $1.5M) + (0.4 × $0.5M) − $400,000 = $900,000 + $200,000 − $400,000 = $700,000.
- Buy and embed a reporting product. Costs $250,000. There is a 90% chance of a good result worth $1.0M and a 10% chance of a poor fit worth $300,000. Expected value: (0.9 × $1.0M) + (0.1 × $300,000) − $250,000 = $900,000 + $30,000 − $250,000 = $680,000.
- Do nothing. Expected value: $0.
Building has a slightly higher expected value, $700,000 against $680,000. But the margin is thin. If the chance of full success for the in-house build is 50% instead of 60%, its expected value drops to $750,000 + $250,000 − $400,000 = $600,000, and buying becomes the better choice. The analysis shows the decision depends mostly on how confident the team is in its build estimate, and it points the team toward that question rather than settling it by debate.
Benefits and limitations
- Makes assumptions visible. Every probability and value is written down, where others can challenge it.
- Handles sequences. Trees can include later decisions, such as whether to continue after a pilot.
- Depends on the inputs. Precise-looking results can rest on guessed probabilities.
- Grows quickly. Trees with many options and events become unwieldy. Keep only the branches that matter.
- Ignores risk appetite. Expected value treats a certain $500,000 and a coin flip for $1M as equal, though many organizations would not.
Common pitfalls
- Leaving out "do nothing." Without a baseline, every option can look attractive.
- Probabilities that do not sum to 100%. Check every chance node.
- Forgetting costs. Compare options on net value, not gross payoff.
- Skipping sensitivity analysis. A single expected value hides how fragile the conclusion may be.
Decision trees complement a decision matrix, which scores options on several criteria, and support broader data-driven decision making and risk quantification.
Frequently asked questions
How do you calculate expected value in a decision tree?
At each chance node, multiply every outcome's value by its probability and add the results, then subtract the option's cost. A $400,000 build with a 60% chance of $1.5M and a 40% chance of $500,000 has an expected value of $900,000 plus $200,000 minus $400,000, or $700,000. Work from right to left, picking the best option at each decision node.
What do the symbols in a decision tree mean?
In a decision tree, a square marks a decision node where the decision-maker picks an option, and a circle marks a chance node where an uncertain event happens, with branch probabilities that must add up to 100%. A triangle marks an end node showing a final outcome and its payoff. Lines connecting the nodes are the branches, representing options or possible events.
How is a decision tree in decision analysis different from a machine learning decision tree?
They share a branching shape but do different jobs. A machine learning decision tree is a model that classifies data by splitting it on a series of questions. A decision analysis tree maps choices, uncertain events and payoffs so a team can compare options by expected value, often alongside a decision matrix when the choice involves several criteria.
Related terms
Decision Matrix
Scoring options against weighted criteria to compare them.
Data-Driven Decision Making
Basing decisions on evidence instead of intuition or rank.
Deep Backlog
An overgrown backlog, or the DEEP qualities of a healthy one.
Data Product Manager
The product manager for datasets, models and other data products.