Skip to main content

    Capital budgeting calculator

    Payback Period Calculator

    This payback period calculator shows how many years an investment takes to earn back its cost from the cash it brings in, and the discounted payback period at the rate you choose. Enter even cash flows or a yearly change for uneven ones and see the running total year by year. The cash flows are your own estimates, not a forecast, and the results are not investment advice.

    Free to use. No account or sign-up needed.

    Your numbers

    What the project or purchase costs up front.

    The cash it brings in during the first year, after its running costs.

    How much the cash flow grows each year. Use 0 for even cash flows, or a minus sign for a decline.

    From 1 to 50. How long the investment keeps bringing in cash.

    The yearly return you require, used for the discounted payback. Use 0 to skip discounting.

    Results

    ResultValue
    Payback period3.88 years
    Discounted payback at 8%4.74 years
    Cash flow over 8 years$114,589
    Net cash after the investment$64,589
    Net present value at 8%$30,711

    A $50,000 investment earns back its cost in 3.88 years from its cash flows, and in 4.74 years with each year discounted at 8%.

    Year by year

    YearCash flowCumulativeCumulative discounted
    0-$50,000-$50,000-$50,000
    1$12,000-$38,000-$38,889
    2$12,600-$25,400-$28,086
    3$13,230-$12,170-$17,584
    4$13,892$1,722-$7,373
    5$14,586$16,308$2,554
    6$15,315$31,623$12,205
    7$16,081$47,704$21,588
    8$16,885$64,589$30,711

    Year 0 is the investment. Cumulative is the running total of the cash flows, and the year it turns positive is the payback year. Discounted columns use your discount rate.

    How payback period works

    The payback period is how long an investment takes to earn back what it cost from the cash it brings in. It is one of the oldest capital budgeting checks, a quick read on how long money stays at risk before a project or purchase has paid for itself.

    With even cash flows, the payback period formula is the investment divided by the yearly cash flow. With uneven cash flows, the calculator keeps a running total: payback = the years before the total turns positive + the amount still owed / the next year's cash flow.

    That fraction assumes each year's cash arrives evenly through the year. If a project is paid in one sum at the end of each year, round the answer up to the next whole year.

    Discounted payback period

    The discounted payback period first discounts each year's cash flow to today: discounted cash flow = cash flow / (1 + rate)^year. Then it runs the same running total on the discounted amounts.

    A dollar in year 5 is worth less than a dollar today, so at any rate above 0% the discounted payback is longer than the simple one, and at a high enough rate some projects never pay back at all.

    In the example, discounting at 8% moves the payback period from 3.88 years to 4.74 years.

    Use the return you require from the investment as the rate. Companies often use their cost of capital.

    To work out a company's cost of capital from its equity and debt, use the WACC calculator.

    A worked example

    Say a project costs $50,000 and brings in $12,000 in its first year, with the cash flow growing 5% a year for 8 years. After 3 years it has returned $37,830, so $12,170 of the cost is still to earn back. Year 4 brings in $13,892, so the payback period is 3 + 12,170 / 13,892 = 3.88 years.

    Now discount each year at 8%: year 1 is worth $11,111 today instead of $12,000. After 4 years the discounted total is still $7,373 short, and year 5 adds $9,927 in discounted cash, so the discounted payback period is 4 + 7,373 / 9,927 = 4.74 years.

    With an even $12,000 every year instead, the payback period is $50,000 divided by $12,000, or 4.17 years, and the discounted payback at 8% is 5.28 years.

    Over all 8 years, the growing cash flows bring in $114,589, $64,589 more than the cost, and their net present value at 8% is $30,711. Payback ignores the cash that comes after it, so read it next to those figures.

    Payback period in Excel

    To find the payback period in Excel or Google Sheets, list the years in column A and the cash flows in column B, with the investment as a negative number in year 0. In column C keep a running total: C2 = B2, and C3 = C2 + B3 copied down.

    Find the last year the running total is negative. The payback period is that year plus its total without the minus sign, divided by the next year's cash flow. With even cash flows, the investment divided by the yearly cash flow gives the same answer.

    For the discounted payback period, add a column with each cash flow divided by (1 + rate)^year and keep the running total of that column instead. The year by year table on this page shows the same columns, so you can check a spreadsheet against it.

    Payback, NPV and IRR

    Payback answers how fast the money comes back, not how much a project earns. A project that pays back in 2 years and then stops can be worth less than one that pays back in 4 years and runs for 20.

    Net present value adds up every discounted cash flow, including the years after payback, and the internal rate of return is the rate at which that sum is 0. Many analysts read payback as a quick risk check next to those two.

    To value every year of the cash flows at your rate, use the NPV calculator.

    To find the rate of return the cash flows earn, use the IRR calculator.

    What the calculator assumes

    • The investment is paid in full at the start, in year 0.
    • Each year's cash flow changes by the same rate from the year before and arrives evenly through the year.
    • The discount rate stays the same every year.
    • Taxes, inflation and any value left at the end are out unless you count them in the cash flows.
    • The cash flows are your own estimates, not a forecast, and the results are not investment advice.

    Payback period calculator FAQ

    How do you calculate the payback period?

    With even cash flows, divide the investment by the yearly cash flow: $50,000 that brings in $12,500 a year pays back in 4 years. With uneven cash flows, add them up year by year until the running total covers the cost.

    How do you find payback period with uneven cash flows?

    Keep a running total of the cash flows. Take the last year the total is short and add the amount still owed divided by the next year's cash flow. $10,000 returning $3,000, $4,000 and $5,000 pays back in 2 + 3,000 / 5,000 = 2.6 years.

    What is the discounted payback period?

    It is the payback period with each year's cash flow discounted to today at your required rate first, so later dollars count for less. $10,000 returning $4,000 a year pays back in 2.5 years, but at a 10% rate the discounted payback is 3.02 years.

    How do you calculate payback period in Excel?

    List the cash flows in a column with the investment as a negative number in year 0, then add a running total column. Take the last year the total is negative and add its shortfall divided by the next year's cash flow.

    What is a good payback period?

    There is no single cutoff. Companies set their own target from the asset's useful life and the risk, so compare the payback with how long the cash flows can last. A shorter payback means the money is at risk for less time, not that the project earns more.

    What are the limits of the payback period method?

    Simple payback ignores the time value of money and every cash flow after the payback year, so a project that pays back fast can still earn less overall. Discounted payback fixes the first problem, not the second. Net present value and IRR count every year.

    Why is discounted payback longer than simple payback?

    Discounting shrinks each future cash flow, so the discounted total takes longer to cover the cost. In this calculator's example, an 8% discount rate moves the payback from 3.88 years to 4.74 years. At a 0% rate the two are the same.

    Is this payback period calculator free?

    Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Portfolio Tracker and the Backtester for your own holdings.

    Track your own holdings in the Portfolio Tracker and backtest a portfolio with a free GNG account.

    Sign Up Free

    This calculator is for education and is not investment advice. Results are estimates that depend on the numbers you enter, which can contain errors, and are not a forecast. Read our disclosures.