Skip to content

irr

Internal rate of return for a series of cash flows.

v = irr(values, guess)

Returns the discount rate at which the NPV of values is zero. values must contain at least one positive and one negative entry. guess (default 0.1) is the iteration starting point.

irr([-70000 12000 15000 18000 21000 26000])
  • xirr — Internal rate of return with irregular cash-flow dates.
  • mirr — Modified internal rate of return.
  • npv — Net present value of a stream of cash flows.