Excel function

IRRfunction

Returns the internal rate of return: the rate that makes the net present value of cash flows zero.

All versions
=IRR(B2:B7)
A
B
C
D
1
2
3
4
5
6
7

Drag the corner dots to change values. Shrink the range to B2:B6. Looking only up to year 4, the investment is not fully recovered and IRR is about -2.1%. Try breaking it on purpose to see the errors.

Result

0.086630948

values
B2:B7Drag a corner dot up/down to resize, sideways to change the column

Cash flows in period order, starting with the initial investment (-). There must be at least one positive and one negative value.

guess

Your estimate of where the answer is. Empty means 10% (0.1).

What is the IRR function?

=IRR(values, [guess])

IRR finds the internal rate of return: the rate at which the investment and the later income, all discounted at that rate, add up (net present value) to exactly 0. If it is higher than the return you expect, the investment is considered worthwhile.

The amounts can differ, but the intervals must be regular, such as monthly or yearly. Check column D above to see each amount discounted at the IRR so the total comes to 0.

Arguments

values
The range of cash flows. They are read in order, so put the investment (-) first. Text, logical values and blank cells are skipped.
guess
Omitted means 10%. According to Microsoft, if no answer is found in 20 tries you get #NUM!, so try changing it then.

IRR examples

  1. Example 1. Example from Microsoft: 5 years

    =IRR(B2:B7)

    Investing 70000 and receiving income for 5 years gives about 8.7%.

  2. Example 2. Up to year 4 only

    =IRR(B2:B6)

    About -2.1%. By year 4 the investment is not fully recovered.

  3. Example 3. 2 years with a guess

    =IRR(B2:B4, -10%)

    Microsoft's example: about -44.4%. When the result is very negative, a guess helps it find the answer.

Common mistakes

FAQ

How does it relate to NPV?
IRR is the discount rate that makes NPV 0. Microsoft also explains that NPV(IRR(values), values) is effectively 0.
Monthly cash flows?
The IRR is then a monthly rate; convert it to an annual rate with (1+monthly IRR)^12-1.