NEW

Decision Tree Analysis: The Worked Example Where a $3,000 Test Beats Both Options

What's eating up your time? Find out
December 2026
Decision Tree Analysis: The Worked Example Where a $3,000 Test Beats Both Options

Decision tree analysis is a way to choose between options when the result of each option is uncertain. You draw the choices and the events that could follow them as a branching diagram, put a probability and a money value on every outcome, and work backwards to find the option with the highest expected monetary value (EMV). The answer is a single number per option, and you can show a client or a sponsor exactly how you got it.

A tree with two branches and one multiplication explains the idea, but real project decisions are messier. The example below has three options, a second decision that depends on what the team learns, and sensitivity checks that show how far to trust the result. Its best branch is a small paid test that neither of the two obvious options included. After the example come a comparison with other decision tools and the mistakes that make a tidy tree give the wrong answer.

What is decision tree analysis?

Decision tree analysis is a decision analysis method that maps a choice, the uncertain events that follow it and the final payoffs as a tree read from left to right. Each uncertain event gets a probability, each end point gets a value, and the tree is “rolled back” from the end points to the first decision by weighting values with their probabilities. The option with the best expected value is the one the analysis recommends.

The method reached managers through John F. Magee’s article “Decision Trees for Decision-Making” in Harvard Business Review in 1964, which opened with a company choosing whether to build a small plant or a large one for a product with an uncertain market. Project managers met it through articles such as Marc-David Cohen’s “Decision analysis in project management” in PMI’s PM Network in 1990, which used a bid on a machine tool contract, with the option of building a prototype first, as its example.

Every decision tree uses the same four elements:

Element What it means How you treat it in the math
Decision node (square) A point where you choose between options you control Keep the option with the best value and cut the others
Chance node (circle) A point where an event outside your control decides what happens next Multiply each outcome by its probability and add the results
End node (triangle) The final result of one path through the tree Holds the payoff: profit, cost or another value in one unit
Branch (line) An option leaving a decision node, or an outcome leaving a chance node Carries a cost (on option branches) or a probability (on outcome branches)

A common mix up: a chance node is not the end of the tree. It sits in the middle and splits into possible outcomes, and only the end nodes carry final results.

Decision tree analysis vs decision trees in machine learning

Search for “decision tree” and half the results are about machine learning. Classification and regression trees (CART and similar algorithms) are built automatically from data: the algorithm splits records on the attribute that best separates them, measured by Gini impurity or information gain, which is where terms such as entropy come from. Those trees predict a label or a number. The trees in this article are drawn by people to compare options under uncertainty, and they have no training data. The shapes look alike, but the questions they answer are different.

How to build a decision tree in six steps

You can draw a decision tree on a whiteboard, in a spreadsheet or in any diagram tool. The order of the work matters more than the tool:

  1. Write the decision as one question.

    “Do we build the migration scripts ourselves or license a tool?” is a decision. “How do we handle the migration?” is a topic. Put the question in a square on the left side of the page.

  2. Draw every realistic option as a branch.

    Include the options nobody has proposed yet, such as waiting, splitting the work or paying for a test first. The calculation can only rank the options you draw, so an option left off the page never gets a chance to win.

  3. Add the uncertain events after each option.

    For each option, ask what could happen that you do not control: the estimate holds or runs over, the client accepts or rejects, the tool fits or does not. Draw a circle and one branch per outcome. If a later choice depends on what you learn, draw another square.

  4. Put a probability on every outcome branch.

    The probabilities leaving each circle must add up to exactly 100%. Take them from your own records where you can, and write down where each number came from.

  5. Put a payoff on every end node and a cost on every option.

    Use one unit across the whole tree, such as profit in dollars. Decide whether costs sit on the branches or inside the payoffs, and do it the same way everywhere.

  6. Roll back from right to left.

    At each circle, calculate the expected value. At each square, keep the best branch. When you reach the first square, you have the EMV of each option and the recommended path.

The expected monetary value formula

Expected monetary value is the probability weighted average of the money outcomes of an option. The formula is:

EMV = (P1 × V1) + (P2 × V2) + … + (Pn × Vn)
P = probability of each outcome; P1 + P2 + … + Pn = 1
V = value of each outcome, after costs: profit as a positive number, loss as a negative one

If your payoffs are revenue rather than profit, subtract the cost of the option after weighting: EMV = (P1 × revenue1) + (P2 × revenue2) − cost. Both ways give the same answer as long as the cost is counted once and only once on every path. In risk management, the same formula is applied to threats: a risk with a 20% chance of costing $30,000 has an EMV of −$6,000, which is one way teams size a contingency reserve.

