How to Calculate Payback Period in Excel

If you just need to calculate payback period in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

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
▤Annotated stepsExcel
1

List the cash flows by period, with the initial outlay as a negative figure in period 0.

2

Add a cumulative column: =C2 in the first row, then =D2+C3 filled down.

3

For an even inflow, divide the outlay by the annual amount and stop there.

4

For uneven flows, find the last negative cumulative figure, then add the absolute value of that figure divided by the next period's inflow.

5

For discounted payback, first discount each flow with =C3/(1+$B$1)^A3 and build the cumulative column from the discounted values.

=ABS(B2)/C2
Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

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. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. 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. For “calculate payback period in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

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.