53 / Commercial analytics
Discounted cash flow, NPV and payback
Discounted cash-flow analysis translates future cash flows to a common present-time basis. Net present value and payback are quantitative financial decision measures, not statistical tests or guarantees about the project’s future performance.
The business question
Does a proposed business project cover its cost after allowing for cash timing and the stated required return?
- Compare an equipment or process proposal with its upfront and continuing incremental cash requirements.
- Make the effects of cash timing, discount rate and forecast assumptions visible before committing to a project.
How the method works
Cash arriving in different periods cannot be compared on a one-for-one present-value basis when money has a time value. Discount each future net cash flow using a rate consistent with its time period and risk convention. Sum those present values and subtract current outlays. Include incremental working capital, maintenance, disposal and tax effects where material to the actual decision.
A positive NPV means that the assumed cash-flow stream exceeds its modelled present cost at the stated discount rate. It does not show that the forecasts are correct, that funding is available or that the project is the best feasible use of limited capital. Forecast error, omitted operational risks and alternative opportunities can change the decision.
Simple payback asks how long undiscounted cash inflows take to recover the initial outlay. It is a liquidity-oriented supplementary measure and ignores later cash flows and the time value of money. Fractional-year payback assumes a distribution of cash within a period; the example states that approximation separately from its year-end NPV calculation. Use sensitivity and coherent scenarios instead of treating a single precise NPV as certain.
The calculation
| Symbol | Meaning |
|---|---|
| cash_flow_t | Incremental net cash flow at the stated period end, not accounting profit. |
| r | Discount rate per matching period, consistent with the cash-flow basis. |
| T | Explicit project horizon, including relevant terminal and working-capital cash flows if present. |
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative equipment proposal with a current outlay and three future annual net cash inflows.
Inputs
- Initial outlay R100,000 at time 0.
- Year-end incremental net cash inflows: R40,000, R45,000 and R50,000.
- Annual discount rate 10%; no additional terminal, tax or working-capital flows are included in this simplified example.
Work through the numbers
- Year-1 present value = R40,000/1.1 = R36,363.636364.
- Year-2 present value = R45,000/1.1² = R37,190.082645.
- Year-3 present value = R50,000/1.1³ = R37,565.740045.
- NPV = R36,363.636364 + R37,190.082645 + R37,565.740045 − R100,000 = R11,119.459053.
- Undiscounted recovery after year 2 leaves R15,000; assuming uniform inflow within year 3 gives simple payback 2 + 15,000/50,000 = 2.3 years.
The positive modelled NPV supports consideration under these assumptions. It is not evidence that the equipment will achieve those cash flows or that the project automatically meets all business constraints.
Explore the decision
Discount a cash-flow scenario. The live explorer has its own example inputs; it is separate from the worked calculation above.
Enable JavaScript to use this calculator. The worked example and executable Python remain available.
Apply it at work
- Define the business alternative, horizon and all incremental cash-flow effects, including implementation and working capital.
- Choose a defensible discount convention and match nominal or real flows, rates and time units.
- Calculate NPV and supplementary liquidity measures, then test material cash-flow and rate assumptions.
- Compare feasible alternatives and implementation risks, and track actual cash outcomes against the approved case.
Check these assumptions
- The example uses current initial expenditure and end-of-year future inflows.
- The discount rate and cash flows use the same annual time unit and nominal/real convention.
- Only relevant incremental cash flows belong in the project comparison; sunk costs are treated appropriately.
- Forecast distributions, capital constraints and omitted tax or working-capital effects need separate treatment in an actual decision.
Common mistakes and how to avoid them
- Accounting profit, including non-cash charges, is not automatically the project’s incremental cash flow.
- Simple payback can favour a fast-recovery project while ignoring larger later value or downside.
- A positive NPV based on optimistic inputs does not validate those inputs or ensure available funding.
How this can help the business
- A common present-value convention makes competing proposals more comparable across different cash-flow timing.
- Explicit sensitivity can reveal whether the proposal depends on an uncertain sales forecast, useful life or cost saving before funds are committed.
Consider a feasible project when its risk-consistent incremental NPV and relevant operating and liquidity constraints are acceptable across credible assumptions; compare alternatives before committing.
When to use another approach
Use scenario or Monte Carlo analysis for uncertain cash flows, capital-budget optimisation for scarce funds, and staged investment analysis when delaying or learning has material value.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
initial_outlay = 100000
cash_flows = [40000,45000,50000]
discount_rate = 0.10
present_values = []
for year, cash in enumerate(cash_flows,start=1):
present_values.append(cash/(1+discount_rate)**year)
npv = sum(present_values)-initial_outlay
print("Future cash-flow present values:",[round(v,2) for v in present_values])
print("NPV at 10%: R",round(npv,2))
payback = 2+(initial_outlay-cash_flows[0]-cash_flows[1])/cash_flows[2]
print("Approximate simple payback:",round(payback,2),"years")
print("Payback fraction assumes uniform year-3 inflow; NPV uses year-end cash flows.")Recorded output
Future cash-flow present values: [36363.64, 37190.08, 37565.74] NPV at 10%: R 11119.46 Approximate simple payback: 2.3 years Payback fraction assumes uniform year-3 inflow; NPV uses year-end cash flows.
Sources and further reading
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.