Company Marketcap

Payback Period Calculator: Fixed and Irregular Cash Flow

Enter the investment

$

The up-front cost, paid at the start.

%

Your required return or cost of capital, used for the discounted payback and NPV.

$

Net cash the investment brings in, received at the end of the year.

%

Use a negative number for a decline.

yrs

Your results

Payback period

–

Discounted payback period

–

Net present value

–

Net cash gain

–

Total cash received
–
Present value of cash received
–
Profitability index
–

Fractions of a year assume the cash comes in evenly during the year in which the investment pays back.

Cash flow by year

The running total turns positive in the year the investment pays for itself.

YearCash flowCumulativeDiscounted cash flowCumulative discounted

Results are estimates for educational purposes and are not financial, tax or legal advice.

The payback period calculator shows how long a project takes to repay its initial investment, so you can see the moment cash coming in finally covers the money that went out. Enter what you spent and what you expect back each year, and you get the payback period in years plus a discounted figure that respects the time value of money. Below you will find the maths behind both answers, a fully worked example, and a straight look at when the result can and cannot be trusted. The free profit margin calculator is free to use with no sign-up, and works on desktop and mobile.

What a Payback Period Calculator Tells You About Investment Recovery

A payback period is a measure of recovery time: the number of years between the day you commit money to a project and the day your cumulative cash flow turns positive. If a project costs you $63,500 and returns $14,200 each year, you are asking one question, namely how many of those yearly payments it takes to refill the pot. The answer is the break-even point of the investment, expressed in time rather than in dollars. If you want to see how the figures change, the free cash flow calculator gives you an instant result you can adjust as you go.

Finance teams reach for this metric first in capital budgeting because it needs no forecast beyond the recovery date. An investor comparing two machines, two rental properties or two software licences can rank them by how fast each returns the capital, and a shorter payback time usually means less exposure to things going wrong. It also says something about liquidity, since money that returns quickly can be redeployed into the next project.

Initial Investment and Annual Cash Flow

Two numbers drive every result. The initial investment is the total cash outflow at the start, including purchase price, installation, training and any set-up fees: your true initial cost. The annual cash flow is the net cash inflow each year, which means extra revenue minus the extra expenses the project creates. For a rental, that is rent collected less upkeep, insurance and taxes; for a bakery adding a second deck oven, it is the extra bread sold less flour, labour and energy.

Throughout this guide, the running example is a bakery that spends $63,500 on the oven line and expects $14,200 of net cash flow every year, with a useful life of eight years. Those figures were chosen for this walkthrough, and every result below follows from them.

Payback Period Formula for Fixed Cash Flow

When the same amount arrives every year, the payback period formula is a single division: Try the financial ratios calculator online to run your own numbers — everything is calculated in your browser and nothing you enter is stored or sent anywhere.

$$\text{Payback period} = \frac{\text{Initial investment}}{\text{Annual cash flow}}$$

For the bakery, \(\$63{,}500 \div \$14{,}200 = 4.47\) years. The decimal matters: 0.47 of a year is about 5.7 months, so the oven repays itself roughly four years and six months after purchase. This kind of payback period calculation is a rough but honest first screen, because it needs nothing more than a price and a yearly return.

Two formula cards showing the payback period formula and the discounted payback formula for a $63,500 investment returning $14,200 a year
The simple and discounted formulas applied to the bakery example: 4.47 years against 5.55 years.

Reading the Cumulative Cash Flow Table

A year-by-year view shows the same answer and exposes the shape of the recovery. The cumulative cash flow starts at the negative cash outflow and climbs by one annual cash inflow each year until it crosses zero.

YearCash flowCumulative cash flow
0 (initial investment)-$63,500-$63,500
1$14,200-$49,300
2$14,200-$35,100
3$14,200-$20,900
4$14,200-$6,700
5$14,200$7,500

The sign flips during year five. At the end of year four, the unrecovered amount is $6,700, and year five delivers $14,200, so the fractional year is \(6{,}700 \div 14{,}200 = 0.47\).

Line chart of cumulative cash flow over eight years crossing zero at 4.47 years, with the discounted payback marked at 5.55 years
Cumulative cash flow for the oven investment turns positive during year five.

The Years to Break-Even Formula

Real cash flow is rarely so tidy, so the more general version works for any pattern:

$$\text{Years to break-even} = \text{Full years before recovery} + \frac{\text{Unrecovered amount}}{\text{Cash flow in the recovery year}}$$

