Guide · Returns

How to calculate IRR

Short answer: the internal rate of return (IRR) is the yearly discount rate at which the net present value (NPV) of all cash flows of an investment is exactly zero. You find it by trial and error (or with Excel's =IRR()): try a rate, compute the NPV, and adjust the rate until the NPV hits zero.

The IRR formula

0 = CF0 + CF1 / (1 + IRR) + CF2 / (1 + IRR)2 + … + CFn / (1 + IRR)n

CF0 is the money you put in (a negative number) and CF1 to CFn are the cash flows you get back each year. There is no way to rearrange this equation into "IRR = …" when there are several cash flows, which is why IRR is always solved numerically.

Worked example

You invest 100 today and receive 10, 20, 30, 40 and 120 at the end of years 1 to 5.

Rate triedNPVWhat it tells you
10%+50.0Positive: the IRR is higher than 10%
20%+7.1Still positive: a bit higher
25%−8.1Negative: too high
22.2%≈ 0This is the IRR

So this investment returns about 22.2% a year. Total cash back is 220 on 100 invested, a 2.2x multiple, but because most of the money arrives late the IRR is lower than a quick glance suggests.

Three ways to calculate it

  1. Excel or Google Sheets: put the cash flows in one column (the investment as a negative number first) and use =IRR(A1:A6). If the cash flows are on irregular dates, use =XIRR(values, dates).
  2. A calculator: enter the investment and the yearly cash flows in the IRR and NPV calculator; it also draws the NPV curve and shows where it crosses zero.
  3. Mental math (one cash flow in, one out): IRR = MOIC1/years − 1. Doubling your money in five years is 21/5 − 1 ≈ 14.9%. This is the shortcut used in paper LBO interviews.

Shortcut table: multiple to IRR

Multiple3 years5 years7 years
1.5x14.5%8.4%6.0%
2.0x26.0%14.9%10.4%
2.5x35.7%20.1%14.0%
3.0x44.2%24.6%17.0%

Common mistakes

  • Ignoring timing. The same total cash received earlier gives a higher IRR. Use XIRR when cash flows are not exactly one year apart.
  • Comparing IRRs of different sizes. 50% on 1,000 creates less value than 20% on 1,000,000. Look at NPV as well.
  • Cash flows that change sign more than once. Then there can be several IRRs, or none. NPV at a sensible discount rate still works.
  • Treating IRR as a guaranteed yearly return. IRR implicitly assumes interim cash can be reinvested at the same rate, which is often unrealistic.

FAQ

What is a good IRR?
It depends on the risk. An investment should earn more than its cost of capital. As a rough guide, private equity buyout funds often target around 20% or more gross, while a safe corporate project might be fine at 8 to 12%.
What is the difference between IRR and ROI?
ROI (or MOIC) says how much money you made in total; IRR says how fast you made it, as a yearly rate that accounts for when each cash flow happens.
Can IRR be negative?
Yes. If you get back less than you invested, the IRR is negative.
What is the Excel formula for IRR?
=IRR(range) for evenly spaced yearly cash flows, with the investment as a negative first value, and =XIRR(values, dates) for cash flows on specific dates.