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. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “calculate payback period in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. 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 turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.
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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
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. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “calculate payback period 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.
Other ways people ask this
This is also commonly searched as “how to calculate the payback period in excel”, “calculate payback period in excel”, “formula to calculate payback period in excel” and “calculate the payback period in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to calculate the payback period in excel”, “calculate payback period in excel”, “formula to calculate payback period in excel” all point at the one operation explained on this page, which is why they all lead here.