How to use and interpret the calculator
- Enter your cash flows (negative for investments, positive for returns).
- Choose equal periods for regular timing or exact dates for XNPV and XIRR.
- Enter the required annual return and confirm the rate convention and day-count basis.
- Select Calculate, then review the decision summary, supporting metrics, sensitivity profile and calculation audit.
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.
Core formulas
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)ʸⁱ
- CFₜ or CFᵢ
- Cash flow at period t or date i.
- t
- Number of equal periods from time zero.
- rₚ
- Periodic discount rate. For an effective annual rate, rₚ = (1 + r)1/m − 1; for nominal APR, rₚ = APR/m, where m is 1, 4 or 12.
- r
- Effective annual discount rate used by XNPV.
- yᵢ
- Year fraction between the base date and cash-flow date under Actual/365 or Actual/Actual.
- n
- Final period or cash-flow index.
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.
Examples and edge cases
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.
Irregular dated cash flows
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.
Verified negative-NPV case
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.
Multiple-IRR case
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.
Limitations
- Outputs depend on forecast cash flows and the selected rate; they do not model uncertainty, financing constraints or scenario probabilities.
- Payback ignores cash flows after recovery, and undiscounted payback ignores the time value of money.
- Profitability index can help under capital rationing but can rank mutually exclusive projects differently from NPV.
- Keep nominal cash flows with nominal rates, or real cash flows with real rates. Add taxes to the cash flows when after-tax analysis is required.
