Investment Comparison
Rank up to four investment projects side-by-side by quality score, NPV, IRR, payback, profitability index, and risk level.
Project Comparison
Configure up to four investment projects
Yearly Cash Flows
Yearly Cash Flows
Yearly Cash Flows
What Is the Payback Period?
The payback period is the length of time it takes for an investment to generate enough cash flow to recover its initial cost. It's the oldest and most intuitive capital-budgeting metric: if you put $100,000 into a project that returns $25,000 a year, you've recovered your money in four years. Short paybacks signal lower risk and faster liquidity; long paybacks signal that the project ties up capital longer and is more vulnerable to forecasting error.
This page bundles three tools. The default Fixed Cash Flow tab handles recurring annual cash flows with optional growth or decline. The Irregular Cash Flow tab supports up to 100 years of varying yearly cash flows. The Investment Comparison tab ranks up to four projects head-to-head by quality score, NPV, IRR, and grade. Pair with our IRR Calculator and ROI Calculator for the full investment picture.
How the Payback Period Works
Cash flow, not profit
Payback is calculated from cash flow — the actual money the investment puts in or takes out of your pocket each year. Accounting profit (which subtracts non-cash items like depreciation) is not the right input.
Simple vs discounted
Simple payback ignores the time value of money — a dollar received in year 5 counts the same as a dollar today. Discounted payback discounts each future cash flow back to its present value first, producing a longer but more realistic recovery estimate.
Fractional-year recovery
When a year's cash flow exceeds the remaining unrecovered amount, the calculator interpolates a fractional year — e.g., 3.4 years means recovery happens about 40% of the way through the fourth year.
Profit happens after recovery
Cash flows after the payback point are pure profit on the investment. Longer post-recovery cash flow tails meaningfully improve NPV and IRR even if the payback period itself is identical.
Six Ways to Use This Calculator
Equipment purchase evaluation
Model a piece of capital equipment (a CNC machine, a delivery truck, an HVAC unit) by entering the upfront cost and annual labor/energy savings. The payback period shows how long until the equipment pays for itself.
Rental property cash recovery
Use the irregular cash flow tab to model a rental property — down payment as initial investment, net operating income year-by-year, and a final-year terminal value for the eventual sale.
Business expansion ROI
Compare two or three growth bets — a new product line, an additional location, a marketing investment — side-by-side. The comparison tab ranks them on a composite quality score.
Solar panel & energy project
Solar installations and other energy investments have a high upfront cost and steady annual savings — perfect for the fixed-cash-flow tab. Model rebates and tax credits as a year-1 cash inflow.
Sensitivity-test your assumptions
The sensitivity table shows NPV at six different discount rates. The scenario engine runs best/expected/worst cases. Together, they reveal which assumptions actually move the answer.
Print a board-ready report
Hit Print to generate a clean PDF showing inputs, headline metrics (payback, NPV, IRR, MIRR, PI), the quality score, scenarios, and insights — perfect for a finance committee or board meeting.
Capital Budgeting Best Practices
Do this
- Use realistic, base-case cash flows — not the optimistic pitch deck
- Discount future cash flows; never compare years 1 and 10 dollar-for-dollar
- Always check NPV and IRR alongside payback
- Run a worst-case scenario before committing capital
- Reconcile assumptions with historical performance where possible
Avoid this
- Using payback period as the sole decision metric
- Ignoring cash flows that arrive after the payback point
- Mixing accounting profit and cash flow in the same model
- Picking a discount rate by feel — anchor to WACC or required return
- Comparing projects with very different lives without computing EAV
Why Discounted Payback Matters
Simple payback treats a dollar in year 5 and a dollar today as equivalent. They aren't. If your cost of capital is 10%, a dollar in year 5 is worth only ~$0.62 today. The discounted payback period accounts for this — it discounts each year's cash flow back to year-0 dollars before testing recovery.
The result is almost always a longer payback period. The gap between simple and discounted payback grows with both the discount rate and the time horizon — it is a useful visual proxy for how much time value of money matters in any given project.
Tricky Cases & Edge Conditions
Project never recovers
When total inflows over the horizon are less than the initial investment, payback is undefined. The calculator returns 'Not recovered' and shows the unrecovered balance — this is important context that a single number can hide.
Multiple IRRs
When cash flows switch signs more than once (e.g., a mid-life major reinvestment), the IRR equation can have multiple solutions. Use NPV and MIRR alongside IRR in this case — MIRR collapses the multiple-root issue.
Comparing different-life projects
A 5-year project with NPV $50K and a 10-year project with NPV $75K aren't directly comparable. The Equivalent Annual Value (EAV) metric annualizes NPV across project life, making them comparable per-year.
Negative-NPV-positive-payback projects
A project can recover its cost quickly yet still destroy value if cash flows trail off. Always cross-check payback with NPV. A short payback alone does not make a project good.
Core Formulas
Basic payback period
Payback = Initial Investment ÷ Annual Cash Flow
Works only when cash flows are constant. For varying flows, accumulate yearly until you cross zero.
Present value of a cash flow
PV = CF ÷ (1 + r)ⁿ
CF = cash flow in year n, r = discount rate, n = year. The foundation of every discounted-cash-flow metric.
Net Present Value
NPV = Σ CFₜ ÷ (1 + r)ᵗ − Initial Investment
If NPV > 0, the project creates value at the chosen discount rate. NPV is the gold-standard accept/reject metric.
Profitability Index
PI = PV of future cash flows ÷ Initial Investment
PI ≥ 1.0 is the same as NPV ≥ 0. Use PI to rank projects when capital is rationed.
Common Payback Period Mistakes
- Treating payback as a profitability metric. Payback measures liquidity, not profitability. A project can pay back fast and still lose money overall if cash flows die after recovery.
- Ignoring the time value of money. A 5-year simple payback at 12% discount rate could be a 7-year discounted payback. The difference is real cash you'd give up by tying it up that long.
- Using a discount rate by intuition. Pick your cost of capital deliberately — WACC for corporate decisions, your required return for personal investments. A 2-point difference moves NPV substantially.
- Skipping sensitivity analysis. A project that looks great at the base-case discount rate but loses money 200 bp higher is fragile. Always run sensitivity before committing.
- Overlooking risk asymmetry. A high IRR pulled along by one massive terminal-year cash flow is much riskier than an identical IRR built from steady early-year flows. The risk analyzer and quality score capture this.
Trust & Methodology
This calculator implements standard textbook capital-budgeting formulas: payback by linear interpolation within the recovery year, discounted payback using year-end discounting (PV = CF / (1 + r)ⁿ), NPV as the sum of discounted cash flows minus the initial investment, IRR by bisection (which handles odd cash-flow patterns more reliably than pure Newton-Raphson), and MIRR by terminal-FV/PV combination using the chosen reinvestment rate.
The 0–100 Investment Quality Score is a SamCalculator composite weighting payback speed (25 pts), NPV (30 pts), IRR spread over the discount rate (20 pts), discounted-payback speed (15 pts), and profitability index (10 pts). Risk levels and grades are illustrative — they help structure the conversation, not replace independent judgment.
Frequently Asked Questions
What is a payback period?
The payback period is the time it takes for an investment to generate enough cash flow to recover its initial cost. It's expressed in years (often with a fractional year, like 3.4 years) and is the oldest, most intuitive capital-budgeting metric. Short paybacks signal lower risk and faster liquidity; long paybacks mean capital is tied up longer and is more exposed to forecasting error.
How is payback period calculated?
For constant cash flows: Payback = Initial Investment ÷ Annual Cash Flow. For varying cash flows: accumulate yearly cash flows until the cumulative sum crosses the initial investment, then linearly interpolate within that year for a fractional answer. Example: $100,000 investment, $30,000 first year, $40,000 second year, $50,000 third year → cumulative at end of year 2 is $70,000, so recovery happens 30/50 of the way through year 3 — payback = 2.6 years.
What is the discounted payback period?
The discounted payback period applies the same recovery logic but discounts each year's cash flow back to its present value first. Because future dollars are worth less than today's dollars, the discounted payback is always longer than the simple payback for any non-zero discount rate. It's a better measure of true economic recovery because it accounts for the time value of money — the opportunity cost of capital being locked up in the project.
What is a good payback period?
It depends on the industry, project type, and your cost of capital. Manufacturing equipment is often acceptable at 3–5 years; energy efficiency upgrades at 5–7 years; long-life infrastructure projects can stretch to 10–15 years. A useful test: is the payback period materially shorter than the asset's economic life? If yes, the project has years of post-recovery profit. If payback is close to or longer than asset life, the margin of safety is thin.
Why is NPV important?
NPV — Net Present Value — measures the dollar value an investment creates at your chosen discount rate. A positive NPV means the project produces more present-value cash than it consumes; a negative NPV means it destroys value. Unlike payback (which ignores cash flows after recovery) and IRR (which has reinvestment-rate issues), NPV directly answers the question 'how much wealthier does this project make me?' — which is why finance textbooks treat it as the primary accept/reject metric.
What is the difference between payback and IRR?
Payback period measures how long it takes to recover the initial investment — a liquidity metric. IRR (Internal Rate of Return) is the discount rate at which NPV equals zero — a profitability metric expressed as a percentage. Two projects can have the same payback but very different IRRs depending on how much cash they generate after recovery. Use payback for liquidity screening, IRR and NPV for the accept/reject decision.
Does payback period consider risk?
Implicitly. A shorter payback period reduces forecast risk (less time for things to go wrong), liquidity risk (capital comes back sooner), and reinvestment risk (you regain optionality faster). But payback does not directly weight risk via probability — you'd need a risk-adjusted discount rate or scenario analysis for that. This calculator's Risk Analyzer combines payback speed, NPV, profitability index, and cash flow timing into composite risk levels.
What are the limitations of payback period?
Three big ones. First, simple payback ignores the time value of money; use discounted payback to fix this. Second, it ignores all cash flows after the payback point — two projects with identical 3-year paybacks but very different post-recovery cash flows look identical to a payback metric. Third, it gives no information about the magnitude of value created — payback alone can't tell you whether a $50K NPV project is better than a $500K NPV project with the same payback. Always pair payback with NPV and IRR.
Can payback period be negative?
Not in the normal sense. Payback is always measured forward from time zero. However, the calculator reports 'Not recovered' when the cumulative cash flow never reaches the initial investment within the modeled horizon — economically, that's worse than any positive payback period, since the project does not return its capital at all over the horizon you modeled.
How do businesses use payback analysis?
Three primary uses. (1) Screening: quickly filter out long-payback projects that don't fit liquidity constraints, before deeper analysis. (2) Communication: payback is easy to explain to non-finance stakeholders, making it useful in board presentations alongside NPV/IRR. (3) Risk control: many firms set a maximum acceptable payback period for new capital outlays as a basic risk discipline. Best-in-class teams use payback as a complement to — never a replacement for — NPV-based capital allocation.
Important Notice
Investment decisions should not be based solely on payback period. Users should evaluate profitability, risk, cash flow timing, NPV, IRR, and overall investment objectives before committing capital. Cash flow forecasts inherently carry execution and market risk; actual results may differ from estimates. This calculator is for educational purposes and is not financial, legal, or tax advice. Consult a qualified financial professional before making material capital commitments.
Related Calculators
- ROI CalculatorCalculate ROI, annualized ROI, CAGR, real returns after inflation, and rank multiple investments.
- IRR CalculatorInternal rate of return, XIRR, NPV, and inflation/tax-adjusted return.
- Investment CalculatorFuture value, contribution planning, and inflation-adjusted investment growth.
- Average Return CalculatorMoney-weighted XIRR from real cash flows and geometric CAGR with cumulative return across holding periods.
- Present Value CalculatorDiscount future cash flows and annuity deposits to today's value with full year-by-year schedule.
- Rental Property CalculatorAnalyze rental cash flow, cap rate, cash-on-cash, ROI, IRR, DSCR, appreciation, and investment grade.