The payback period answers the first question asked about almost any investment: how long until I get my money back? This free calculator takes an initial cost and the cash the project brings in each year — the same amount every year, or a different amount year by year — and finds the moment the cumulative cash repays the cost, down to a fraction of a year. An optional discounted mode repeats the measurement after shrinking each year’s cash by a discount rate, so you can see the payback both ways. Everything runs in your browser, with no sign-up and no data feed.

The payback period assumes each year’s cash arrives evenly through that year, which is what makes the part-year fraction meaningful. It ignores cash received after the payback point. This calculator is an educational estimate, not financial advice.
What this payback period calculator does
Payback looks simple — one division — but real projects rarely cooperate: cash arrives unevenly, some years are negative, and a dollar in year five is not worth a dollar today. This calculator handles those realities:
- Even cash flow mode for the classic case: one initial cost and one constant yearly inflow. The payback is the cost divided by the yearly inflow, shown in years and months.
- Uneven cash flow mode for real projects: add a row per year, enter each year's net inflow (a year may be negative), and the calculator builds the cumulative column and finds the crossing point with part-year interpolation.
- Optional discounted payback. Tick the box, enter a discount rate, and every year's cash is first discounted before the same cumulative test is applied; the table gains two columns so you can watch both recoveries side by side.
- A year-by-year table in every mode: cash flow, cumulative cash flow, and — when discounting is on — the discounted figures.
- Honest failure states. If the cash flows never repay the cost, the calculator says so plainly instead of printing a meaningless number — including the case where the simple payback is reached but the discounted one never is.
How to use the payback period calculator
- Pick a mode: Same amount every year if the inflow is constant, or Different amount each year if it varies.
- Enter the initial cost — everything the project costs up front, treated as paid at the start.
- Enter the cash inflow: one yearly figure in even mode, or one row per year in uneven mode. Use net cash: money actually received after running costs, excluding non-cash items such as depreciation.
- Optionally tick discounted payback and enter a discount rate, usually your cost of capital or the return you require.
- Press Calculate Payback and read the headline in years, the years-and-months version, and the row where the cumulative column turns positive.
The payback period formula
For even cash flows, the formula is a single division:
Payback period = Initial cost ÷ Annual cash inflow
For uneven cash flows there is no single division. Add each year's inflow to a running total that starts at minus the cost. Find the last year where the running total is still negative, then add the fraction of the following year needed to close the gap:
Payback = Last year with a negative cumulative total + (Amount still unrecovered ÷ Cash inflow in the recovery year)
The fraction assumes cash arrives evenly through the recovery year — the standard textbook assumption, and the one this calculator states openly.
For the discounted payback period, each year's inflow is first converted to present value, PV = CF ÷ (1 + r)^year, where r is the discount rate, and the same cumulative method runs on those smaller figures. Because discounting shrinks distant cash, the discounted payback is always the same as or longer than the simple payback — and sometimes it never arrives at all.
Worked example 1: even cash flows
A machine costs $10,000 and brings in $2,500 of net cash every year. Payback = $10,000 ÷ $2,500 = 4.00 years — exactly four years, or 48 months. The cumulative column climbs evenly: −$7,500 after year 1, −$5,000 after year 2, −$2,500 after year 3, and $0 after year 4. This is the calculator's default example: constant inflows, no discounting, an exact landing on a year boundary.
Worked example 2: uneven cash flows
Now the same $10,000 cost, but the inflows ramp up as a project finds its feet: $2,000 in year 1, $3,000 in year 2, $4,000 in year 3 and $5,000 in year 4. The cumulative column runs −$8,000, −$5,000, −$1,000, then +$4,000. Recovery happens during year 4, with $1,000 still unrecovered at its start: payback = 3 + $1,000 ÷ $5,000 = 3.20 years, about 3 years and 2 months. Total inflows over the four years are $14,000, so the project ends $4,000 ahead of its cost — a figure payback does not use, though the results panel shows it for context.
Worked example 3: discounted payback
Take the uneven example and discount at 10%. Each inflow shrinks to its present value: $2,000 becomes $1,818.18, $3,000 becomes $2,479.34, $4,000 becomes $3,005.26 and $5,000 becomes $3,415.07. The discounted cumulative column runs −$8,181.82, −$5,702.48, −$2,697.22, then +$717.85. Recovery now needs $2,697.22 of year 4's discounted $3,415.07: discounted payback = 3 + 2,697.22 ÷ 3,415.07 = 3.79 years — about seven months later than the simple figure of 3.20 years.
The effect grows with the horizon. A $50,000 project returning $12,000 a year has a simple payback of 4.17 years, but at an 8% discount rate the discounted payback stretches to 5.28 years — and if the yearly inflow were $900 against a $10,000 cost at 10%, the discounted inflows would never catch up at all, because even an endless stream of $900 payments is worth only $9,000 in today's money. The calculator reports that outcome honestly.
What is a good payback period?
There is no universal threshold, because payback measures exposure, not profitability. Shorter is safer: the sooner the cost is recovered, the less of the plan depends on distant forecasts. Businesses often set cut-offs by category: technology purchases might need to pay back within two or three years, while property projects are routinely accepted at ten or more. Use payback as a first filter — how long is my money at risk? — then judge the survivors on total return, counting all the cash rather than only the cash up to the crossing point.
Payback period vs ROI and ROIC
These measures answer different questions, and this site keeps them on separate pages deliberately. Payback asks how long until the cost is recovered, and ignores everything after that moment. The ROI Calculator asks how much: total gain as a percentage of cost, over the whole life of the investment, with no interest in when the gain arrived. The ROIC Calculator asks how efficiently a company's invested capital produces profit — a business-performance ratio, not a project-recovery clock. A project can have a fast payback and a mediocre ROI, or a slow payback and an excellent one; serious appraisals look at both, which is why the tools link to each other instead of merging.
Limitations you should know
Payback's simplicity is also its weakness. The simple version ignores the time value of money (the discounted mode exists precisely to answer that criticism). Both versions ignore every dollar received after the payback point, so payback alone can favour short, small projects over longer, more profitable ones. The part-year fraction assumes cash arrives evenly through the recovery year; a project whose cash lands in one seasonal lump will actually recover later than the fraction suggests. All results rest on forecast inflows, whose realism the calculator cannot judge. Treat payback as one lens among several, not a verdict. This is an educational tool, not financial advice.
Frequently asked questions
What is the payback period?
The payback period is the time an investment takes for its cumulative cash inflows to repay its initial cost. It is measured from the start of the project to the break-even moment when the running total of cash received first reaches the amount spent. A shorter payback means the money is exposed to forecast risk for less time. For example, a $10,000 investment returning $2,500 a year has a payback period of exactly 4 years.
How do you calculate the payback period?
If the cash inflow is the same every year, divide the initial cost by the annual inflow: $10,000 divided by $2,500 is 4 years. If inflows vary, keep a running total starting at minus the cost, find the last year where the total is still negative, and add the fraction still unrecovered divided by the following year's inflow. Inflows of $2,000, $3,000, $4,000 and $5,000 against a $10,000 cost give 3 plus $1,000 divided by $5,000, which is 3.20 years.
What is the discounted payback period?
The discounted payback period repeats the payback calculation after converting each year's cash inflow to its present value at a chosen discount rate, using PV = CF divided by (1 + rate) raised to the year. Because future cash is worth less than present cash, the discounted payback is always at least as long as the simple payback, and if the discounted inflows never add up to the cost, there is no discounted payback at all. In the worked example on this page, discounting at 10% moves the payback from 3.20 years to 3.79 years.
What is a good payback period?
There is no single good figure, because payback measures how long your money is at risk rather than how profitable the project is. Many businesses require small equipment and technology purchases to pay back within two to three years, while property and infrastructure projects are often accepted at ten years or more. The right cut-off depends on how predictable the cash flows are and what else the money could do. Use payback as a screening test, then judge the projects that pass it on total return.
What is the difference between the payback period and ROI?
Payback measures time: how long until cumulative cash inflows repay the initial cost, ignoring everything received afterwards. ROI measures size: the total gain from an investment as a percentage of its cost over its whole life, ignoring when the gain arrived. A project can pay back quickly yet earn a modest total return, or pay back slowly and be highly profitable overall. That is why this site keeps a separate ROI Calculator, and why appraisals normally look at both numbers together.
Does the payback period account for the time value of money?
The simple payback period does not: it treats a dollar received in year five as equal to a dollar received in year one. The discounted payback period does account for it, by discounting each inflow at a rate you choose before applying the same cumulative method. This calculator offers both — tick the discounted option and enter a rate to see the two answers side by side, with the discounted cash flows shown in their own columns of the table.
Can a project have no payback period?
Yes. If the cumulative cash inflows never reach the initial cost, the project never pays back on the figures given, and the calculator reports Not recovered instead of a number. This happens with uneven flows when the entered years are too few or too weak, and it can also happen on a discounted basis even when the simple payback exists: at a 10% discount rate, an endless $900 a year is worth only $9,000 in today's money, so it can never repay a $10,000 cost in present-value terms.
What are the limitations of the payback period?
Payback ignores all cash received after the break-even point, so it can underrate long-lived, profitable projects. The simple version also ignores the time value of money, and the fractional-year answer assumes cash arrives evenly through the recovery year, which seasonal businesses may find optimistic. Finally, the result is only as good as the forecast inflows behind it. Use payback as a quick risk screen alongside measures that count total profitability, such as ROI, rather than as the whole decision.
