# Excel IRR Function

Internal Rate of Return

The Internal Rate of Return (IRR) provides an indication of the profitability of an investment and therefore, is commonly used in business, when choosing between investments.

This measurement uses a series of cash flows (an initial investment, along with the net income) over a number of periods, to calculate the compounded return, assuming the Net Present Value of the investment is zero.

The value of the IRR is calculated as the value of r that satisfies the following equation: where the series of cash flows provide the values for Cn and N is the number of periods over which the returns have been made.

For a full explanation of the IRR, see the Wikipedia Internal Rate of Return page

## Function Description

The Excel IRR function returns the Internal Rate of Return for a supplied series of periodic cash flows (i.e. an initial investment value and a series of net income values).

The syntax of the function is:

IRR( values, [guess] )

Where the arguments are as follows:

 values - An array of values (or a reference to a range of cells containing values) representing the series of cash flows (investment and net income values).This must include at least one negative value (representing outgoing payment) and at least one positive value (representing income). [guess] - An initial guess at what the IRR might be. This is an optional argument, which, if omitted, takes on the default value of 0.1 (=10%).(Note: This is only a value for Excel to start off working with - Excel then uses an iterative procedure to converge to the IRR).

## Irr Function Example

In the spreadsheet below, an initial investment of \$100 is shown in cell B1 and the net income over the next 5 years is shown in cells B2-B6.

The IRR function in cell C2 shows the calculation of the Internal Rate of Return after 3 years and the function in cell C4 shows the Internal Rate of Return after 5 years.

Formula:
ABC
1Initial Investment:-\$100.00IRR after 3 yrs:
2Year 1 Income:\$20.00=IRR( B1:B4 )
3Year 2 Income:\$24.00IRR after 5 yrs:
4Year 3 Income:\$28.80=IRR( B1:B6 )
5Year 4 Income:\$34.56
6Year 5 Income:\$41.47
Result:
ABC
1Initial Investment:-\$100.00IRR after 3 yrs:
2Year 1 Income:\$20.00-14%
3Year 2 Income:\$24.00IRR after 5 yrs:
4Year 3 Income:\$28.8013%
5Year 4 Income:\$34.56
6Year 5 Income:\$41.47

Note that, in the above example, the initial investment is a negative value, as this is an outgoing payment, and the income payments are represented by positive values.

For further information and examples of the Excel Irr function, see the Microsoft Office website.

## Irr Function Error

If you get an error from the Excel Irr function, this is likely to be the #NUM! error:

Common Error
 #NUM! - Occurs if either:The supplied values array does not contain at least one negative and at least one positive valueorThe calculation fails to converge after 20 iterations.