IRR is the annual return an investment earns — the discount rate at which its cash flows break even (NPV = 0). It turns a stream of outflows and inflows into a single “this project returns X%” number you can compare to a hurdle rate.
The example
Invest $1,000, then receive cash for 4 years.
| A | B | |
|---|---|---|
| 1 | Year | Cash flow |
| 2 | 0 | -$1,000 |
| 3 | 1 | $300 |
| 4 | 2 | $400 |
| 5 | 3 | $500 |
| 6 | IRR: | ~10.6% |
The formula
The internal rate of return:
How it works
IRR finds the rate that makes the deal break even:
- List the cash flows in time order, starting with the negative initial investment, then the inflows — one per equal period.
IRR(range)solves for the discount rate where the NPV of those flows equals zero.- That rate is the project’s annual return: ~10.6% here. Compare it to your hurdle rate — above it, the project clears the bar.
- IRR assumes evenly spaced periods. For irregular dates, use XIRR instead.
IRR can mislead. Cash flows that flip sign more than once can have multiple IRRs (or none), and IRR assumes you reinvest at the IRR itself. For tricky streams, cross-check with NPV at your actual rate, or use MIRR.
Try it: interactive demo
Adjust the initial investment; watch the IRR move.
Variations
Provide a guess
Help IRR converge on tricky data:
Cross-check with NPV
NPV at your real rate should be near 0 at the IRR:
Irregular dates? XIRR
When periods aren’t equal:
Pitfalls & errors
#NUM! — can’t converge. IRR needs at least one negative and one positive flow, and may need a guess argument for unusual streams.
Order and spacing matter. Flows must be in time order, one per equal period. Out-of-order or irregular timing gives wrong results — use XIRR for real dates.
Multiple IRRs. If the sign of the cash flow changes more than once, several rates can satisfy NPV=0. Validate with NPV or MIRR.
Practice workbook
Frequently asked questions
How do I calculate IRR in Excel?
Why does IRR return #NUM!?
When should I use XIRR instead of IRR?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class