Payback Period Calculator screenshot

Payback Period Calculator

Get the simple and discounted payback of a cash-flow list, with the interpolation rule printed and a stated answer when the money is never recovered.

Privacy First
0 Runs
Updated 2026-11-21
Runs in your browser
No sign-up, no upload

What the payback period calculator does

Payback is the time it takes for the cash flows to return the investment. The page reports two versions: the simple payback, which adds the flows as entered, and the discounted payback, which discounts each flow by the rate before adding it. The difference is the point of showing both: a project that pays back in 2.5 periods on paper can take longer once the time value of money is counted.

When the cumulative flow crosses zero inside a period, the answer is interpolated: payback = (t - 1) + the amount still unrecovered at t - 1 / the flow in period t. The formula is printed with the result.

If the flows never recover the investment, the page does not invent a period. It prints "not recovered within N periods" with the amount still short, separately for the simple and the discounted version. It refuses a list whose first flow is not negative, because there is no investment to recover.

How to use it

Enter the cash flows in the text box, with the period-0 investment first and negative.

Set the Discount rate used for the discounted figure, then press Run. The result prints both payback figures, the rate and the interpolation rule.

Worked example

Input with the default 10 % rate:

-1000
400
400
400

Output:

Simple payback: 2.50 periods
Discounted payback: not recovered within 3 periods (5.26 short)

Why it runs in your browser

The cumulative sums are computed in this tab with JavaScript. Nothing you type is posted anywhere.

Payback is when the cash flows return the investment. This page reports the simple payback and the discounted payback side by side, so the cost of waiting is visible.

Inside the recovery period the answer is interpolated, not rounded to a whole period. If the money is never recovered, the page says so and prints how much is still short.

Simple against discounted payback

The simple version adds the flows as entered. The discounted version divides each flow by (1 + r)^t first, so a later inflow counts for less. With a positive rate the discounted payback is never shorter than the simple one.

That is the whole reason to print both: a project that looks recovered in 2.5 periods on paper can still be short once the time value of money is counted.

The interpolation rule is (t - 1) + the amount still unrecovered at t - 1 / the flow in period t. It assumes the flow arrives evenly through the period, which the page states rather than hides.

How to use Payback Period Calculator

Enter the cash flows into the text box, with the negative investment at period 0.

Set the Discount rate used for the discounted figure.

Press Run. The result prints both payback figures, or a not-recovered line with the shortfall, and the interpolation rule.

What to Expect

Best for

  • A quick read on how long capital is at risk
  • Showing the gap between simple and discounted recovery
  • Comparing two projects with different early cash flows

Not ideal for

  • Deciding between projects with cash flows beyond the payback point
  • A list whose first flow is not an outflow

What this tool keeps

  • The flow order, period 0 first
  • The discount rate, printed with the discounted figure

What may need cleanup

  • An interpolation that assumes even cash flow through the period
  • A not-recovered answer read as a failure rather than a horizon

Common errors

  • A positive first flow, which is refused
  • Reading the discounted figure at a different rate than the one printed

Example use cases

  • Sizing the risk window of a small investment
  • Explaining why a fast payback can still be a poor return

Sample input

Cash flows -1000, 400, 400, 400 at a 10 % discount rate.

Sample output

Simple payback 2.50 periods; discounted payback not recovered within 3 periods, 5.26 short.

Who this is for

  • Small-business owners weighing a purchase
  • Analysts writing a first-pass memo

Frequently asked questions

Why is the discounted payback longer?

Each flow is divided by (1 + r)^t before it is added, so later money counts for less and the cumulative total takes longer to reach zero.

What happens if the investment is never recovered?

The page prints "not recovered within N periods" and the amount still short. It does not extrapolate a period beyond the list you gave it.

How is the fraction of a period computed?

Payback = (t - 1) + the unrecovered amount at t - 1 divided by the flow in period t. It assumes the flow arrives evenly through that period.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.