Payback Period Calculator
Find how many years a project takes to earn back its upfront cost from yearly benefit minus running costs, plus net annual benefit and a five-year net value.
Payback Period Calculator
Background.
How long until the money comes back? For a small business weighing a new oven, a delivery van or a piece of software that replaces hours of manual work, that question often settles the purchase before anyone opens a spreadsheet. Payback period answers it in years: the upfront outlay divided by the cash the project frees up each year once its own running costs are paid.
Its appeal is that it measures exposure. A project that returns its cost in two years gives a lost customer, a broken machine or a better product arriving next season far less time to do damage than one that needs eight. Owners with tight cash watch it for that reason, and it is usually the first measure reached for when comparing a handful of small investments.
What payback leaves out matters just as much. It values a dollar received in year five the same as one received today, and it stops counting the moment the outlay is recovered, so a machine that keeps earning for fifteen years and one that wears out in year six can show identical figures. Federal life-cycle cost practice, supported by the Department of Energy's FEMP programme and its BLCC software, reports years to payback next to net savings, the savings-to-investment ratio and an adjusted internal rate of return, and chooses between alternatives by lowest life-cycle cost rather than by fastest recovery.
Three results come back: the payback period; the net annual benefit, which is the yearly benefit less the yearly running cost; and the five-year net value, a plain undiscounted check of whether the project is ahead or behind after five years. When the running cost equals or exceeds the benefit there is no payback to report, and you get a message instead of a number.
The Solar Payback Period, Geothermal Payback, Home Energy Audit Savings and Wind Turbine Payback calculators on this site run exactly the same division. Their pages differ only in explaining where the energy-specific figures come from.
What is payback period calculator?
Simple payback period is the time, in years, for the cumulative net cash a project produces to equal what it cost at the start. With the same net figure every year it reduces to one division: cost over net annual benefit. A result of 3.5 means the cost is recovered halfway through the fourth year, on the assumption that cash arrives evenly through each year rather than in one lump at year end. The word simple separates it from discounted payback, which shrinks each future year's cash by a discount rate before adding it up and so always gives a longer answer when the rate is positive. Neither version says anything about what happens after the break-even year, which is why payback describes how long capital is at risk, not how much a project earns.
How to use this calculator.
- In Initial cost or funding gap, enter all the cash that has to be recovered: purchase price, delivery, installation, training and any stock or working capital the project ties up, less anything received at the outset such as a grant or the trade-in value of the equipment being replaced. Any currency works, provided all three fields use the same one.
- In Annual benefit or cash recovery, enter the extra cash the project brings in or saves during a typical year. For a project that generates sales, use the added contribution margin (extra sales less the materials, commissions and other variable costs they consume), not gross revenue.
- In Annual ongoing cost, enter the yearly cash the project itself creates: maintenance contracts, licences, insurance, consumables, extra labour. Leave out depreciation, which is an accounting charge rather than a payment, and overheads the business carries whether or not the project goes ahead.
- Keep the two yearly figures on the same footing, both before tax or both after tax, and both in today's prices.
- Read the payback against the expected life of what you are buying. A negative five-year net value on an asset expected to last six years means it barely recovers its cost; for uneven or long-lived cash flows, follow up with the NPV Calculator and the IRR Calculator.
The formula.
Payback (years) = C ÷ (B − K), where C is the initial cost or funding gap, B the annual benefit and K the annual ongoing cost. The bracket is the net annual benefit, N = B − K, reported as its own output. The third output is the five-year net value, 5N − C: five years of net benefit, undiscounted, minus the outlay. It is positive exactly when payback is shorter than five years and negative when it is longer, so it doubles as a test against a five-year cutoff.
Because N sits in the denominator, the result reacts to the yearly figures more sharply than to the cost. Raising C by 10% lengthens payback by exactly 10%. Cutting B by 10% lengthens it by more, because the running cost stays put and the whole loss comes out of N; at the default figures the first change gives 6.29 years and the second 6.45. As K approaches B the payback heads towards infinity, and once N is zero or negative the outlay is never recovered, so the calculator stops with a message rather than printing a negative number of years.
The division assumes N is the same every year and arrives evenly within the year. For uneven flows the method is to add up the yearly net cash until the running total turns positive, then interpolate within the final year. Discounted payback applies the same counting to cash discounted at a rate r; with a constant N it has a closed form, n = −ln(1 − rC/N) ÷ ln(1 + r), which exists only while rC/N is below 1. At any discount rate at or above N/C the discounted cash never covers the cost, however long the project runs. Taxes, inflation, salvage value and the end of the asset's life are not modelled; they belong in a net present value or life-cycle cost analysis.
A worked example.
Take a business that spends $20,000 on equipment expected to add $4,000 a year of margin and to cost $500 a year to maintain. The net annual benefit is 4,000 − 500 = $3,500. Payback is 20,000 ÷ 3,500 = 5.7143 years, shown as 5.7: five full years and about 8.6 months (0.7143 × 12) of the sixth. Counting year by year gives the same answer. The running balance is −16,500 after year one, then −13,000, −9,500, −6,000 and −2,500 at the end of year five, which is the five-year net value reported beside the payback. Year six adds another 3,500, so the balance turns positive part-way through it: 2,500 ÷ 3,500 = 0.7143 of the year. Discounting stretches the timeline. If the business could otherwise earn 8% on the money, year one's 3,500 is worth 3,240.74 today and year two's 3,000.69. The discounted running balance is still −1,778 after seven years and reaches +113 only at the end of year eight; the closed-form discounted payback is 7.94 years, more than two years after the simple figure. That gap is the price of waiting for money, and it widens as payback lengthens: fast projects lose little to discounting, slow ones lose a great deal.
Frequently asked questions.
What counts as a good payback period?
Should the annual benefit be revenue or profit?
How do I work out payback when the cash flows change from year to year?
How much longer is discounted payback than simple payback?
Why is there no result when ongoing costs are close to the benefit?
Are two projects with the same payback equally attractive?
Should I enter pre-tax or after-tax figures?
What does funding gap mean in the first field?
How does borrowing to fund the project change the payback?
How does payback relate to return on investment and IRR?
References& sources.
- [1]U.S. Department of Energy, Life-Cycle Cost Analysis; payback and discounted economic evaluation. Retrieved 2026-08-07.
- [2]U.S. Small Business Administration. Manage your finances. Retrieved 2026-08-07.
- [3]Board of Governors of the Federal Reserve System. Small business credit survey. Retrieved 2026-08-07.
- [4]U.S. Securities and Exchange Commission. Investor.gov: Assessing your risk tolerance. Retrieved 2026-08-07.
- [5]U.S. Census Bureau. Quarterly financial report. Retrieved 2026-08-07.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 5 cited below
- Method
- simple payback = initial cost ÷ (annual benefit − annual ongoing cost)
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled