Home › Calculators › Cost-Benefit Analysis Calculator

Cost-Benefit Analysis Calculator

List a project's upfront cost, its yearly costs and its yearly benefits, set a discount rate, and see whether it pays off. You get net present value, the benefit-cost ratio, discounted and simple ROI, IRR and both payback periods, with a year-by-year table and chart.

Last updated:

Project costs & benefits
$

One-time investment paid today.

% / yr

Your cost of capital or required return.

One amount per year, separated by new lines or by a comma and a space. Leave empty if there are none.

Savings or extra revenue each year. Missing years count as 0.

Cash flow timing
Enter your values to see the result.
Advertisement
Advertisement

How to use the Cost-Benefit Analysis Calculator

  1. Enter the upfront cost paid at the start (year 0).
  2. List the ongoing costs for each year, one number per year, such as maintenance, licences or staff time.
  3. List the benefits for each year: savings, extra revenue or monetized gains, in the same order.
  4. Set the discount rate (your cost of capital or required return) and choose end-of-year or mid-year timing.
  5. Read the NPV and benefit-cost ratio, then check the payback periods, the yearly table and the chart.

Cost-benefit analysis formulas

A cost-benefit analysis (CBA) compares everything a project costs with everything it returns, after converting future amounts into today's money with a discount rate r:

  • Present value of an amount in year t: PV = amount ÷ (1 + r)t
  • Net present value: NPV = PV(benefits) − PV(costs)
  • Benefit-cost ratio: BCR = PV(benefits) ÷ PV(costs)
  • Discounted ROI: NPV ÷ PV(costs) × 100 (equal to (BCR − 1) × 100)
  • IRR: the discount rate at which NPV is exactly zero

Example: a $50,000 system costs $8,000 to $9,000 a year to run and brings $18,000 to $28,000 a year in savings over five years. At an 8% discount rate the costs (including the upfront $50,000) are worth about $83,400 today and the benefits about $96,800, so the NPV is roughly +$13,400 and the BCR about 1.16.

How to read the results

MeasureFavorableUnfavorableBest used for
NPVAbove 0Below 0How much value a single project adds
Benefit-cost ratioAbove 1.0Below 1.0Ranking projects of different sizes
Discounted ROIAbove 0%Below 0%Explaining the return as a percentage
IRRAbove your discount rateBelow your discount rateComparing with a hurdle rate
PaybackShorter than your limitLonger than the project lifeJudging liquidity and risk

Tips for a credible cost-benefit analysis

  • Include every cost: setup, training, maintenance, licences, staff time and the cost of disruption while switching over.
  • Use the same time horizon for costs and benefits, normally the useful life of the asset or system.
  • Count only incremental amounts: what changes because of the project, not costs you would pay anyway.
  • Test the discount rate and the benefit estimates. If the NPV stays positive with benefits 20% lower, the case is robust.
  • Keep the ratio and the NPV together. A small project can have a high BCR but add little value overall.

Frequently asked questions

How do you calculate a benefit-cost ratio?

Divide the present value of all benefits by the present value of all costs: BCR = PV(benefits) ÷ PV(costs). Each yearly amount is discounted with 1 ÷ (1 + r)^t, where r is the discount rate and t is the year. A BCR above 1 means benefits outweigh costs.

What is the difference between NPV and the benefit-cost ratio?

NPV is the difference between discounted benefits and discounted costs, so it tells you how much value a project adds in money. The BCR is the ratio of the two, so it shows value per unit of cost. NPV above 0 and BCR above 1 always go together, but the BCR is handier for ranking projects of different sizes.

What discount rate should I use?

Businesses usually use their weighted average cost of capital or a required rate of return, often somewhere around 6% to 12%. Public-sector analyses use rates set by the relevant agency. Because the result can be sensitive to the rate, try a few values to see if your conclusion changes.

What is discounted payback?

Simple payback counts how many years of undiscounted net benefits it takes to recover the upfront cost. Discounted payback does the same with present values, so it is always equal to or longer than the simple payback. This calculator interpolates within the year in which the cumulative total turns positive.

What does the mid-year option do?

By default each year's cash is assumed to arrive at the end of the year. Mid-year discounting treats it as arriving halfway through the year (exponent t − 0.5), which better fits costs and savings spread evenly over the year and gives a slightly higher NPV.

How should I value benefits that are not cash?

