How the payback period calculator works
The payback period is how long an investment takes to earn back what it cost from the cash it brings in. Choose even cash flows when the investment returns about the same amount each month or year, or uneven cash flows to enter a different amount for each year. Add a discount rate to see the discounted payback period, which counts future cash at what it is worth today.
Uneven cash flows: payback = full years before recovery + amount still unrecovered ÷ the next year's inflow
Discounted cash flow in year t = cash flow ÷ (1 + discount rate)^t
The fraction of the final year assumes that year's cash comes in evenly. Discounting treats each year's cash as arriving at the end of the year, then uses the same year-by-year method on the discounted amounts. With monthly inflows, the annual discount rate is converted to the equivalent monthly rate.
Choosing a discount rate
The discount rate is your own number: the return you require, or what the money costs you to borrow or raise. With a 0% rate, discounted payback equals simple payback. The higher the rate, the longer discounted payback takes, and if the discounted inflows never add up to the investment, it never pays back.
Worked examples
Example 1: even cash flows
A $100,000 machine saves $25,000 a year. Simple payback is 100,000 ÷ 25,000 = 4 years. At a 10% discount rate, the first five years of savings are worth $22,727.27, $20,661.16, $18,782.87, $17,075.34 and $15,523.03 today, $94,769.67 in total, so $5,230.33 is still unrecovered after year 5. Year 6 is worth $14,111.85, so discounted payback is 5 + 5,230.33 ÷ 14,111.85 = 5.37 years.
Example 2: uneven cash flows
A $100,000 software project returns $20,000, $30,000, $40,000 and $50,000 in its first four years. After three years $90,000 has come back, leaving $10,000. Year 4 brings $50,000, so payback is 3 + 10,000 ÷ 50,000 = 3.2 years. At a 10% discount rate the same cash flows pay back in 3.79 years.
What payback leaves out
- Cash after payback. A project that pays back in 2 years and then stops looks better than one that pays back in 3 years and earns for 10. Use the ROI calculator to compare total returns.
- The time value of money, unless discounted. Simple payback treats $1 in year 5 like $1 today. Add a discount rate to correct for it.
- Uncertainty. Later cash flows are estimates, and the further out they are, the less reliable they get.
- Ongoing costs. Enter net inflows: savings or profit after the running costs of the investment.
Payback period vs CAC payback
CAC payback, from the CAC calculator, applies the same idea to a single customer: the months of gross profit it takes to recover what it cost to win that customer. This page handles one investment with its own cash flows, such as equipment, software or a project.
Forecasting the cash flows is the hard part. FP&A software builds those forecasts into a budget, and our guide to building a business case for custom software covers estimating savings before you build. If the investment is automation, start with the business process automations worth the engineering cost.
Frequently asked questions
How do you calculate the payback period?
With even cash flows, divide the initial investment by the cash inflow per period: $100,000 ÷ $25,000 a year = 4 years. With uneven cash flows, add up the inflows year by year until they reach the investment, then add the fraction of the final year needed.
What is the discounted payback period?
It is the payback period after converting each future cash flow to today's value with a discount rate: cash flow ÷ (1 + rate)^year. At 10%, the $100,000 investment that pays back in 4 years on $25,000 a year takes 5.37 years.
Can I use monthly cash flows?
Yes. Choose a monthly inflow with even cash flows: $60,000 recovered at $2,500 a month takes 24 months. A discount rate is converted to the equivalent monthly rate.
What if the investment never pays back?
If the inflows never add up to the investment, the calculator says so and shows how much is recovered. Discounted payback can fail even when simple payback works, because discounting shrinks later inflows.
Is a shorter payback period always better?
Not always. Payback ignores everything after the investment is recovered, so compare total returns with ROI as well, especially for long-lived investments.


