NPV and IRR calculator
Calculate net present value, internal rate of return, payback period and profitability index from a list of periodic cash flows.
NPV and IRR calculator
Paste a list of periodic cash flows, one amount per line, and this tool calculates net present value (NPV), internal rate of return (IRR), the payback period, the discounted payback period and the profitability index — all at once, with a full breakdown by period underneath. It is built for anyone evaluating a project, an investment or a purchase: does this initial outlay pay off, and how does it compare with an alternative that discounts value differently?
The discount rate sets how future cash flows are brought back to today's value, and the period length (year, quarter or month) decides what each line represents and how the payback figures are expressed. With "Enter initial investment separately" off, the first line of the pasted list is treated as period 0 — usually a negative number for the initial outlay; turn it on to keep that amount in its own field instead and paste only the inflow periods. Turn on Modified IRR to add an MIRR figure using a separate reinvestment rate for positive cash flows, alongside the ordinary IRR. The sensitivity table recomputes NPV at a handful of other discount rates you list, so you can see at a glance how sensitive the result is to that assumption.
Lines can use a leading minus sign or accounting-style parentheses for an outflow, and currency symbols or thousands separators are ignored when a number is parsed — "$-1,000" and "(1000)" both read as −1000. A line that isn't a recognizable amount is skipped and counted separately rather than breaking the whole calculation. Output format switches between a labeled report and a comma-separated table that pastes cleanly into a spreadsheet.
Everything runs locally in your browser — cash flows, rates and results are never uploaded anywhere. When you are done, copy the result, download it as a .txt file, or send it to the input of another tool to keep working with the numbers.