It is the same arithmetic as the table: count the whole years that stay negative, then add the share of the next year needed to close the gap. This version is what the calculator applies whenever you switch to an uneven schedule.

Discounted Payback Period and the Time Value of Money

The plain method treats a dollar in year five as equal to a dollar today, which flatters long projects. The discounted payback period corrects that by converting every future cash flow into present value before the running total is built. A discounted payback period calculator therefore needs one more input, the discount rate, and returns a longer, more cautious answer. For steady cash flow the closed form is:

$$\text{DPP} = \frac{-\ln\left(1 - \dfrac{I \times R}{C}\right)}{\ln(1 + R)}$$

Here \(I\) is the initial investment, \(R\) the discount rate and \(C\) the annual cash flow. At a 7% rate, the bakery gives \(I \times R \div C = 0.313\), and the formula returns 5.55 years, about 1.1 years longer than the simple payback period of 4.47 years.

YearCash flowPresent value at 7%Cumulative present value
0 (initial investment)-$63,500-$63,500-$63,500
1$14,200$13,271-$50,229
2$14,200$12,403-$37,826
3$14,200$11,591-$26,235
4$14,200$10,833-$15,402
5$14,200$10,124-$5,277
6$14,200$9,462$4,185

Interpolating inside the table gives 5 + 5,277 ÷ 9,462 = 5.56 years. The tiny gap from the closed form comes from the formula assuming cash arrives smoothly through the year rather than in one lump at each year end.

Choosing a Discount Rate

The discount rate is your opportunity cost: what the same money would earn in the next best use at similar risk. A listed company often uses its weighted average cost of capital (WACC), while a small business or an individual investor may use the required rate of return on an alternative such as a bond fund. A higher interest rate in the wider economy, or higher expected inflation, pushes the rate up and stretches the answer; at 4% the bakery recovers its money in 5.02 years, at 10% in 6.22 years.

Dumbbell chart comparing 4.47-year simple payback with discounted payback at 4%, 7%, 10% and 12% discount rates
Discounted payback grows from 5.02 to 6.79 years as the discount rate rises from 4% to 12%.

Net Present Value and Internal Rate of Return

Payback says when you break even, and net present value says how much value remains afterwards. Summing the present value of eight years of $14,200 at 7% gives $84,792, so the NPV is $84,792 − $63,500 = $21,292. The related internal rate of return (IRR) is the rate that would push that NPV to zero, which here is 15.1%, and a profitability index of 1.34 tells you each dollar invested returns $1.34 in present value. Reading NPV, IRR and payback together is far safer than any one alone.

Finding the Break-Even Point With Irregular Cash Flow

Most projects ramp up, dip for repairs or fade late. In that case you cannot divide, and the schedule has to be built year by year. Suppose the same $63,500 oven line earns less while staff are trained and more once demand settles. With irregular cash flow of $9,000, $12,500, $15,000, $16,800, $18,200 and $18,200, the cumulative net cash flow runs as follows.

YearCash flowCumulative net cash flow
1$9,000-$54,500
2$12,500-$42,000
3$15,000-$27,000
4$16,800-$10,200
5$18,200$8,000
6$18,200$26,200

Four full years pass with a balance below zero, and $10,200 is still unrecovered. Year five brings $18,200, so the payback period is 4 + 10,200 ÷ 18,200 = 4.56 years. Over all six years the project returns $89,700 on $63,500, a gain of $26,200, which is an average return of about 6.9% of the initial investment per year.

Fixed Cash Flow With an Annual Increase

Between the two extremes sits fixed cash flow that grows by a set percentage. If the bakery expected its $14,200 to rise by 3% a year, you would enter that annual increase and the schedule would compound it, shortening the recovery slightly without requiring you to type every year by hand.

Payback Time for a Rooftop Solar Install, Worked Through the Calculator

Dana Whitfield has a quote for rooftop panels at $24,870 and is deciding between a home equity loan and waiting a year. The federal 30% credit cuts the net cost to $17,409, which becomes the initial investment. Her utility bill says the array will save $2,184 in the first year, and she assumes electricity prices rise 3% annually, so she picks the fixed cash flow option and enters that annual increase.

The loan carries a 6.2% rate, which she uses as the discount rate because that is what the money costs her. After she clicks the Calculate button, the schedule shows savings of $2,250 in year two and $2,850 by year ten, and the plain payback period comes back at 7.25 years. The discounted payback period, which is the recovery time once each year's savings are valued in today's dollars, is 9.63 years.

