Calcs.finance

investment calculator

Payback Period 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

Enter your numbers

Help

Result

Result summary
Simple payback occurs in 4.17 years; discounted payback occurs in 5.28 years.
Payback period
4.17
Discounted payback period
5.28
Net present value
$12,476.44
Average annual return
9.71%
Final cumulative cash flow
$34,000.00
Final discounted cumulative cash flow
$12,476.44
What this means
Payback estimates use annual cash flows and interpolate the year when cumulative recovery crosses zero.

Working scenario

New scenario

Not saved yet

Compare

Saved scenarios

Compare saved versions

Compare

Save this result, then use saved scenarios to switch between assumptions.

How the Payback Period Calculator works

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.

Payback Period Calculator formula

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.
SymbolMeaningHow this page uses it
IInitial investmentThe upfront cost entered as Initial investment.
CAnnual cash flowThe first-year recurring cash-flow estimate entered as Annual cash flow.
gAnnual cash-flow growthThe Annual cash flow growth field divided by 100. A negative value models shrinking annual cash flow.
rDiscount rateThe Discount rate field divided by 100. It is the user-entered time-value assumption for discounted payback and NPV.
YAnalysis yearsThe selected analysis horizon, rounded to a whole number of yearly steps by the implementation.
CF_yCash flow in year yThe projected undiscounted cash flow for a specific year after applying annual growth.
DCF_yDiscounted cash flow in year yThe projected cash flow for year y divided by one plus the discount rate raised to that year.
CUM_yCumulative cash flowThe running undiscounted recovery balance after subtracting the initial investment.
DCUM_yDiscounted cumulative cash flowThe running discounted recovery balance after subtracting the initial investment.
PBSimple payback periodThe fractional year where cumulative undiscounted cash flow first reaches zero.
DPBDiscounted payback periodThe fractional year where cumulative discounted cash flow first reaches zero.
AARAverage annual returnThe app's simple average over the selected horizon: total cash flow minus initial investment, divided by initial investment and analysis years.

Step by step

  1. Round the entered analysis years to a whole-year loop length.
  2. Start cumulative cash flow and discounted cumulative cash flow at negative initial investment.
  3. For each year, calculate annual cash flow as the first-year cash flow multiplied by one plus the growth rate raised to year minus one.
  4. Discount that year's cash flow by dividing it by one plus the discount rate raised to the year number.
  5. Add undiscounted cash flow to cumulative cash flow and discounted cash flow to discounted cumulative cash flow.
  6. When cumulative cash flow first reaches zero or greater, calculate simple payback as the completed years before recovery plus the unrecovered balance from the prior year divided by that year's cash flow.
  7. When discounted cumulative cash flow first reaches zero or greater, calculate discounted payback the same way using discounted cash flow.
  8. If recovery is not reached inside the selected analysis horizon, leave that payback output at 0 so the result means not recovered within the chosen horizon.
  9. Return NPV as final discounted cumulative cash flow and average annual return as total undiscounted cash flow minus initial investment, divided by initial investment and rounded analysis years.
  10. Round currency, percent, and payback-year outputs for display after full-precision accumulation.

Worked example

Default example: $50,000 recovered by $12,000 yearly cash flow

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.

  1. Because growth is 0 percent, each projected annual cash flow is $12,000.
  2. Simple cumulative cash flow starts at -$50,000. After four full years it is still -$2,000, and the fifth year's $12,000 cash flow recovers that remaining amount.
  3. Divide the $2,000 unrecovered balance by the fifth-year $12,000 cash flow to get 0.1667 of a year, so simple payback is about 4.17 years.
  4. Discounted cash flow uses the 8 percent discount rate. Year 5 discounted cumulative cash flow is still about -$2,087.48, so discounted payback happens during year 6.
  5. The year 6 discounted cash flow is about $7,562.04. Dividing $2,087.48 by $7,562.04 gives about 0.276 of a year, so discounted payback is about 5.28 years.
  6. Across all 7 years, final cumulative cash flow is $34,000 and final discounted cumulative cash flow, reported as NPV, is $12,476.44.
  7. Total undiscounted cash flow is $84,000. Subtract the $50,000 initial investment, divide by $50,000, and divide by 7 years to get an average annual return of about 9.71 percent.

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.

Assumptions and what this calculator ignores

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.

What this formula does not include

Common mistakes to avoid

Key terms

Simple payback period
The fractional year where cumulative undiscounted cash flow first recovers the initial investment. It answers the recovery-time question before applying the discount-rate assumption.
Discounted payback period
The fractional year where cumulative discounted cash flow first recovers the initial investment. It asks the same recovery question after reducing later cash flows by the entered discount rate.
Net present value
Final discounted cumulative cash flow over the selected analysis horizon after subtracting the initial investment. This NPV output only includes the generated annual cash flows and the entered discount rate.

Frequently asked questions

What is the difference between simple and discounted payback here?

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.

Can I enter different cash flows for each year?

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.

Is a shorter payback period always the better investment?

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.

Methodology, sources, and disclaimer

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.

Related reading

When another calculator fits better

investment

ROI Calculator

Estimate return on investment, gain or loss, and annualized return from investment amounts and time held.

investment

IRR Calculator

Estimate internal rate of return from fixed recurring cash flows or irregular annual project cash flows.

investment

Average Return Calculator

Estimate annualized return from account cash flows or from several holding-period returns.

investment

Investment Calculator

Solve an investment goal from starting amount, end amount, return rate, contribution amount, and investment length.

investment

Present Value Calculator

Discount a future lump sum or a stream of equal periodic deposits back to today's value.

investment

Finance Calculator

Solve one time-value-of-money variable from periods, rate, present value, periodic payment, and future value.