The rate that sets NPV to zero
Internal rate of return is the annual discount rate at which this equal-period project’s NPV is $0. Compare that rate with a required return: if IRR is higher, NPV at the hurdle rate is positive. XIRR annualizes dated irregular cash flows. ROI divides undiscounted profit by cost and is not a rate of return over time.
At IRR = 0%, total inflows equal the investment
Example
Invest $100,000 and receive $30,000 a year for 5 years. IRR is about 15.24%. Total inflows are $150,000, so the undiscounted surplus is $50,000. If the investment equals those five inflows at $150,000, IRR is 0%. If the investment is $200,000, IRR is negative.
What this solver leaves out
Annual cash flow must be positive so the project can recover the outlay. Unequal yearly amounts, a terminal sale, and monthly timing stay outside this Excel-style IRR on equal periods. Multiple sign changes can produce more than one IRR; this page uses one outflow then n inflows, so the root is unique.