MoneyFinancial Math

IRR
calculator.

Find the yearly return hidden in any stream of money in and money out.

Before you rely on this result.This is an estimate for planning. Banks, lenders and other providers apply their own rules, fees and rounding, so confirm figures with them before you commit to a financial decision. Sources used on this page.

How it's worked out

Money today is worth more than the same money later, so a later payment is shrunk, or discounted, by a rate. Net present value (NPV) adds up all the cash flows after that shrinking. The internal rate of return (IRR) is the rate that brings NPV to exactly zero.

NPV(r)\displaystyle \text{NPV}(r)=∑t=0nCFt(1+r)t\displaystyle {}= \sum_{t=0}^{n} \dfrac{\text{CF}_t}{(1 + r)^t}=0\displaystyle {}= 0

Here CF with a small t is the cash flow in period t, with money out as a minus, and t = 0 is today. No simple formula solves this for many periods, so the tool tries rates from −99% to 1,000%. Each time NPV changes sign, it closes in on that rate by halving the gap.

For monthly or quarterly flows, the tool solves for the rate per period, then turns it into a yearly rate. With k periods in a year:

yearly rate\displaystyle \text{yearly rate}=(1+IRR)k−1\displaystyle {}= (1 + \text{IRR})^{k} - 1

The modified IRR (MIRR) avoids a hidden assumption. Rather than treat cash received along the way as earning the IRR itself, it grows that cash at a rate you pick, and takes the money out at a rate you pick. This matches the spreadsheet function MIRR.

ratio\displaystyle \text{ratio}=future value of money inpresent value of money out\displaystyle {}= \dfrac{\text{future value of money in}}{\text{present value of money out}}
MIRR\displaystyle \text{MIRR}=ratio1/n−1\displaystyle {}=\;\text{ratio}^{1/n} - 1

Worked examples

Maya's $100,000 machine

Maya pays $100,000 now, and expects $30,000, $35,000, $40,000, $30,000 and $20,000 over five years. The IRR is 17.6%. At her 10% cost of borrowing, the NPV is $19,160, and she has her money back after 2.88 years. The MIRR at 10% is 13.92%, lower than the IRR because cash along the way earns only 10%. Open this example in the tool

A quick payback against a slow doubling

Both cost $100,000. The first pays $65,000 in each of the next two years. The second pays $200,000 once, after five years. The first has the higher IRR, at 19.43% against 14.87%. But at 10% the second adds more value: $24,184 against $12,810. They swap places at 13.04%. Open this example in the tool

Two IRRs from one set of flows

A project costs 100, returns 230 and then needs a 132 clean-up. NPV is zero at both 10% and 20%. Neither one is the real return. Between them, NPV sits just above zero: at 15% it is $0.19. So the project adds value only if your required return falls in that narrow band. Open this example in the tool

Monthly flows

Pay $5,000 and get $5,600 twelve months later. That is 0.95% a month, or 12% a year. Open this example in the tool

Reading your result

There is no IRR that is good for everyone. An IRR is good when it beats the return you need, often your cost of borrowing or what you could earn elsewhere at the same risk. If it does, NPV at that rate is above zero.

IRR rewards getting money back early, and it ignores size. A 40% return on $1,000 adds less than 15% on $1,000,000. So when two projects rank differently, finance texts such as Brealey, Myers and Allen use NPV at your real cost of money to break the tie.

MeasureQuickSlow
IRR19.43%14.87%
NPV at 10%$12,810$24,184
Money back1.3 times2 times

The profitability index is the value of money in divided by the value of money out at your rate. Over 1 means NPV is above zero. Payback is when the running total of cash turns positive, and discounted payback does the same after shrinking each flow.

You can check the tool against Microsoft's IRR page, which uses −70,000 and then 12,000, 15,000, 18,000, 21,000 and 26,000. The tool gives 8.66%, which that page shows rounded to 8.7%.

Common mistakes

  • Leaving out the sign. Money you pay needs a minus. With no minus at all, there is no IRR to find.
  • Trusting one IRR when signs flip twice. The number of IRRs can be as high as the number of sign changes. If you see two, use NPV or MIRR.
  • Reading a monthly rate as a yearly one. Multiplying by 12 is too low, since monthly returns compound. On $5,000 that becomes $5,600, the real figure is 12% a year.
  • Using uneven dates. Each row must be the same length of time. For dates that vary, use a date-based method such as the spreadsheet function XIRR.
  • Skipping a period. A year with no cash still needs a row with 0, or later flows move closer to today and the IRR comes out too high.

Questions people ask

An IRR is good when it is higher than the return you require, often your cost of capital or the return on an alternative of similar risk. If the IRR exceeds that hurdle, NPV at the hurdle rate is positive. There is no universal threshold, because required returns depend on risk.

Sources