Lesson 4 · Finance
ROI, payback & NPV
A dollar next year is worth less than a dollar today. Investment cases start there.
A dollar today is worth more than a dollar next year, because today's dollar can be invested. Discounting converts future cash to present value: PV = cash ÷ (1 + r)^t, where r is the discount rate — the return the company expects from its alternatives.
Net present value (NPV) adds up all discounted cash flows, including the upfront investment. A positive NPV means the project beats the alternative uses of the money. ROI and payback period are simpler: ROI is net gain over cost, and payback is how long until cumulative cash turns positive. They are easy to communicate, but ROI ignores timing and payback ignores everything after the payback date.
Engineers make investment cases constantly: migrate, rewrite, build or buy. Estimating the cash flows — hours saved, incidents avoided, revenue unlocked — and discounting them turns “we should” into a decision finance can approve.
Picture it
A platform migration costs $300,000 now and saves $130,000 a year for three years. Undiscounted, that is $390,000 back: a 30% ROI. At a 10% discount rate the savings are worth about $323,000 today, so NPV is roughly +$23,000. Still worth doing, but far closer than the headline suggested — and if the savings start a year late, NPV turns negative.
Key formulas & frameworks
- Present value
- Cash flow ÷ (1 + r)^t
- NPV
- −Investment + Σ Cash flow_t ÷ (1 + r)^t
- ROI
- (Gain − Cost) ÷ Cost
- Payback period
- Investment ÷ Annual cash inflow
Try it — NPV & payback
Net present value
$23,291
Undiscounted ROI
30%
Payback
2.3 yr
PV of benefits
$323,291
Each bar is a cash flow in today's dollars. Push the start date out a year or raise the discount rate and watch a project that looked comfortable turn negative.
Practice
Score: 0 / 5
Up nextBudgets, headcount & capex vs opex
Next lesson