Convert them to money where you reasonably can: hours saved times a loaded hourly cost, errors avoided times the average cost of an error, and so on. Keep the assumptions written down and leave out anything you cannot estimate honestly; you can mention those in your report as qualitative benefits.

Is my data saved or sent anywhere?

No. All calculations run in your browser and nothing you type is uploaded. Your last inputs are remembered only in this browser so you can come back to them.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

NPV CalculatorCalculate net present value, PV table, profitability index and payback from cash flows.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.Payback Period CalculatorPayback and discounted payback period for an investment with even or uneven cash flows.IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.CAGR CalculatorCompound annual growth rate, or solve for a target end value.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.EOQ CalculatorEconomic order quantity, orders per year, reorder point, safety stock and a total cost curve.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.Effective Annual Rate CalculatorConvert a nominal rate to the effective annual rate (EAR / APY) for any compounding, or back.Dividend Reinvestment CalculatorProject a DRIP: portfolio value, shares and income with and without reinvesting dividends.College Savings CalculatorProject future college costs and see how much you need to save each month to pay for them.Sharpe Ratio CalculatorSharpe and Sortino ratios from a return and volatility, or from a list of returns.Employee Stock Option CalculatorVested options, exercise cost, intrinsic value and potential gain from your grant.Stock Split CalculatorNew share count, price and cost basis after a forward or reverse stock split.SWP CalculatorSystematic withdrawal plan: yearly balance, total withdrawn and when the corpus runs out.Traditional vs Roth IRA CalculatorCompare the after-tax value of a Traditional and a Roth IRA and see which wins and by how much.Treasury Bill CalculatorT-bill price, discount rate, investment rate (bond equivalent yield) and interest earned.XIRR CalculatorAnnualized return (XIRR) for investments and withdrawals on irregular dates.Crypto ConverterConvert Bitcoin, Ethereum and top coins to USD, EUR and each other with live prices.Dividend Yield CalculatorFind a stock's dividend yield, yield on cost and the income your shares pay each year.Financial Calculator (TVM)BA II Plus-style TVM solver: find N, I/Y, PV, PMT or FV, with BGN/END and amortization.Traditional IRA CalculatorProject a traditional IRA to retirement and compare its after-tax value with a taxable account.Roth Conversion CalculatorShould you convert a traditional IRA to Roth? Compare after-tax values and find the break-even.S&P 500 Return CalculatorHistorical S&P 500 return between any two years, with dividends, inflation and CAGR.AGI CalculatorCalculate adjusted gross income from income sources and adjustments, plus MAGI for Roth and ACA.Asset Allocation CalculatorSuggested stock, bond and cash mix by age, risk tolerance and time horizon, with dollar amounts.CD Ladder CalculatorBuild a CD ladder: maturity schedule, blended yield and interest earned by year.Convertible Note & SAFE CalculatorSAFE and convertible note conversion: cap, discount and interest to shares and ownership %.Cost of Raising a Child CalculatorYearly and total cost of raising a child to 18 by category, income level and inflation.Crypto Mining CalculatorMining profit per day and month from hashrate, power, electricity cost, pool fee and difficulty.Crypto Staking CalculatorEstimate staking rewards in coins and dollars from APR or APY, compounding, validator fee and price.Dividend Income Goal CalculatorHow much to invest to earn a monthly dividend income and how many years it takes.403(b) CalculatorProject your 403(b): match, raises, returns, 50+ and 15-year catch-ups, balance at retirement.I Bond CalculatorSeries I savings bond value with fixed and inflation rates by period and early penalty.Interest Coverage Ratio CalculatorTimes interest earned (EBIT ÷ interest), EBITDA coverage, interpretation and stress test.Loss Recovery CalculatorSee the percent gain needed to recover an investment loss and how many years it may take.Net Worth Percentile CalculatorRank your US household net worth overall and by age with Federal Reserve survey data.Passive Income CalculatorCapital needed for a monthly passive income goal, or income from your portfolio.Retirement Savings by Age CalculatorCompare your retirement savings to salary benchmarks and median savings for your age.Roth IRA Contribution Limit CalculatorFind your maximum Roth IRA contribution from MAGI, filing status and age 50+ catch-up.SEP IRA Contribution CalculatorMax SEP IRA contribution for the self-employed (20% after SE tax) or employees (25% of pay).
See all 127 Investing & Retirement Calculators →