investment
ROI Calculator
Estimate return on investment, gain or loss, and annualized return from investment amounts and time held.
investment calculator
The Payback Period Calculator estimates when recurring annual cash-flow assumptions recover an upfront cost. It reports simple payback, discounted payback, net present value, app-defined average annual return, final cumulative cash flow, final discounted cumulative cash flow, and an estimate-only note.
Your scenario
Working scenario
Not saved yet
Saved scenarios
Save this result, then use saved scenarios to switch between assumptions.
Use this calculator when recovery timing is the main question: how many years it may take projected cash flows to cover an initial investment. Use ROI for start-to-end gain, IRR when cash-flow timing is central, average return for account-level cash flows or period returns, investment for contribution projections, and present value or future value for direct time-value questions.
The calculator rounds Analysis years to a whole-year horizon, starts cumulative and discounted cumulative cash flow at negative Initial investment, then loops through each year. Annual cash flow in year y is Annual cash flow * (1 + Annual cash flow growth / 100)^(y - 1). Discounted cash flow divides that year's cash flow by (1 + Discount rate / 100)^y. Simple payback and discounted payback interpolate the first year where the running balance reaches zero by dividing the prior unrecovered balance by that year's cash flow. If recovery is not reached within the selected horizon, the payback output is 0. NPV is the final discounted cumulative cash flow, and Average annual return is a simple horizon average, not IRR.
This formula page covers the app's Payback Period Calculator: one initial investment, one recurring annual cash-flow estimate, an optional annual cash-flow growth rate, a discount-rate assumption, and a selected analysis horizon. It calculates simple payback, discounted payback, net present value, average annual return over the selected horizon, and final cumulative cash-flow totals. It does not model irregular yearly cash flows, taxes, fees, working-capital changes, terminal value, financing terms, probability-weighted scenarios, or investment advice.
CF_y = C * (1 + g)^(y - 1); DCF_y = CF_y / (1 + r)^y; CUM_y = -I + sum(CF_1...CF_y); PB = (y - 1) + |CUM_(y-1)| / CF_y; DPB = (y - 1) + |DCUM_(y-1)| / DCF_y
Each analysis year creates a projected cash flow, optionally grows it from the prior year, discounts it for time value, and adds it to the running recovery balance. The payback outputs interpolate the fractional year where the running balance first crosses zero.| Symbol | Meaning | How this page uses it |
|---|---|---|
| I | Initial investment | The upfront cost entered as Initial investment. |
| C | Annual cash flow | The first-year recurring cash-flow estimate entered as Annual cash flow. |
| g | Annual cash-flow growth | The Annual cash flow growth field divided by 100. A negative value models shrinking annual cash flow. |
| r | Discount rate | The Discount rate field divided by 100. It is the user-entered time-value assumption for discounted payback and NPV. |
| Y | Analysis years | The selected analysis horizon, rounded to a whole number of yearly steps by the implementation. |
| CF_y | Cash flow in year y | The projected undiscounted cash flow for a specific year after applying annual growth. |
| DCF_y | Discounted cash flow in year y | The projected cash flow for year y divided by one plus the discount rate raised to that year. |
| CUM_y | Cumulative cash flow | The running undiscounted recovery balance after subtracting the initial investment. |
| DCUM_y | Discounted cumulative cash flow | The running discounted recovery balance after subtracting the initial investment. |
| PB | Simple payback period | The fractional year where cumulative undiscounted cash flow first reaches zero. |
| DPB | Discounted payback period | The fractional year where cumulative discounted cash flow first reaches zero. |
| AAR | Average annual return | The app's simple average over the selected horizon: total cash flow minus initial investment, divided by initial investment and analysis years. |
The default calculator inputs use a $50,000 initial investment, $12,000 annual cash flow, 0 percent annual cash-flow growth, an 8 percent discount rate, and a 7-year analysis horizon.
Simple payback shows when undiscounted cash flow recovers the upfront cost. Discounted payback asks the same recovery question after applying the discount-rate assumption. Neither output proves the project is good or bad; it is a horizon-based estimate from the entered assumptions.
Geographic scope: works globally. The math is currency-agnostic, so enter amounts in your own currency; local taxes, fees, and product rules are not included.
Simple payback counts how long undiscounted cash flows take to repay the upfront investment - the default example recovers $50,000 at $12,000 per year in about 4.2 years. Discounted payback asks the same question after shrinking each year's cash flow by your discount rate (8 percent by default), so it always takes longer. The gap between the two numbers shows how much timing risk your discount assumption implies.
Not individually - this calculator models one recurring annual cash flow with an optional constant growth (or decline) percentage. A project with genuinely irregular year-by-year cash flows needs the IRR Calculator, which accepts up to 50 annual amounts. What you can do here is bracket the answer by running conservative and optimistic recurring-cash-flow assumptions and comparing the payback range.
No - payback measures only how fast you recover the outlay, and it ignores everything after recovery. A project that pays back in 3 years then stops can be worse than one that pays back in 5 and produces cash for a decade. That is why this calculator also reports net present value and average annual return over your analysis horizon: read them together, not payback alone.
This calculator is an original recovery-timing model computing simple payback, discounted payback, NPV, and average annual return from one growing recurring cash flow, validated by deterministic fixtures, edge cases, and rounding policy tests. It is not copied from a single source.
Fixtures cover fractional-year payback interpolation, unreached-payback flagging within the analysis horizon, and discount-rate edge cases. The result remains an educational estimate, not an investment appraisal or a project recommendation.
Formula version 2026.05.22-generic-payback-period. The version marks the calculation logic and validation fixture set used for this estimate.
Results are educational estimates, not advice. Read the full disclaimer.
investment
Estimate return on investment, gain or loss, and annualized return from investment amounts and time held.
investment
Estimate internal rate of return from fixed recurring cash flows or irregular annual project cash flows.
investment
Estimate annualized return from account cash flows or from several holding-period returns.
investment
Solve an investment goal from starting amount, end amount, return rate, contribution amount, and investment length.
investment
Discount a future lump sum or a stream of equal periodic deposits back to today's value.
investment
Project a starting amount and equal periodic deposits forward to a future value.
investment
Solve one time-value-of-money variable from periods, rate, present value, periodic payment, and future value.