Returns a value specifying the internal rate of return

IRR returns a value specifying the internal rate of return for a series of periodic cash flows (payments and receipts).

The internal rate of return is the interest rate received for an investment consisting of payments and receipts that occur at regular intervals.

The IRR function uses the order of values within the array to interpret the order of payments and receipts. Be sure to enter your payment and receipt values in the correct sequence. The cash flow for each period does not need to be fixed, as it is for an annuity.

IRR is calculated by iteration. Starting with the value of Guess, IRR cycles through the calculation until the result is accurate to within 0.00001 percent. If IRR cannot find a result after 20 tries, it fails.

Internal rate

Value Array

Array of Double specifying cash flow values. The array must contain at least one negative value (a payment) and one positive value (a receipt).

Guess

Object specifying value you estimate will be returned by IRR. The default guess is 0.1 (10 percent).

With the "*RedCrab Calculator*" use the "*IRR*" function for the
calculation of the internal rate.

a=[123,-167,222,-234]

IRR(a,0.1)=0.187