How to use IRR in Excel
IRR returns the internal rate of return — the discount rate at which the NPV of the cash flows equals zero. It shows the yield of a project or investment as one percentage you can compare with your cost of capital.
Syntax
=IRR(values, [guess])
values | A range with all cash flows in time order, including the year-0 investment. Needs at least one negative and one positive value. |
[guess] | Optional. A starting guess for the iteration (default 10%). Only needed if IRR returns #NUM!. |
Examples
=IRR(B2:B6)Return of a project with yearly cash flows.=(1+IRR(C2:C61))^12-1Annual return from monthly cash flows.=NPV(IRR(B2:B6), B3:B6)+B2Check: the NPV at the IRR is 0.What return does the investment give?
IRR needs at least one negative and one positive cash flow: the money you put in and the money you get back. It returns a yearly rate when the flows are yearly.
=IRR(C2:C7)-100,000 today and five years of returns: the yearly return of the project.=IF(IRR(C2:C7)>8%, "Above target", "Below target")Compare it with your required return.The real cost of a loan with fees
A loan with an upfront fee costs more than its interest rate. Put the amount you actually receive as positive and the payments as negative, and IRR shows the true monthly rate.
=IRR(C2:C62)C2: the amount received minus fees, C3:C62: 60 monthly payments as negative numbers.=(1+IRR(C2:C62))^12-1That monthly rate as an effective annual rate.Irregular dates
IRR assumes the flows are evenly spaced. With real payment dates, XIRR gives the annual rate directly.
=XIRR(C2:C10, B2:B10)The annual return with the dates in B2:B10.Common mistakes
- #NUM! error
- All cash flows have the same sign, or Excel couldn't converge. Check for a negative investment and try a guess, e.g.
=IRR(B2:B6, 0.2). - Monthly IRR looks tiny
- With monthly cash flows IRR is a monthly rate. Convert it:
=(1+IRR(range))^12-1. - Uneven dates
- IRR assumes equal periods. For real dates use
XIRR(values, dates).
Tips
- When comparing projects of different size, look at NPV too — a small project can have a higher IRR but create less value.
Frequently asked questions
Why does IRR return #NUM!?
The cash flows don't change sign (all positive or all negative), or Excel can't find an answer in 20 tries. Check the signs, or give a starting guess: =IRR(C2:C7, 10%).
Why is my monthly IRR so small?
With monthly cash flows IRR returns a monthly rate. Turn it into a yearly one with =(1+IRR(C2:C62))^12-1.
What's the difference between IRR and XIRR?
IRR assumes equal periods. XIRR uses the actual date of each cash flow and always returns an annual rate.
How do I check an IRR?
At the IRR, the net present value is zero: =NPV(IRR(C2:C7), C3:C7)+C2 should give 0. See NPV.
Available in: All versions of Excel, Excel for the web, Google Sheets