Works on this device
Cost-Benefit Calculator
A cost-benefit analysis puts the benefits and the costs of a project in money and compares them. Enter the benefits and costs of each year and your discount rate. The calculator gives the net present value, the benefit-cost ratio, the internal rate of return and the payback time, with a table and a chart.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Cost-benefit analysis year by year if the amounts differ from year to year. Choose Same benefits and costs every year for the short way.
- Enter one line for each year with its benefits and its costs. Year 0 is today. Type 0 where a year has no benefit or no cost.
- Enter your discount rate per year. Type 0 if you do not want to discount.
- Choose Calculate. The table shows the present value of the benefits and costs of every year, and the chart shows the cumulative net present value.
The formulas
- Present value of an amount in year t = amount ÷ (1 + rate)^t. Year 0 is not discounted.
- Net present value (NPV) = present value of all benefits − present value of all costs.
- Benefit-cost ratio (BCR) = present value of all benefits ÷ present value of all costs.
- Net benefit-cost ratio = NPV ÷ present value of all costs. This equals the BCR − 1.
- Internal rate of return (IRR) is the discount rate at which the NPV is zero. It is found by a numerical search.
- Payback period = the time until the running total of the yearly net benefit reaches zero. The discounted payback uses present values.
Worked example
A project costs 100,000 today. For 5 years it brings benefits of 40,000 a year and has running costs of 10,000 a year. The discount rate is 5%.
The present value of the benefits is 173,179.07. The present value of the costs is 100,000 + 43,294.77 = 143,294.77. The NPV is 173,179.07 − 143,294.77 = 29,884.30, and the benefit-cost ratio is 173,179.07 ÷ 143,294.77 = 1.21.
The yearly net benefit is 30,000, so the payback period is 100,000 ÷ 30,000 = 3.33 years. The discounted payback period is 3.74 years, and the IRR is 15.24%.
How to read the result
- An NPV above 0 and a BCR above 1 say the same thing: at your discount rate, the benefits are worth more than the costs.
- The BCR shows the benefit for each unit of cost. The NPV shows the size of the gain in money. A small project can have a high ratio and a small NPV.
- When the yearly net benefit changes sign more than once, there can be two rates that make the NPV zero, or none. The calculator then says so and does not pick one.
Limits you should know
- The discount rate is your own input. The 5% that the page starts with is only an example. Public bodies often set the rate to use; check the guidance that applies to you.
- Only benefits and costs that you put in money are counted. Benefits that are hard to price are left out unless you give them a value.
- The benefit-cost ratio has more than one form in use. This tool divides all benefits by all costs, both in present value. A form that first takes running costs off the benefits gives another number.
- Each amount counts at the end of its year, and one rate is used for all years.
- The IRR search covers −99% to 10,000%. Two rates that lie very close together can be missed.
- Amounts are not rounded inside the calculation. The page shows amounts, ratios and rates with 2 decimal places.
- Risk, inflation and tax are not added for you. Put them into the amounts or the rate yourself.
- The result depends fully on your inputs. It is not a forecast and not advice.