EMV is not the amount you will earn. On any single project you get one of the outcomes, not the average. EMV tells you which option is worth more if you made the same kind of decision many times, which is exactly the situation of a team that bids, estimates and delivers similar projects every year.

Decision tree analysis example: a fixed fee data migration

A software services team has won a data migration project for a fixed fee of $90,000. The client’s old system holds 12 years of records in an unusual format. The team has three ways to deliver it, and the figures below are illustrative inputs of the kind you would take from your own project records.

Input Value Where it comes from
Fixed fee $90,000 Signed contract
Blended cost of an hour of team time $75 Staff cost rates divided by hours worked on past projects
Option A: custom scripts, estimate 600 hours Task estimates for comparable migrations
Option A: chance of a 50% overrun (900 hours) 30% 3 of the last 10 comparable migrations ran about 50% over their estimate
Option B: tool license plus configuration $12,000 plus 300 hours Vendor quote and configuration hours on earlier tool based jobs
Option B: chance the tool handles the old format 60% The tool handled 3 of the last 5 legacy formats without custom work
Option B: extra work if it does not 400 hours of custom scripts Hours spent on the two jobs where the tool fell short
Option C: pilot on a sample of client data first 40 hours Estimate for a one week test of the tool

The tree has one decision at the start (A, B or C), a chance node after each option, and a second decision inside option C: after the pilot, the team picks A or B knowing whether the tool fits.

  • Decide: A, B or C
  • Chance: overrun or tool fit
  • For C only: decide again
  • Profit at each end node

Option A: build custom scripts

On estimate (70%): $90,000 − 600 × $75 = $45,000 profit
Overrun (30%): $90,000 − 900 × $75 = $22,500 profit
EMV of A: 0.7 × $45,000 + 0.3 × $22,500 = $31,500 + $6,750 = $38,250

Option B: license a migration tool

Tool fits (60%): $90,000 − $12,000 − 300 × $75 = $55,500 profit
Tool falls short (40%): $55,500 − 400 × $75 = $25,500 profit
EMV of B: 0.6 × $55,500 + 0.4 × $25,500 = $33,300 + $10,200 = $43,500

Option C: pay for a pilot, then decide

The pilot costs 40 × $75 = $3,000. If the tool handles the sample, the team licenses it. If it does not, the team compares the two remaining paths: going ahead with the tool anyway is worth $25,500, while switching to custom scripts is worth the EMV of option A, $38,250. So the second decision node keeps custom scripts.

Pilot shows a fit (60%): $55,500 − $3,000 = $52,500
Pilot shows no fit (40%), switch to A: $38,250 − $3,000 = $35,250
EMV of C: 0.6 × $52,500 + 0.4 × $35,250 = $31,500 + $14,100 = $45,600

Option EMV (profit) Worst outcome and its chance
A: custom scripts $38,250 $22,500 (30%)
B: license a tool $43,500 $25,500 (40%)
C: pilot first, then decide $45,600 $19,500 (12%: pilot fails, then custom scripts overrun)

The pilot wins by $2,100 over the tool and by $7,350 over custom scripts. It wins because it changes the order of events: the team learns whether the tool fits before it spends $12,000 on the license and 300 hours on configuration. The table also shows its price. The pilot’s $3,000 sits on every path, so option C has the lowest worst case of the three ($22,500 − $3,000 = $19,500), although the chance of landing there is only 0.4 × 0.3 = 12%.

Sensitivity check: how much to trust the answer

Cohen’s PMI article argues that much of the value of decision analysis lies in forcing managers to see how sensitive a decision is to its assumptions. Three quick checks on this tree:

  1. Find the break even probability for the tool.

    Option B is worth $25,500 + $30,000 × p, where p is the chance the tool fits. It beats custom scripts when $25,500 + $30,000p is above $38,250, which happens when p is above 42.5%. If your records say the tool fits only 2 times in 5, custom scripts become the better of the two direct options.

  2. Work out the value of perfect information.

    If you knew in advance whether the tool fits, the tree would be worth 0.6 × $55,500 + 0.4 × $38,250 = $48,600. Without that knowledge, the best direct option (B) is worth $43,500. The difference, $5,100, is the most any test of the tool can be worth. A $3,000 pilot passes that bar and a $6,000 one would fail it.

  3. Try a worse fit rate.

    If the chance of a fit drops to 40%, option B falls to $37,500, below custom scripts at $38,250. The pilot is still worth 0.4 × $52,500 + 0.6 × $35,250 = $42,150, so it stays the best choice in both scenarios. A choice that wins under several sets of assumptions deserves more confidence than one that wins under a single set.

