IRR

IRR('Node' [, Guess])

In Finance functions

The IRR function calculates the internal rate of return (IRR), a metric of profitability for potential investments. Internal rate of return is a discount rate that sets the net present value (NPV) of all future cash flows of the investment equal to zero. An approximate solution is found using numerical iteration.

Use this function when you need to find the discount rate at which an investment’s cash flows break even (NPV = 0).

Parameters

NodeNode referenceRequired
Yearly cash flows. At least one of the cash flows must be negative and at least one positive.
GuessNumberOptional
A first guess at the rate. Default: 10%.

Example

IRR of a project with mixed cash flows

This example calculates the internal rate of return for a project with an initial investment and subsequent positive cash flows.

Input node: 'CF'

YearValue
2025-10000
20261155
20275000
20287000

Our goal is to find a discount rate with which the discounted cash flows sum up to zero:

image2018-7-24_10-39-30.png

Formula: IRR('CF')

YearIRR Result
2027-23%
202812%

The IRR function tells us the rate is 12%. The result for cash flows up to year 2027 is not interesting for us and can be filtered out with the FILTER function.

See also

NPV
When you need the net present value at a known discount rate rather than solving for the rate.
CAGR
When you need compound growth over N periods rather than the break-even discount rate.
Was this page helpful?