Internal rate of return from a cash-flow series
Enter an initial investment as a positive outlay and up to five later cash flows, in order. The tool finds the annual internal rate of return that makes the net present value of the series equal to zero. It is not a net-present-value, modified-IRR, or loan-amortization calculator, and it does not handle more than one sign change.
Cash flows
Formulas for IRR calculator
0 = −Initial + CF1 / (1 + IRR) + CF2 / (1 + IRR)^2 + … + CF5 / (1 + IRR)^5
The IRR is the rate that makes net present value equal to zero, found by iteration.
Where Initial = cash outflow at time 0, entered as a positive amount; CFt = cash flow at the end of year t, which may be positive, negative, or zero; IRR = internal rate of return as a decimal rate, shown as a percent.
The initial investment is treated as an outflow at t = 0. Later values are end-of-year cash flows.
A leftover year entered as 0 is a zero cash flow in that year, not a missing year.
The solver uses Newton-Raphson with a bisection fallback. It refuses when the cash-flow signs do not change exactly once, or when no root is found in (−50%, 1,000%).
Checked examples for IRR calculator
Outlay 100,000 and five inflows of 20,000. Sum of inflows equals the outlay, so IRR is 0.00%.
Outlay 100,000 and five inflows of 30,000. IRR is 15.24% (approximately 15.238%).
Outlay 50,000 then 10k, 15k, 20k, 15k, 10k. IRR is 12.26% (approximately 12.261%).
Limits of IRR calculator
The initial investment must be positive. The later cash flows must have exactly one overall sign change when the initial outflow is included, so a unique conventional IRR exists. Not a NPV, MIRR, or amortization calculator. Not for: net present value at a chosen discount rate; modified IRR (MIRR); loan payments, amortization, or mortgage refinance; cash-flow series with more than one sign change (multiple IRRs).
OpenStax Principles of Finance, 16.3 Internal Rate of Return (IRR) Method.