← All tools

NPV & IRR Calculator

Evaluate an investment from a series of cash flows. Enter one cash flow per period (the first is usually the initial outlay, a negative number), then a discount rate to get the Net Present Value, and the calculator also finds the Internal Rate of Return — the discount rate at which NPV is zero. NPV sums each cash flow discounted by (1 + r)^t; a positive NPV means the investment beats the discount rate. IRR is found by bisection, which is robust for conventional cash flows (one sign change). Use the results as a guide, not financial advice. Everything runs locally in your browser.

Enter cash flows and a discount rate.

NPV = Σ CF_t / (1 + r)^t for t = 0 … n, where r is the discount rate per period. IRR is the r for which NPV = 0, found by bisection over r in [−99.9 %, 1000 %]. For a conventional investment (one outflow then inflows) the NPV falls as r rises, so there is a single IRR. Cash flows with no sign change have no IRR; unconventional flows (multiple sign changes) can have several. Totals are nominal (undiscounted). Runs locally.