Two reference points give those numbers meaning. The panels carry a 25-year performance warranty, so even the discounted figure uses well under half of their useful life. The home equity loan runs 10 years, so 9.63 years means savings repay the borrowing with only a few months to spare.

  • Cumulative present value at the end of year nine is -$981; at year ten it is +$580.
  • Her personal-loan quote at 9.5% would push the recovery to 11.93 years, past the 10-year term.

She reruns the calculation with only the rate changed to 9.5% to confirm the second number, sees 11.93 years, and signs the home equity loan paperwork instead.

Entering Your Investment Details to Get the Payback Period

The free payback period calculator on this page follows the same order as the examples above. Work through the fields in sequence:

  1. Choose the cash flow type: fixed for the same amount each year, irregular for a different figure every year.
  2. Type the initial investment, the full cash outflow on day one.
  3. Enter the annual cash flow, or each year's figure for the irregular option, plus an annual increase if the project grows.
  4. Add the number of years and the discount rate if you want the discounted payback period alongside the plain one.
  5. Click the Calculate button to see the payback period, discounted payback period and average return.
  6. Review the investment schedule, which lists cash flow, cumulative cash flow and present value year by year.

Try changing a single input and calculating again. Raising the discount rate shows how sensitive recovery time is to your cost of capital, and trimming the annual cash flow by ten percent shows how much cushion the project really has.

Heatmap of discounted payback period in years across five annual cash flow levels and three discount rates with the worked example outlined
Discounted payback by annual cash flow and discount rate, with the $14,200 at 7% example outlined.

What Is a Good Payback Period? A Rule of Thumb

There is no universal cutoff, but a rule of thumb holds almost everywhere: shorter is better, and the answer must sit well inside the asset's useful life. Where recovery takes most of that life, little profitability is left after the project has merely repaid itself. Benchmarks vary widely by field:

  • Business equipment and technology: judged against how fast the asset becomes obsolete, so a result under half the asset's lifespan, like the bakery's 4.47 years against eight, is a common screen.
  • Rental income projects, such as an apartment purchase: usually long, because capital is tied up in property that also appreciates.
  • Infrastructure and energy: often accept long recovery in return for steady revenue over decades.
  • Finance teams in listed firms: frequently set an internal hurdle, such as recovery inside half of the useful life.

Apply a hurdle like that to the bakery and the verdict changes with the method: the simple 4.47 years just clears half of an eight-year life, while the discounted 5.55 years does not. That is exactly why running both calculations is worth the thirty seconds.

Where Payback Time Falls Short, and What to Pair It With

The method is blunt. It ignores every cash inflow after the recovery date, so a project that pays $1 million in year seven looks identical to one that pays nothing. It also says nothing about risk, since a fast payback on an uncertain forecast is still uncertain, and it can favour quick small wins over valuable long-lived ones in business planning.

Pair the result with measures that look past the recovery point. The bakery's 4.47-year break-even says nothing about the $21,292 of NPV it earns afterwards, and its 15.1% IRR and 1.34 profitability index are what rank it against rival projects for limited capital. For full valuation work, a discounted cash flow model is the next step. If the recovery date is critical because of thin cash reserves or scarce liquid assets, keep payback in front, but treat it as a benchmark for how long you are exposed, not as proof the investment is worthwhile.

Payback Period Calculator questions

What is a good payback period?

It depends on the asset and the industry. Shorter is better, and the recovery time should sit well inside the asset's useful life. Many finance teams set an internal hurdle, such as recovering the investment within half of the useful life.

What is the difference between payback period and discounted payback period?

The payback period adds up raw cash flows until they cover the initial investment. The discounted payback period converts each cash flow to present value first, so it accounts for the time value of money and is usually longer.

How do I calculate the payback period with uneven cash flows?

Add each year's cash flow to a running total starting at the negative initial investment. Count the full years that stay below zero, then add the unrecovered amount divided by the cash flow of the year that crosses zero.

What discount rate should I use?

Use your opportunity cost of capital: the weighted average cost of capital for a company, or the return you could earn on an alternative investment of similar risk. A higher rate lengthens the discounted payback period.

Why does the calculator say the investment is not recovered?

The cash flows you entered, over the number of years given, never add up to the initial investment (or, for the discounted version, to its present value). Add more years, raise the cash flow or lower the discount rate.

Does the payback period include cash flow after the break-even point?

No. The metric stops at the recovery date, so it ignores later profit. Pair it with net present value or internal rate of return to judge the whole project.

How is the average return calculated?

It is the total cash received minus the initial investment, divided by the initial investment and by the number of years, shown as a percentage per year.