The calculation also assumes the pilot gives a reliable answer. A test on a small sample can miss problems that appear in the full data set, and an imperfect test is worth less than the $5,100 ceiling. If you have doubts, add a chance node after the pilot for “pilot says fit, tool still falls short” with its own probability.

To capture the risks behind each branch before you put numbers on them, you can use this quantitative risk assessment template:

Where the probabilities and payoffs should come from

A decision tree is only as good as its inputs. Cohen’s article says it plainly: decision analysis tools “produce results that are only as good as the data they use.” In project decisions, three inputs carry most of the weight, and all three can be measured rather than guessed:

  • How often estimates hold. The 30% overrun chance in the example is a count: of 10 comparable projects, 3 ran about 50% over. You can only make that count if past estimates and actual hours were recorded task by task.
  • What an hour costs. The $75 blended rate turns hours into money, so it should come from real staff cost rates, including overtime if your team works it, rather than a guess at an average salary.
  • How big an overrun is when it happens. “About 50% over” comes from the same records, and a tree with the right probability but the wrong size of overrun still gives the wrong answer.

All three come from the hours your team has already tracked. In actiTIME, the team tracks time against tasks that carry estimates, and the Estimated vs. Actual Time Report shows the variance for every customer, project and task. In the report below, Android calibration finished 48% under its estimate while Robotics research ran 17% over: exactly the kind of spread you need to put a probability on “the estimate holds.”

Estimated vs. Actual Time Report in actiTIME showing spent time, estimated time and variance by project, task and user

For the money side, actiTIME stores a cost of work rate for each user, with separate rates for regular hours, overtime and leave, and the Cost of Work Report adds up staff costs by customer, project and user. Divide a past project’s total cost by its hours and you have the blended rate for the payoffs in your tree. If you bill clients through actiTIME, the Profit/Loss Report sets billable amounts against these costs by customer, project or task, so the profit figures at the end nodes can come from the same source.

Cost of Work Report in actiTIME showing staff costs per customer, project and user for one month

Once you pick a branch, the same numbers keep the decision honest. Set a time or cost budget on the project and watch its progress bar, which turns red once the budget is exceeded. If the chosen option starts drifting toward its bad outcome, the budget shows it while there is still time to react. Task estimates, budgets and the Cost of Work Report are part of the paid version; the step by step setup is in our guide to managing project costs in actiTIME, and the estimating side is covered in time estimation in actiTIME.

Now we can better predict future project requirements

Our company needed a simple way of tracking time used on multiple projects – and actiTIME fit the need. Its interface is simple and easy to maintain. We use the application for time management, task estimation and also to communicate deadline information to our team members. Now having actiTIME we can better predict future project requirements!

Decision tree vs other decision tools

A decision tree is the right tool when outcomes are uncertain, can be valued in one unit and unfold in a sequence. When those conditions do not hold, another method will do the job with less effort:

Method Best for What it cannot tell you
Decision tree with EMV Two to four options with uncertain outcomes you can value in money, especially when a later choice depends on what you learn How a risk averse sponsor feels about the worst case; anything you cannot put a probability and a value on
Decision matrix (weighted scoring) Many options judged on several criteria that are not money, such as fit, quality or team preference Probability and order of events; the result depends heavily on the weights you pick
Pros and cons list A quick first pass on two or three options How much each point weighs and how likely it is
Cost benefit analysis One investment with fairly predictable costs and benefits What happens if the benefits do not arrive, unless you add scenarios
Payoff table (expected value table) One decision followed by one uncertain event A second decision taken after new information, which is where trees are strongest
Sensitivity (tornado) analysis Finding which input moves the result the most Which option to choose; it tests a model rather than replacing one
Monte Carlo simulation Many continuous uncertainties at once, such as task durations across a whole schedule A simple story for stakeholders; it needs software and input distributions

The tools combine well. Narrow ten options to three with a pros and cons list or a scoring matrix, compare the three with a decision tree, then run the sensitivity checks on the inputs the tree depends on most. When the decision belongs to a group rather than one manager, the group decision making techniques help you agree on the probabilities before anyone argues about the answer.

