NPV and IRR calculator, every step shown
Enter your cash flows and a discount rate. You get the net present value, the internal rate of return, payback and the multiple of money, plus each year's discount factor and present value so you can check the math by hand.
Runs in your browser. Nothing you type is saved or sent.
Your cash flows, NPV and IRR
The example is an invented project: 1,000 out today, 1,600 back over five years, at a 10% discount rate. NPV is 222.64 and IRR is 18.59%.
Cash flows
Money out is negative. Year 0 is today; each later year is cash at the end of that year.
- Year 0
- Year 1
- Year 2
- Year 3
- Year 4
- Year 5
- NPV
- 222.64
- IRR
- 18.59%
NPV at 10%
222.64
IRR
18.59%
Above zero: at 10% the cash coming back is worth more today than what goes in, so the project earns more than 10% a year.
- Payback
- 2.88 years
- Discounted payback
- 3.67 years
- Multiple of money
- 1.60x
- Profitability index
- 1.22
Every step, year by year
| Year | Cash | 1 ÷ (1 + r)t | Present value | Running total |
|---|---|---|---|---|
| 0 | (1,000.00) | 1.0000 | (1,000.00) | (1,000.00) |
| 1 | 300.00 | 0.9091 | 272.73 | (727.27) |
| 2 | 350.00 | 0.8264 | 289.26 | (438.02) |
| 3 | 400.00 | 0.7513 | 300.53 | (137.49) |
| 4 | 300.00 | 0.6830 | 204.90 | 67.41 |
| 5 | 250.00 | 0.6209 | 155.23 | 222.64 |
| NPV | 222.64 | |||
In Excel: =NPV(10%, year 1 to year 5) + year 0 gives 222.64. Putting year 0 inside NPV() discounts it one extra year and gives 202.40, the most common spreadsheet slip.
NPV at other discount rates
The IRR is where NPV crosses zero.
| Rate | 0% | 5% | 10% | 15% | 20% | 25% | 30% |
|---|---|---|---|---|---|---|---|
| NPV | 600 | 391 | 223 | 84 | (30) | (126) | (208) |
Three inputs, every number shown
Same cash flow conventions as Excel and a finance textbook.
- 1
Enter the cash flows
Year 0 is today, so the upfront cost goes there as a negative number. Each later year is the cash at the end of that year. Add as many years as you need, up to 50, or paste a row or column from Excel.
- 2
Set the discount rate
Use the return you could get elsewhere at the same risk: a company's cost of capital, a fund's target return, or the rate a case interviewer gives you.
- 3
Read NPV, IRR and the table
NPV above zero means the project beats the rate. IRR is the rate where NPV is exactly zero. The table shows each year's discount factor and present value, so you can check every step by hand.
How NPV and IRR are calculated, on the example
NPV = CF0 + CF1 ÷ (1 + r) + CF2 ÷ (1 + r)² + … + CFn ÷ (1 + r)ⁿ. IRR is the r that makes it zero.
- 1
Discount each year
Divide each year's cash by (1 + r) to the power of the year. At 10%, $300 in one year is worth $300 ÷ 1.10 = $272.73 today, and $250 in five years is worth $250 × 0.6209 = $155.23.
- 2
Add them up for NPV
NPV is the sum of every present value, with the upfront cost in year 0 counted as it is. For the example on this page: −1,000 + 272.73 + 289.26 + 300.53 + 204.90 + 155.23 = 222.64.
- 3
Find the rate where NPV is zero
That rate is the IRR. NPV is 222.64 at 10% and below zero at 20%, so the IRR is between them: 18.59% for this example. In general there is no formula for it; you try rates until NPV reaches zero, which is what this calculator and Excel's IRR() do.
Learn the method, then say it out loud
Work NPV by hand, practice IRR in a paper LBO, or answer finance questions to the AI interviewer.
How to calculate NPV by hand
The formula, round discount factors, the annuity and perpetuity shortcuts, and two cases worked step by step.
IRR vs MOIC
Why the same multiple is a different IRR over a different hold.
Paper LBO practice
Free timed buyouts worked by hand, from entry price to MOIC and IRR. No sign-up.
DCF model template
The same discounting applied to a whole company, with a terminal value and an Excel download.
Case math drills
Timed percentages, growth and break-even, the arithmetic every NPV step rests on.
LBO model
A full leveraged buyout model, where IRR is the number the sponsor cares about.
Frequently Asked Questions
Everything you need to know about Soreno, answered in one place.
Sources
- Microsoft Support: NPV function
- Microsoft Support: IRR function
- NYU Stern (Damodaran): A Primer on the Time Value of Money
The calculator and the example are ours. The Excel behaviour is as Microsoft describes it.
Ready for an interviewer that talks back?
Start the 7-day free trial and answer your first technical question out loud to the AI interviewer today.
Start your free week