Standard capital-budgeting project
Cash flows −1,000, +400, +400 and +400 at 10% produce NPV ≈ −5.26 and IRR ≈ 9.7010%. The project narrowly misses the hurdle.
Each preset calculates immediately; the status message links to its matching worked example.
Enter valid cash flows to evaluate the project.
| Period / date | Cash flow | Discount factor | Present value | Cumulative NPV |
|---|---|---|---|---|
| Total NPV | — | |||
—
| Annual rate | NPV |
|---|
Enter one complete period/date and amount per row. Negative values are investments or costs.
| # | Period (t) | Cash Flow | Action |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 |
Swipe sideways to edit every column.
A positive NPV means the forecast cash flows add value relative to the selected hurdle rate; a negative NPV means they fall short. A unique IRR above that hurdle supports acceptance, but NPV is generally the primary metric for mutually exclusive projects or projects of different scale. Multiple roots make IRR ambiguous, so inspect the NPV profile and MIRR.
NPV = Σ from t=0 to n of CFₜ / (1 + rₚ)ᵗ
IRR solves 0 = Σ from t=0 to n of CFₜ / (1 + IRR)ᵗ
XNPV = Σ from i=0 to n of CFᵢ / (1 + r)ʸⁱ
XIRR solves 0 = Σ from i=0 to n of CFᵢ / (1 + XIRR)ʸⁱ
Excel and Google Sheets: their periodic NPV functions commonly treat every supplied value as occurring after time zero, so add a time-zero investment separately. XNPV uses exact dates. Results can still differ because of day-count, rate conversion, date ordering or displayed rounding.
Cash flows −1,000, +400, +400 and +400 at 10% produce NPV ≈ −5.26 and IRR ≈ 9.7010%. The project narrowly misses the hurdle.
The dated preset uses milestone payments on 2025-01-01, 2025-06-15, 2026-03-01 and 2027-01-20. XNPV/XIRR use the actual dates rather than pretending the intervals are equal.
Cash flows −1,000, +300, +400 and +500 at 10% produce NPV ≈ −21.04 and IRR ≈ 8.8963%. The embedded regression check verifies both figures against the preset.
Cash flows −100, +230 and −132 have two roots: 10% and 20%. A single IRR is therefore not a reliable decision rule; use NPV at the required return, MIRR and the profile.
Reviewed by: Independent qualified finance review not yet completed. No reviewer credentials are claimed.
Updated: 18 July 2026. Method: discounted-cash-flow equations shown above; a log-spaced root scan with bisection and local-minimum refinement reports distinct detected IRR/XIRR roots, including roots where NPV touches rather than crosses zero. Precision: calculations use JavaScript double precision; money is displayed to 2 decimals, rates to 4 decimals, and unrounded values feed every downstream metric.
References: Brealey, Myers & Allen, Principles of Corporate Finance; Microsoft NPV documentation; Microsoft XNPV documentation; and Google Sheets NPV documentation.
Educational-use disclaimer: This calculator supports analysis and learning; it is not financial, tax or investment advice. Verify material decisions with qualified professionals and independent models.
A negative NPV means the forecast cash flows do not meet the selected required return; zero NPV means they exactly meet it, subject to the assumptions and forecast accuracy.
Use NPV as the primary value measure, especially for mutually exclusive projects or projects of different size. IRR is a useful supporting percentage return when it is unique.
Use a rate consistent with the cash flows, commonly a risk-adjusted required return or weighted average cost of capital. Treat the result as a sensitivity rather than a universal rate.
IRR assumes equally spaced cash flows. XIRR uses the exact dates and the selected day-count basis, so it is appropriate for irregular timing.
Cash flows that change sign more than once can produce multiple rates where NPV equals zero, while some patterns never cross zero. Review every reported root, the NPV profile and MIRR.
Modified internal rate of return finances negative cash flows at a finance rate and compounds positive cash flows at a reinvestment rate, producing one return for the modeled interval.
Use nominal cash flows with a nominal discount rate or real cash flows with a real rate, and do not mix them. Model taxes in the cash flows when the decision requires after-tax analysis.
Compare projects at the same valuation date and consistent discount rate, then generally prefer the feasible project with the highest positive NPV rather than automatically choosing the highest IRR.
Spreadsheet NPV functions commonly discount every supplied value by one period, so a time-zero investment is usually added separately. XNPV uses exact dates, and day-count, rate-conversion and rounding choices can also differ.