Where decision tree analysis goes wrong

The arithmetic of a decision tree is easy. The errors come from what goes into it and how the result is read:

  1. Probabilities that do not add up.

    A chance node with outcomes of 60% and 38% leaves 2% of the future unaccounted for, and the EMV comes out too low by that share. Check every circle before you calculate.

  2. Costs counted twice or skipped on one branch.

    If the license cost is already inside the payoffs and you subtract it again at the branch, option B loses $12,000 for no reason. If you subtract it only from the success path, the failure path looks $12,000 better than it is. Pick one convention and apply it to every path.

  3. Probabilities taken from memory.

    People remember the projects that went smoothly and the one disaster, not the ordinary 20% overrun. Ask what share of comparable projects in your records actually landed within estimate, and use that number instead of the room’s mood.

  4. The missing option.

    In the example, a tree with only A and B recommends B. The better answer, a pilot before committing, appears only when someone adds it as a branch. Before calculating, ask what would let you learn more before the expensive step.

  5. Treating EMV as the forecast.

    No branch in the example pays $45,600. On this one project the team will earn one of the end node values. Report the EMV together with the worst outcome on the chosen path, because a sponsor who cannot absorb that outcome may rationally prefer a lower EMV with a better floor. In the example, a sponsor who cannot live with a $19,500 result might pick option B, whose worst case is $25,500. Cohen’s article notes that plain expected value assumes the decision maker is risk neutral.

  6. A tree too big to check.

    Each extra level multiplies the end nodes. A tree with four options, three outcomes each and a second decision quickly passes 30 end points that nobody reviews. Prune branches that cannot change the decision and keep the tree to two or three levels.

  7. A tree that is never updated.

    The probabilities describe what you knew on the day you drew the tree. When the pilot reports back or the first month of actual hours comes in, roll the tree back again with the new numbers. Long decisions that span a year or more also need the payoffs discounted to today’s money before you compare them.

When to use a decision tree in project management

Decision tree analysis in project management pays off for decisions that are expensive to reverse, depend on one or two big uncertainties, and can be valued in money or hours. Typical examples:

  • Build or buy, as in the data migration example above.
  • Whether to bid, weighing the cost of preparing a proposal against the chance of winning and the margin if you do.
  • Whether to build a prototype before bidding or delivering, the scenario Cohen used, where a prototype raises the chance of winning the contract.
  • Which risk response to pick, comparing the cost of mitigation now with the EMV of the risk if you accept it.
  • Whether to price a project as a fixed fee or by the hour, since the margin on a fixed fee depends on the chance of an overrun that your past projects can estimate.

For small reversible calls, a tree is more ceremony than the decision deserves. A useful rule of thumb: if you would not spend an hour on a spreadsheet for the decision, do not draw a tree for it either. For broader choices about how your organization makes decisions with data, see our guide to business decision making, and for the estimating inputs themselves, the overview of project cost estimation techniques.

FAQ

What is the difference between expected value and expected monetary value?

They use the same arithmetic. Expected value is the general term for a probability weighted average of any outcome, such as days, points or units sold. Expected monetary value is the same average when the outcomes are expressed in money, which is the usual form in project and risk decisions because money lets you compare options with different costs and payoffs.

Can you do decision tree analysis in Excel?

Yes. List every end node in its own row with its payoff and its path probability, which is the product of the probabilities along the path. For each option, SUMPRODUCT of the probabilities and payoffs gives its EMV. A spreadsheet also makes sensitivity checks fast: change one probability cell and every EMV updates.

How many branches should a decision tree have?

As few as the decision allows. Two to four options with two or three outcomes each is enough for most project decisions, and a second decision level is worth adding only when you will genuinely learn something before choosing. If the tree passes about 20 end nodes, narrow the options first with a scoring matrix and then analyze the finalists.

Making the decision tree work for your projects

Decision tree analysis turns an argument about options into a calculation everyone can check. Often its best use is the one in the example: drawing the tree makes someone ask whether there is a cheaper way to learn before committing. The weak point is always the inputs, so base the probabilities and costs on how your past projects actually went.

actiTIME records that history as your team works: hours against tasks with estimates, cost of work per person, and billing and profit per project, so the next tree starts from your own numbers. Start a free trial of actiTIME with full features for 30 days. After the trial, teams of up to 3 users can keep using it for free, and paid options start from $5 per user per month.

Are you ready to drive your business growth with actiTIME?

Start Using actiTIME