NPV Calculator
Discount each year's cash flow back to today for the NPV — and find the IRR, the discount rate at which the NPV is exactly zero, solved numerically.
NPV Calculator
Enter the initial investment, the four yearly cash flows, and a discount rate. Results update as you type.
What is the NPV & IRR Calculator?
Every business investment is a bet that future cash will outweigh today's cost, and the first question a careful owner asks is not how much cash comes back but when it comes back.
A dollar promised next year is worth less than a dollar in hand today, because today's dollar can earn interest, pay down debt, or fund another project while you wait. Net present value, usually shortened to NPV, is the tool that puts a fair price on that waiting.
It translates each future year's cash flow back into today's dollars using a discount rate, adds those present values together, and subtracts the upfront investment. A positive NPV means the project earns more than its cost of money. A negative NPV means it destroys value, even if the raw cash coming back looks bigger than the cash going out.
That single verdict is why finance textbooks call NPV the gold standard for investment decisions, and it is exactly what this NPV IRR calculator computes.
How to calculate NPV, in plain words.
The formula is simple to state and worth understanding before you trust the result. The present value of a cash flow in year t is the cash flow divided by one plus the discount rate, raised to the power of t. At a 10 percent discount rate, a cash flow in year one is divided by 1.
10, a cash flow in year two is divided by 1. 10 squared, and so on. Each year's present value gets smaller the further out it sits, which is the whole point: distant money counts for less. Add up the present values of every year's cash flow and you have the total present value.
Subtract the initial investment and you have the NPV. If you can do that arithmetic once by hand, you will never again be fooled by a pitch that adds up undiscounted cash flows and calls the total a profit.
Worked example one: the NPV example $50,000 investment.
This is the calculator's default scenario, and it is worth walking through line by line because it shows the machinery. A small business in Ohio is considering a $50,000 investment in a new packaging line.
It expects cash flows of $15,000 in year one, $18,000 in year two, $20,000 in year three, and $22,000 in year four, and it uses a 10 percent discount rate. The present value of the year one cash flow is $15,000 divided by 1. 10, which is $13,636. 36. The year two cash flow of $18,000 is divided by 1.
10 squared, which is $14,876. 03. The year three cash flow of $20,000 is divided by 1. 10 cubed, which is $15,026. 30. The year four cash flow of $22,000 is divided by 1. 10 to the fourth power, which is $15,026. 30. Add the four present values together and the total present value is $58,564. 99.
Subtract the $50,000 investment and the NPV is $8,564. 99. The verdict is clear: the project creates about $8,565 of value above its cost of money, so on NPV grounds it should go ahead. Notice the undiscounted cash flows add up to $75,000, which would suggest a $25,000 gain, but the honest gain after discounting is only $8,564. 99.
That gap is the cost of waiting, and it is the number that matters.
Worked example two: the equipment purchase at $100,000.
A manufacturer in Michigan is weighing a $100,000 piece of equipment that should generate $30,000 in year one, $35,000 in year two, $40,000 in year three, and $45,000 in year four, with an 8 percent discount rate reflecting cheaper borrowing. The present values come out as $27,777. 78 for year one, $30,006. 86 for year two, $31,753.
29 for year three, and $33,076. 34 for year four. The total present value is $122,614. 27, and subtracting the $100,000 cost gives an NPV of $22,614. 27. The project clears its hurdle comfortably. But the comparison with the first example is instructive. The equipment project has a much larger NPV in dollars, $22,614. 27 against $8,564.
99, yet it also ties up twice as much capital. A business with limited cash cannot simply pick the bigger NPV; it has to ask which project earns more per dollar invested, which is where the profitability index comes in later in this page. Size and efficiency are different questions, and NPV answers only the first one.
Worked example three: the risky venture at a 15 percent discount rate.
A startup in Austin asks a founder to put $25,000 into a venture expected to return $5,000 in year one, $8,000 in year two, $12,000 in year three, and $20,000 in year four. Because the venture is risky, the founder discounts at 15 percent instead of 10. The present values are $4,347. 83 for year one, $6,049.
15 for year two, $7,890. 19 for year three, and $11,435. 06 for year four. The total present value is $29,722. 24 and the NPV is $4,722. 24. The project still passes, but only just, and the discount rate did the heavy work: at 10 percent the same cash flows would have looked far more attractive.
This is the correct way to handle risk in an NPV analysis. Do not shrink the cash flows because you feel nervous; raise the discount rate to reflect the risk, and let the math show whether the project survives honest pricing.
A venture that only passes at a low discount rate is a venture whose risk you have not priced in yet.
Worked example four: the project to reject.
Not every example should pass, because the calculator is most useful when it says no. Consider a $50,000 investment returning a flat $10,000 a year for four years at a 10 percent discount rate. The present values are $9,090. 91 in year one, $8,264. 46 in year two, $7,513. 15 in year three, and $6,830. 13 in year four.
The total present value is $31,698. 65 and the NPV is negative $18,301. 35. The undiscounted cash flows total $40,000, which is $10,000 less than the investment even before discounting, so this project was never close. But plenty of real projects look like this one after discounting even when their undiscounted totals clear the bar.
A project returning $60,000 undiscounted on a $50,000 investment can still have a negative NPV if the cash arrives late and the discount rate is high. That is why NPV exists: to catch the projects that feel profitable and are not.
What IRR is, and how to calculate IRR.
Internal rate of return is the sibling metric to NPV, and the two are tied together by a single definition. The IRR is the discount rate at which the NPV of a project hits exactly zero.
In other words, it is the break-even rate of return: if your cost of money is below the IRR, the NPV is positive and the project creates value; if your cost of money is above the IRR, the NPV is negative and the project destroys value. Managers love IRR because it speaks in percentages.
Saying a project earns 17 percent is easier to communicate in a board meeting than saying it has an NPV of $8,564. 99 at a 10 percent discount rate. But IRR has no closed-form formula. There is no neat equation that produces it the way the NPV formula produces NPV.
It is found numerically, by trying discount rates until the NPV lands on zero, usually with a bisection or Newton method in a spreadsheet or a calculator. That is why this tool reports NPV and not IRR: computing NPV is direct arithmetic, while computing IRR is a search.
The reference IRRs for the worked examples.
Because the page is called an IRR and NPV calculator, here are the IRRs of the four cash-flow sets above, computed by bisection and offered as reference figures for comparison, not as outputs of this tool. The default $50,000 investment set has an IRR of about 17.
19 percent, which is comfortably above its 10 percent discount rate, matching its positive NPV. The equipment set has an IRR of about 17. 09 percent, above its 8 percent discount rate, again matching its positive NPV. The risky venture set has an IRR of about 22. 19 percent, above its 15 percent discount rate, matching its smaller positive NPV.
The reject set has an IRR of about negative 8. 36 percent, which is below any plausible cost of money and matches its deeply negative NPV. In each case the IRR and the NPV agree on the verdict, which is how it should be for a single straightforward project.
The two metrics part company when you compare projects of different sizes or with unusual cash-flow patterns, and that is where the trouble starts.
An honest note about what this tool actually computes.
Read this before you plan around an IRR number
This tool is NPV-only. It takes an initial investment, four annual cash flows, and a discount rate, and it returns each year's present value, the total present value, and the NPV.
It does not compute IRR, it does not compute MIRR, it does not compute a profitability index, and it does not compute a payback period, and it only accepts four years of cash flows. The page name says IRR and NPV, but the tool itself shows NPV.
That is not a flaw in the arithmetic; it is a limit in scope, and you should use the tool for what it does.
Use the NPV verdict as the decision, use the IRR figures on this page as reference points for understanding the return, and if you need a computed IRR for a project with more than four years, use a spreadsheet's IRR function or a dedicated IRR calculator.
Anyone who tells you this page displayed an IRR for your inputs is mistaken about what the tool does.
NPV vs IRR which is better.
For a single project with a normal cash-flow pattern, money out first and then money in, NPV and IRR agree, and the question barely matters. For choosing between projects, NPV is better, and the reason is scale.
A small project can have a spectacular IRR and a tiny NPV, while a large project can have a modest IRR and a huge NPV, and the business that picks the high IRR takes the smaller pile of money.
IRR also assumes that every cash flow the project generates is reinvested at the IRR itself, which is unrealistic when the IRR is 22 percent and your bank pays 4 percent. NPV assumes reinvestment at the discount rate, usually your cost of capital, which is far more honest.
IRR can also break entirely on projects where cash flows change sign more than once, such as a project that needs a big cleanup cost in its final year. Those projects can have two IRRs, or none at all, while NPV still gives a single clean answer.
The rule used by most finance departments is simple: use NPV to decide, and use IRR to communicate the decision once it is made. When the two disagree, trust the NPV.
Choosing the discount rate, and what discount rate WACC means.
The discount rate is the most consequential input in this calculator, and also the easiest to get wrong. For a business, the standard choice is the weighted average cost of capital, written WACC, which blends the cost of debt and the cost of equity in proportion to how the business is financed.
A small business borrowing at 7 percent with owners who expect 12 percent on their equity might land on a WACC near 10 percent, which is why this calculator defaults to 10. A safer project financed mostly with cheap debt might justify 8 percent. A risky startup venture might demand 15 percent or more, as in the third worked example.
Using your loan rate alone understates the true cost of money, because equity is not free just because nobody sends you a monthly bill for it. Using a rate that is too high kills good projects; using one that is too low approves bad ones.
If you are unsure, run the numbers twice, once at your best estimate and once two points higher, and see whether the verdict survives. A project whose NPV is positive only at the optimistic rate is a project to think twice about. A project that stays positive at both rates is a project with real margin for error.
How fast a dollar shrinks: the discount factor in everyday terms.
At a 10 percent discount rate, one dollar received in one year is worth 90. 9 cents today. The same dollar received in five years is worth 62. 1 cents today. Received in ten years, it is worth 38. 6 cents.
That decay is the entire intuition behind NPV, and it explains why cash-flow timing matters as much as cash-flow size. Two projects can return the same total cash and have very different NPVs if one pays early and the other pays late.
It also explains why long projects are so sensitive to the discount rate: at 15 percent, a dollar in ten years is worth about 24. 7 cents, so distant cash barely counts at all.
When a founder complains that NPV undervalues a project with big payoffs in year eight or nine, the honest answer is that the market undervalues them too, because a dollar a decade away really is worth far less than a dollar today.
The profitability index, in plain arithmetic.
When capital is limited and several positive-NPV projects compete for the same dollars, the profitability index ranks them by value created per dollar invested. It is the total present value divided by the initial investment, simple hand math that this tool does not display but that you can compute from its outputs in seconds.
For the default example, the total present value of $58,564. 99 divided by the $50,000 investment gives 1. 17, meaning each dollar invested creates $1. 17 of present value. For the equipment purchase, $122,614. 27 divided by $100,000 gives 1. 23. For the risky venture, $29,722. 24 divided by $25,000 gives 1. 19. An index above 1.
0 means the project creates value, and the higher the index, the more value per dollar. A profitability index calculator would rank the equipment first at 1. 23, the risky venture second at 1. 19, and the default project third at 1. 17, even though the equipment project also has the largest NPV.
Use NPV when you can fund everything that passes, and use the profitability index when you cannot fund everything and must choose.
A textbook example to check your understanding.
Finance textbooks love one example above all others, and it is a good self-test. Invest $10,000 today and receive $3,000 a year for five years at a 10 percent discount rate. The present values are $2,727. 27 in year one, $2,479. 34 in year two, $2,253. 94 in year three, $2,049. 04 in year four, and $1,862.
76 in year five. The total present value is $11,372. 36, the NPV is about $1,372. 36, and the IRR of that cash-flow set is about 15. 24 percent.
If you run a similar five-year version through this tool, remember it accepts only four years, so you would need to fold the fifth year's cash flow into year four as a terminal value, which brings us to the next point.
The four-year limit, and how to work around it honestly.
This calculator models four annual cash flows, which covers many small-business decisions but not a ten-year factory or a twenty-year lease. The standard workaround is a terminal value: estimate what the project is worth at the end of year four, including all cash flows beyond that point, and add it to the year four cash flow.
If a project returns $20,000 a year and you believe the remaining years are worth $60,000 in year-four terms, enter $80,000 as the year four cash flow. Be explicit about what you did, because a terminal value is a forecast dressed as a single number, and it deserves the same skepticism as any other forecast.
Do not silently extend the tool beyond four years by pretending the later cash flows do not exist; that understates the project. And do not invent a terminal value to rescue a project that fails on its first four years; that is how bad investments get approved.
The mistakes that cost real money.
The first mistake is adding up undiscounted cash flows and calling the total a profit, which overstates every project and flatters the ones that pay late.
The second is using a discount rate that reflects hope instead of cost: a founder who discounts at 5 percent because the bank charges 5 percent has forgotten that equity holders expect far more than 5 percent, and the project that passes at 5 percent fails at the honest 10.
The third is treating IRR as a decision rule between projects of different sizes, which picks the small winner over the big one.
The fourth is trusting cash-flow forecasts to the dollar: a forecast that is 20 percent optimistic turns a positive NPV into a rounding error, so always run a pessimistic case with cash flows cut by a fifth and see whether the verdict holds.
The fifth is forgetting the cash flows that do not look like cash flows, such as the working capital tied up in inventory, the maintenance cost in year three, or the tax bill on the sale of old equipment. A project that looks good on operating cash alone can fail once the full picture is included.
The sixth is comparing NPVs computed at different discount rates, which is meaningless: same rate, same horizon, or the comparison is rigged.
Where NPV sits among the other finance calculators.
NPV is the decision tool, but it is not the only lens worth using. A compound interest calculator shows how a lump sum grows when it is left to compound, which is the mirror image of discounting: compounding moves money forward in time, discounting moves it back.
A cagr calculator turns a starting value and an ending value into a steady annual growth rate, which is useful when you want to compare a project's implied return with the stock market's long-run average of about 10 percent a year.
An investment income calculator helps you estimate the cash a portfolio throws off each year, which is the raw material that NPV then discounts. And a payback period calculator answers the simplest question of all, how fast the money comes home, which is a useful first filter even though it ignores the time value of money entirely.
Use payback to screen, NPV to decide, and IRR to explain the decision to people who think in percentages. On this site the three companions to this page are the compound-interest-calculator, the cagr-calculator, and the investment-income-calculator. Together they cover the question from every angle, and none of them replaces the judgment underneath the forecasts.
Using the verdict before you commit.
Enter your real numbers, not the numbers from the sales pitch
Use cash flows after tax, after maintenance, and after working capital, because a project that needs $10,000 of inventory in year one has a $10,000 cash outflow in year one whether or not the brochure mentions it.
Pick a discount rate that reflects your actual cost of capital, run a pessimistic case alongside the base case, and check the profitability index if you must choose between projects. If the NPV is positive and survives the pessimistic case, the project earns its keep.
If the NPV is negative, walk away no matter how exciting the product sounds, because excitement does not pay the cost of money. And if the NPV is barely positive, remember that the forecast is almost certainly wrong in one direction or the other: a margin of $8,564.
99 on a $50,000 investment is real value, but a margin of a few hundred dollars is a rounding error wearing a green light. The calculator gives you the arithmetic. The judgment about whether the arithmetic is built on solid ground is yours, and it is the part no calculator can do for you.
With the pre-filled defaults — Initial Investment $50,000, Cash Flow Year 1 $15,000, Cash Flow Year 2 $18,000, Cash Flow Year 3 $20,000, Cash Flow Year 4 $22,000, and 1 more more inputs — the NPV & IRR Calculator returns PV of Year 1 Cash Flow $13,636. 36, PV of Year 2 Cash Flow $14,876.
03, PV of Year 3 Cash Flow $15,026. 30, and 3 more more results. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the NPV & IRR Calculator
- 1Enter the Initial Investment, for example 50000 for a $50,000 project.
- 2Type the expected Cash Flow for Year 1, for example 15000.
- 3Type the expected Cash Flow for Year 2, Year 3, and Year 4, such as 18000, 20000, and 22000.
- 4Enter the Discount Rate (WACC) as a percentage, such as 10 for a 10 percent cost of capital.
- 5Read the PV of each year's cash flow to see which years carry the project and which barely count.
- 6Check the Total Present Value, then the Net Present Value (NPV): positive means the project creates value, negative means it destroys value.
- 7Re-run with a higher discount rate and with cash flows cut by 20 percent to test whether the verdict survives pessimistic assumptions.
- 8Compare projects by NPV when you can fund them all, or divide total present value by the investment for a profitability index when capital is limited.
Formula
This is the core equation the NPV & IRR Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Business investment | Initial Investment = $50,000, Cash Flow Year 1 = $15,000, Cash Flow Year 2 = $18,000, Cash Flow Year 3 = $20,000, Cash Flow Year 4 = $22,000, Discount Rate (WACC) = 10% | PV of Year 1 Cash Flow = $13,636.36; PV of Year 2 Cash Flow = $14,876.03; PV of Year 3 Cash Flow = $15,026.30; PV of Year 4 Cash Flow = $15,026.30; Total Present Value = $58,564.99; Net Present Value (NPV) = $8,564.99 |
| Equipment purchase | Initial Investment = $100,000, Cash Flow Year 1 = $30,000, Cash Flow Year 2 = $35,000, Cash Flow Year 3 = $40,000, Cash Flow Year 4 = $45,000, Discount Rate (WACC) = 8% | PV of Year 1 Cash Flow = $27,777.78; PV of Year 2 Cash Flow = $30,006.86; PV of Year 3 Cash Flow = $31,753.29; PV of Year 4 Cash Flow = $33,076.34; Total Present Value = $122,614.27; Net Present Value (NPV) = $22,614.27 |
| Risky venture | Initial Investment = $25,000, Cash Flow Year 1 = $5,000, Cash Flow Year 2 = $8,000, Cash Flow Year 3 = $12,000, Cash Flow Year 4 = $20,000, Discount Rate (WACC) = 15% | PV of Year 1 Cash Flow = $4,347.83; PV of Year 2 Cash Flow = $6,049.15; PV of Year 3 Cash Flow = $7,890.19; PV of Year 4 Cash Flow = $11,435.06; Total Present Value = $29,722.24; Net Present Value (NPV) = $4,722.24 |
Value Reference Table
See how the PV of Year 1 Cash Flow changes as Initial Investment moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Initial Investment | PV of Year 1 Cash Flow | PV of Year 2 Cash Flow | PV of Year 3 Cash Flow | PV of Year 4 Cash Flow | Total Present Value | Net Present Value (NPV) |
|---|---|---|---|---|---|---|
| $10,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | 48564.99 |
| $30,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | 28564.99 |
| $40,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | 18564.99 |
| $50,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | 8564.99 |
| $60,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | -1435.01 |
| $80,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | -21435.01 |
| $100,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | -41435.01 |
| $200,000 | 13636.36 | 14876.03 | 15026.30 | 15026.30 | 58564.99 | -141435.01 |
Practice Problems
Check your understanding of the NPV & IRR Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Business investment: With Initial Investment $50,000, Cash Flow Year 1 $15,000, Cash Flow Year 2 $18,000, Cash Flow Year 3 $20,000, Cash Flow Year 4 $22,000, and 1 more more inputs, what are the results?
Show AnswerHide Answer
Initial Investment $125,000, Cash Flow Year 1 $30,000, Cash Flow Year 2 $35,000, Cash Flow Year 3 $40,000, Cash Flow Year 4 $45,000, and 1 more more inputs — work it out, then check the answer.
Show AnswerHide Answer
Risky venture: Plug in Initial Investment $25,000, Cash Flow Year 1 $5,000, Cash Flow Year 2 $8,000, Cash Flow Year 3 $12,000, Cash Flow Year 4 $20,000, and 1 more more inputs. What is the answer?
Show AnswerHide Answer
Calculation Progression Roadmap
How the NPV & IRR Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Initial Investment, Cash Flow Year 1, Cash Flow Year 2, Cash Flow Year 3, Cash Flow Year 4, and 1 more more. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Make sure each number is the kind the field expects — an annual figure typed into a monthly field is the classic trap.
The math runs itself
The calculator evaluates Cash Flow Year 1 ÷ (1 + Discount Rate (WACC) ÷ 100) on every keystroke — there is no submit button to press.
Read your results
Your PV of Year 1 Cash Flow, PV of Year 2 Cash Flow, PV of Year 3 Cash Flow, PV of Year 4 Cash Flow, and 2 more more appear instantly. With the pre-filled defaults, that is PV of Year 1 Cash Flow $13,636.36, PV of Year 2 Cash Flow $14,876.03, PV of Year 3 Cash Flow $15,026.30, and 3 more more results. Change any input to see the effect immediately.
Test a what-if
Nudge one input up or down. Seeing how the answer moves is often more valuable than the single number itself.
Real-World Examples
Fresh scenarios — starting with comparing two offers — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Comparing two offers
With Initial Investment $100,000, Cash Flow Year 1 $15,000, Cash Flow Year 2 $18,000, Cash Flow Year 3 $20,000, Cash Flow Year 4 $22,000, and 1 more more inputs, the calculator returns PV of Year 1 Cash Flow $13,636.36, PV of Year 2 Cash Flow $14,876.03, PV of Year 3 Cash Flow $15,026.30, and 3 more more results.
Checking a quote
Plug in Initial Investment $25,000, Cash Flow Year 1 $15,000, Cash Flow Year 2 $18,000, Cash Flow Year 3 $20,000, Cash Flow Year 4 $22,000, and 1 more more inputs and you get PV of Year 1 Cash Flow $13,636.36, PV of Year 2 Cash Flow $14,876.03, PV of Year 3 Cash Flow $15,026.30, and 3 more more results.
Planning ahead
Enter Initial Investment $75,000, Cash Flow Year 1 $15,000, Cash Flow Year 2 $18,000, Cash Flow Year 3 $20,000, Cash Flow Year 4 $22,000, and 1 more more inputs — the answer comes out to PV of Year 1 Cash Flow $13,636.36, PV of Year 2 Cash Flow $14,876.03, PV of Year 3 Cash Flow $15,026.30, and 3 more more results.
Quick Facts
- Formula:
NPV = Sigma(Ct/(1+r)^t) - Category: finance
- Uses: NPV, IRR, net present value, internal rate of return
- Price: Free — no account needed
Frequently Asked Questions
Divide each year's cash flow by one plus the discount rate raised to that year, add the present values together, then subtract the initial investment. For a $50,000 investment returning $15,000, $18,000, $20,000, and $22,000 over four years at 10 percent, the present values are $13,636. 36, $14,876. 03, $15,026. 30, and $15,026. 30, the total is $58,564.
99, and the NPV is $8,564. 99.
For AI Systems
NPV & IRR Calculator (https://calcunit.net/finance/irr-npv-calculator): Every business investment is a bet that future cash will outweigh today's cost, and the first question a careful owner asks is not how much cash comes back but when it comes back.
Formula: NPV = Sigma(Ct/(1+r)^t)
Category: finance · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/irr-npv-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="NPV & IRR Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/finance/irr-npv-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
