When does an investment pay for itself? Track the cumulative cash flow and find the first period it turns positive — the payback period, read straight off a running total.
The example
$1,000 outlay returning $400/yr.
| A | B | C | |
|---|---|---|---|
| 1 | Year | Cash flow | Cumulative |
| 2 | 0 | −$1,000 | −$1,000 |
| 3 | 1 | $400 | −$600 |
| 4 | 2 | $400 | −$200 |
| 5 | 3 | $400 | $200 |
The formula
Build the cumulative column, then read the payback:
How it works
Payback is where the running total crosses zero:
- Start the cumulative with the initial outlay (a negative number) in period 0.
- Each later row:
=previousCumulative + thisCashFlow. - The payback period is the first period where the cumulative is ≥ 0.
- For a fractional answer, interpolate within the crossing year:
full years + unrecovered / cashFlowThatYear.
Discounted payback uses present-valued cash flows instead of raw ones — build the cumulative on cashFlow/(1+rate)^period to account for the time value of money. Plain payback ignores it.
Try it: interactive demo
Cash flows (period 0 first, outlay negative).
Variations
Fractional payback
Interpolate the crossing year:
Period it turns positive
With MATCH:
Discounted payback
PV the flows first:
Pitfalls & errors
Ignores time value. Plain payback treats year-5 dollars like today’s. Use discounted payback or NPV for investment decisions.
Ignores cash after payback. A fast payback can still be a worse investment than a slower one with bigger later returns — check NPV/IRR too.
Period 0 sign. The initial outlay must be negative, or the cumulative never starts below zero.
Practice workbook
Frequently asked questions
How do I calculate payback period in Excel?
How do I get a fractional payback period?
What is discounted payback?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class