Sub topic 7
Putting build and buy on the same footing with NPV
This chapter assumes you know the earlier chapters' cost components: what building costs, how delay costs money, and how an acquisition price is made up. It also assumes basic cash flow vocabulary and that you can read a short Python function. Here you combine those pieces into one comparable number per option.
Why you need a common yardstick
Build and buy cost money at different times. Building spreads spending over several years and delivers benefits late. Buying concentrates spending at the start and usually delivers benefits sooner. Adding up the undiscounted totals hides this difference, because a dollar spent today is not equivalent to a dollar earned in year five.
Net present value (NPV) converts each year's cash flow into today's dollars and sums them. It is the standard way to compare options whose money moves on different schedules.
The mechanics
The present value of a cash flow CF received in year t, at discount rate r, is:
PV = CF / (1 + r)^tNPV is the sum of these present values across all years. Year 0 is today and is not discounted. A positive NPV means the option creates value after paying for the time value of money and the risk captured in the rate. A negative NPV means it destroys value, relative to simply earning the discount rate elsewhere.
The discount rate is the return you could get from another use of the money with similar risk. Companies often start from their weighted average cost of capital (WACC), then add a premium for projects riskier than the company's average. Treat the rate as an assumption you will stress-test, not a fact.
What goes into each cash flow line
A build-versus-buy NPV is only as good as the lines you feed it.
Build, per year:
- Engineering and product salaries, tooling, infrastructure, and the management time the project consumes.
- Opportunity cost of the people who could be working on something else.
- Benefits starting only when the capability ships and customers adopt it. This is where time to market enters the model, because every year of delay pushes benefits to a later column where they are discounted more heavily.
Buy, per year:
- The purchase price, including the premium over the target's standalone value.
- Transaction fees, retention bonuses for key staff, and integration costs.
- Benefits from the acquired capability, starting earlier because the product already exists. These need adjusting for the revenue lost to customers who leave during the transition.
Write both options as lists indexed by year, using the same horizon and the same benefit definition. If the build option delivers a feature that is 80% as good as the acquired product, reflect that in the benefit numbers. Do not leave it to a footnote.
A worked comparison
The first example uses the numbers from the topic plan. All figures are in $M per year, negative for spend and positive for benefit.
def npv(cash_flows, rate):
"""Net present value; the list index is the year, year 0 is undiscounted."""
return sum(cf / (1 + rate) ** year for year, cf in enumerate(cash_flows))
rate = 0.10 # discount rate
# Net cash flows in $M per year (negative = spend, positive = benefit)
build = [-2, -2, -1, 0, 3, 3, 3] # three years of development, benefits start in year 4
buy = [-10, -1, 3, 3, 3, 3, 3] # purchase price up front, integration cost in year 1
print(f"Build NPV: {npv(build, rate):.2f}")
print(f"Buy NPV: {npv(buy, rate):.2f}")Running this prints a build NPV of about 0.96 and a buy NPV of about -0.57.
Buying delivers $3M a year three years sooner. Still, in this scenario building wins, because the $10M up-front payment is large compared with the benefits it brings forward. Total undiscounted cash flow tells the same story here, but with the numbers changed it can point the wrong way. For example, if the benefits were larger, the early arrival would favor buying even more strongly after discounting than before.
Reading the result correctly
An NPV gap of $1.5M on cash flows of this size is small compared with the uncertainty behind the inputs. Use the comparison to see which assumptions drive the answer, not to declare a winner to two decimals. Three habits help:
- Sweep the discount rate. A higher rate penalizes later benefits, so it shifts the ranking toward the option that pays back sooner. Check whether the decision flips at rates your finance team considers plausible.
- Vary the benefit timing. Slip the build's first benefit by one year and recompute. The sensitivity to schedule overruns is often larger than the sensitivity to the rate.
- Compare both against a do-nothing baseline. An option with positive NPV is only worth doing if it beats not acting. An option that ranks first but has negative NPV is the least bad choice, not a good one.
A short sweep makes the first habit concrete:
def npv(cash_flows, rate):
return sum(cf / (1 + rate) ** year for year, cf in enumerate(cash_flows))
build = [-2, -2, -1, 0, 3, 3, 3]
buy = [-10, -1, 3, 3, 3, 3, 3]
print("rate build buy winner")
for rate in (0.06, 0.08, 0.10, 0.12, 0.15):
b, y = npv(build, rate), npv(buy, rate)
winner = "build" if b > y else "buy"
print(f"{rate:.2f} {b:6.2f} {y:6.2f} {winner}")Run it and look for the rate at which the winner changes, if one exists in this range. If none does, the decision is robust to the rate. The next sensitivity to test is the benefits.
Where NPV misleads
- Truncated horizons. Both lists above stop at year 6, but the benefits probably continue. Cutting off the model without a terminal value (an estimate of value beyond the last year) understates both options. It hurts the option whose benefits start later, which is usually the build. Either extend the horizon or add a terminal value, and apply the same method to both options.
- Optimistic benefits for the option you prefer. Teams tend to forecast the benefits of an acquisition from the seller's pitch deck and the benefits of a build from conservative internal estimates. Use the same standard of evidence for both.
- Single-point estimates. A list of exact numbers looks more certain than it is. Use ranges for the largest or most uncertain items, and rerun the model at the low and high ends.
- Ignored strategic value. NPV captures cash. It does not capture strategic value such as denying a competitor the target or keeping an option open. If you believe such value matters, estimate it explicitly and state it as an assumption, rather than overriding the numbers silently.
- Ignored risk. Both options above are treated as certain. They are not. Acquisition benefits depend on a successful integration, and build benefits depend on delivery and adoption. Risk adjustment is the topic of the next chapter, but you can see its effect here by scaling benefits by a probability of success:
def npv(cash_flows, rate):
return sum(cf / (1 + rate) ** year for year, cf in enumerate(cash_flows))
def risk_adjusted_npv(costs, benefits, rate, p_success):
"""Costs are always paid; benefits arrive only with probability p_success."""
return npv(costs, rate) + p_success * npv(benefits, rate)
rate = 0.10
# Buy option, split into spend and benefits (both $M per year)
buy_costs = [-10, -1, 0, 0, 0, 0, 0]
buy_benefits = [0, 0, 3, 3, 3, 3, 3]
for p in (1.0, 0.7, 0.5):
value = risk_adjusted_npv(buy_costs, buy_benefits, rate, p)
print(f"P(integration succeeds) = {p:.1f} -> NPV {value:.2f}")The output is about -0.57, -3.67, and -5.74. The costs are paid whether or not the integration works, so a lower probability of success erodes value quickly. The model splits costs from benefits for this reason. Multiplying the whole net cash flow by a probability would wrongly assume the purchase price is refunded when the deal fails.
A checklist before you trust the number
- Both options use the same horizon, the same discount rate, and the same benefit definition.
- Cash flows are incremental and after tax, and sunk costs are excluded.
- The build side includes opportunity cost and a realistic schedule, not the optimistic one.
- The buy side includes the premium, fees, retention, and integration costs.
- You tested the rate, the benefit timing, and the benefit size, and you know which one flips the answer.
Exercise
Using a 10% discount rate, the buy option has costs [-10, -1, 0, 0, 0, 0, 0] and benefits [0, 0, 3, 3, 3, 3, 3] ($M by year). Its benefits have a present value of about 10.34 and its costs a present value of about -10.91. What is the risk-adjusted NPV if the integration succeeds with probability 0.7, and why is it lower than the 100% case?
Show answer
The risk-adjusted NPV is -10.91 + 0.7 × 10.34, which is about -3.67. It is lower than the certain case (about -0.57) because the purchase price and integration cost are paid in full whatever happens, while only 70% of the benefit value is expected to arrive.
Exercise
A colleague proposes extending the build model to year 10 but leaving the buy model at year 6, arguing the build "keeps producing benefits." What is wrong with this comparison?
Show answer
The two options now cover different horizons, so the build's NPV includes four extra years of benefits that the buy option is not credited with. If benefits continue past year 6, the buy option also earns them. Use the same horizon for both, or add a terminal value to each, so that the difference reflects the options and not the length of the model.