In Excel: with an even annual cash flow, payback is the investment divided by the annual inflow; with uneven flows, count the years until the cumulative cash flow turns positive and interpolate the part-year.
On this page7
List the cash flows by period, with the initial outlay as a negative figure in period 0.
Add a cumulative column: =C2 in the first row, then =D2+C3 filled down.
For an even inflow, divide the outlay by the annual amount and stop there.
For uneven flows, find the last negative cumulative figure, then add the absolute value of that figure divided by the next period's inflow.
For discounted payback, first discount each flow with =C3/(1+$B$1)^A3 and build the cumulative column from the discounted values.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
Payback is the time taken for an investment to return its own cost in cash. The even-flow case is one division. The uneven case needs a cumulative column: read off the last year that is still negative, then add the fraction of the following year needed to close the remaining gap. Neither version discounts the flows, which is the method's main limitation and the reason a discounted variant exists. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “calculate payback in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
An outlay of 48,000 returns 15,000 a year: =ABS(B2)/C2 gives 3.2 years. With uneven flows of 12,000, 14,000, 13,000 and 14,000, the cumulative column stands at -9,000 after three years, so payback is 3 + 9,000/14,000 = 3.64 years. Payback is the number a committee asks for first because it is the one everyone understands, and its blind spots are only safe if you can name them. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. Treat “calculate payback in excel” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.
Common mistakes
- Using accounting profit rather than cash flow, which ignores that depreciation is not a payment.
- Ranking projects on payback alone, which is blind to everything that happens after the break-even point.
- Mixing signs so the cumulative column never crosses zero.
- Reporting undiscounted payback for a long project, where money returned in year six is treated as worth the same as money spent today.
Frequently asked questions
Is there a PAYBACK function in Excel?
No. It is a cumulative-cash-flow calculation, though NPV and IRR exist for the discounted view of the same project.
How do I calculate discounted payback?
Discount each period's flow by (1+rate)^period, then apply the same cumulative-crossing method to the discounted figures.
Payback or NPV?
Payback measures liquidity risk — how long the money is exposed. NPV measures value created. Sound appraisals report both.
Can I compute it monthly?
Yes. Use monthly flows and a monthly rate, and read the answer in months.