Corporate Finance & ValuationInteractive Calculator100% local · Instant results
NPV and IRR calculator
Evaluate capital projects using NPV, IRR, undiscounted and discounted payback, and profitability index.
NPV & IRR calculator
2 · Live results
Net Present Value (NPV)
$6,741.34
Positive NPV: adds value above hurdle rate
Internal Rate of Return (IRR)
13.04%
+3.04% above discount rate
Payback period
2.88 yrs
Discounted: 3.67 yrs
Profitability Index (PI)
1.07
PV of inflows: $106,741.34
Year-by-year present value schedule
| Year | Cash flow | Factor | Present value | Cumulative PV |
|---|---|---|---|---|
| Year 0 | -$100,000.00 | 1.0000 | -$100,000.00 | -$100,000.00 |
| Year 1 | $30,000.00 | 0.9091 | $27,272.73 | -$72,727.27 |
| Year 2 | $35,000.00 | 0.8264 | $28,925.62 | -$43,801.65 |
| Year 3 | $40,000.00 | 0.7513 | $30,052.59 | -$13,749.06 |
| Year 4 | $30,000.00 | 0.6830 | $20,490.40 | $6,741.34 |
Step-by-step working
- 1Year 1 PV = $30,000.00 ÷ (1 + 0.1)^1 = $27,272.73
- 2Year 2 PV = $35,000.00 ÷ (1 + 0.1)^2 = $28,925.62
- 3Year 3 PV = $40,000.00 ÷ (1 + 0.1)^3 = $30,052.59
- 4Year 4 PV = $30,000.00 ÷ (1 + 0.1)^4 = $20,490.40
- 5Total PV of future cash flows = $106,741.34
- 6NPV = $106,741.34 − $100,000.00 = $6,741.34
- 7Profitability Index = $106,741.34 ÷ $100,000.00 = 1.07
- 8IRR (rate where NPV = $0) = 13.04%
- 9Undiscounted payback = 2.88 years; Discounted payback = 3.67 years
The formulas
Capital budgeting translates future cash inflows into today’s dollars so you can compare them directly against the upfront outlay.
NPV = Σ [ CFₜ ÷ (1 + r)ᵗ ] − Initial investment
- CFₜ
- expected net cash flow at the end of year t
- r
- discount rate (required return or hurdle rate) as a decimal
- t
- year number (1, 2, …, n)
0 = −Initial investment + Σ [ CFₜ ÷ (1 + IRR)ᵗ ]
- IRR
- the discount rate that brings NPV to exactly zero
PI = Present value of future cash flows ÷ Initial investment
Worked example
Evaluating a four-year equipment upgrade
A fictional manufacturing business considers a $100,000 equipment upgrade with a 10% required return (discount rate). Expected net cash inflows are $30,000 in Year 1, $35,000 in Year 2, $40,000 in Year 3 and $30,000 in Year 4 (Year 5 is $0).
- Discount each cash flow at 10%:
- Year 1 PV = $30,000 ÷ 1.10¹ = $27,272.73
- Year 2 PV = $35,000 ÷ 1.10² = $28,925.62
- Year 3 PV = $40,000 ÷ 1.10³ = $30,052.59
- Year 4 PV = $30,000 ÷ 1.10⁴ = $20,490.40
- Sum the present values: $27,272.73 + $28,925.62 + $30,052.59 + $20,490.40 = $106,741.34.
- Subtract the initial investment: NPV = $106,741.34 − $100,000 = $6,741.34.
- Solve for IRR: Testing discount rates shows NPV reaches $0 at 13.04%, which exceeds the 10% hurdle rate by 3.04 percentage points.
- Check payback and profitability index:
- Undiscounted payback: Cumulative inflows reach $65,000 after Year 2, leaving $35,000 to recover out of Year 3’s $40,000 inflow: 2 + ($35,000 ÷ $40,000) = 2.88 years.
- Discounted payback: Cumulative PV stands at −$13,749.06 after Year 3, recovered partway through Year 4’s $20,490.40 PV: 3 + ($13,749.06 ÷ $20,490.40) = 3.67 years.
- Profitability index: $106,741.34 ÷ $100,000 = 1.07 (each $1 invested generates $1.07 in present value).
How to interpret the result
- NPV greater than $0: The project earns more than your discount rate and increases firm value in today’s dollars. Accept standalone projects with positive NPV; reject those with negative NPV.
- IRR above the discount rate: Confirms the same accept signal for conventional cash flows (an initial outflow followed by inflows). The gap between IRR and the hurdle rate gives a rough margin of safety.
- Payback period: Shows how quickly cash comes back—useful for liquidity-constrained firms—but ignores cash flows after payback. Discounted payback accounts for the time value of money, so it is always longer than undiscounted payback whenever the discount rate is positive.
- Profitability Index above 1.00: Matches positive NPV and helps rank independent projects when capital is rationed (spending limited budget where value created per dollar is highest).
For the intuition behind discounting, see the capital budgeting lesson and time value of money. To estimate the discount rate itself, use the WACC calculator.
Limitations and assumptions
- End-of-year timing: The model assumes the upfront outlay occurs at Year 0 and every annual cash flow arrives cleanly at the end of its year. Real projects often spread cash flows monthly or quarterly.
- Cash flows, not accounting profit: Enter incremental after-tax cash flows (including working capital changes and salvage value), not accrual net income, which deducts non-cash depreciation.
- Non-conventional cash flows: Projects with large negative cash flows in later years (such as site restoration or decommissioning) can have more than one IRR. When cash flows switch signs more than once, rely on NPV.
- Sensitivity to the discount rate: Small changes in the discount rate or late-year cash-flow forecasts can swing NPV sharply. Test conservative and optimistic scenarios before committing capital.
Frequently asked questions
What should I do when NPV and IRR disagree between two projects?
Use NPV. IRR measures a percentage rate of return without accounting for project scale or differences in cash-flow timing, and it assumes intermediate cash flows can be reinvested at the IRR itself. For mutually exclusive projects, the one with the higher positive NPV adds more total dollar value.
Why can IRR show as 'n/a' for some cash-flow patterns?
IRR is the discount rate that makes NPV equal to zero. If all cash flows have the same sign (for example, all inflows with no initial outlay, or all outflows with no inflows), the NPV curve never crosses zero, so no real IRR exists.
Learn the concepts behind it
Capital Budgeting: NPV, IRR and Payback
Evaluate long-term investments with NPV, IRR, payback, discounted payback and profitability index, with a worked project table and key pitfalls.
Time Value of Money: Present and Future Value
Learn why money today is worth more than money later, and how to calculate future value, present value and discount rates, with clear worked examples.
Simple vs Compound Interest: Formulas and Examples
Understand the difference between simple and compound interest, how compounding frequency and time affect growth, the rule of 72, and how to calculate each.
Compound interest calculator
See how money grows with compounding and regular contributions, year by year.
Related dictionary terms
This calculator is an educational tool. Results depend on the inputs and assumptions shown and are not accounting, tax, lending or investment advice. Last updated .