About this tool
The payback period answers a simple question: how long until I get my money back? It is popular for screening projects, equipment purchases, solar panels or energy-saving upgrades because it is easy to explain and favours investments that return cash quickly, which also limits risk.
Simple payback ignores the time value of money and everything that happens after the investment is recovered. The discounted payback fixes the first problem, while the NPV and IRR shown alongside cover the whole life of the investment. For a full rate-of-return analysis, use the IRR calculator.
How it works
Enter the initial investment as a positive amount, then either an equal cash flow per year with the number of years, or a list of yearly cash flows that can differ (enter further outlays as negative numbers). The payback period is the time until the cumulative cash flow covers the investment.
The calculator adds up the cash flows year by year. In the year the running total turns positive, it assumes the cash arrives evenly and counts the fraction of that year needed to recover the rest: the full years plus the unrecovered amount divided by the next year's cash flow . The discounted payback does the same with each cash flow discounted at your rate, which accounts for the time value of money.
Example
A machine costs 50,000 and saves 12,000 a year for 8 years. The simple payback is years, about 4 years and 2 months: after 4 years, 48,000 has come back, and the last 2,000 takes a sixth of year five.
Discounted at 8%, the yearly savings are worth less the later they arrive: 11,111 in year one, 10,288 in year two and so on. The discounted cumulative total reaches 47,913 after five years, and year six adds 7,562, so the discounted payback is years. Over all 8 years, the NPV at 8% is about 18,960.
Assumptions and limits
The calculator assumes cash flows arrive evenly within each year, which is what the fractional part of the payback represents, and that years are the period. If your cash flows are monthly, enter them per month and read the result in months. The discount rate is the same in every year.
Payback does not measure profitability: two projects with the same payback can earn very different totals afterwards. Use it together with NPV or IRR, and remember that the cash flows are your estimates. This tool supports analysis and education; it is not investment advice.
Frequently asked questions
How do you calculate the payback period?
With equal yearly cash flows, divide the investment by the annual cash flow: years. With uneven cash flows, add them up year by year until the total covers the investment, then add the fraction of the last year needed: full years plus the remaining amount divided by that year's cash flow.
What is the difference between simple and discounted payback?
Simple payback adds the cash flows at face value. Discounted payback first discounts each cash flow to today at your discount rate, so later money counts for less. The discounted payback is always longer, and an investment can pay back on a simple basis but never on a discounted one.
What is a good payback period?
It depends on the industry and the risk. Many businesses look for three to five years on equipment, and longer for buildings or infrastructure. A useful test is whether the investment pays back well within its useful life, and whether the discounted payback still does.
Why is the payback period not enough on its own?
It ignores cash flows after the payback point and, in its simple form, the time value of money. A project that pays back in three years and then stops can look better than one that pays back in four years and earns for twenty. NPV and IRR capture the whole picture.
How is this different from the IRR calculator?
This page focuses on recovery time: equal or listed yearly cash flows, simple and discounted payback, and a cumulative cash flow chart. The IRR calculator focuses on the rate of return, with every IRR, MIRR, NPV and an NPV profile chart. Both use the same cash flow engine.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
currency | ISO 4217 code, for example USD or EUR | your saved or detected currency |
modeCash flows | one of: equal, list | default equal |
initial_investmentInitial investment | amount without a currency symbol; allowed > 0 – 1000000000000; used with mode = equal | required |
cash_flow_yearlyCash flow per year | amount without a currency symbol; allowed -1000000000000–1000000000000; used with mode = equal | required |
yearsNumber of years | whole number; allowed 1–60; used with mode = equal | required |
cash_flowsYearly cash flows | values in order from the first one, separated by commas; allowed -1000000000000–1000000000000; used with mode = list | required |
discount_rate_pctDiscount rate | percent: 6.5 means 6.5%; allowed > -100 – 1000 | default 8 |
Examples
?initial_investment=60000&cash_flow_yearly=14000&years=6?currency=EUR&cash_flows=-80000,15000,25000,30000,30000&discount_rate_pct=10
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="payback"]