Calculator · Corporate finance

IRR and MIRR calculator

The internal rate of return is the yearly rate at which a project's NPV equals zero. Enter the cash flows to find it. The calculator also gives the modified IRR, which avoids the two well-known problems with IRR: some cash flows have more than one answer, and plain IRR assumes every inflow is reinvested at the IRR itself.

Find the IRR for your cash flows

Cash flows

Money you pay is negative, money you receive is positive. Year 0 is today.

Rate at which outflows are discounted back to today.

Rate earned when inflows are reinvested until the last year.

Internal rate of return24.89%The rate that makes NPV equal zero.
Modified IRR (MIRR)19.41%Always one answer, and it uses a realistic reinvestment rate.
Future value of inflows
$2,033.30
Present value of outflows
$1,000.00
Sign changes in cash flows
1

Estimate for learning, not financial advice. Nothing you type here is sent or saved.

Try one yourself

An investment costs $1,000 today and pays one lump sum of $2,480 at the end of year 5, with nothing in between.

Counts as correct if it is within 0.05 percentage points. Use a calculator.

What IRR and MIRR measure

IRR is the discount rate that makes the present value of the inflows equal the present value of the outflows. There is no direct formula for it once there are more than two cash flows, so calculators search for the rate by trial and refinement. This one scans from -99% to 10,000% and reports every rate it finds.

MIRR changes the setup. It compounds all the inflows forward to the final year at a reinvestment rate you choose, discounts all the outflows back to today at a finance rate, and then finds the single rate that links the two amounts.

Formulas

IRR: the r that solves 0 = CF0 + CF1/(1+r) + ... + CFn/(1+r)^n. MIRR = (FV of inflows at the reinvestment rate / PV of outflows at the finance rate)^(1/n) - 1, where n is the number of periods. Both are standard textbook definitions, found for example in Berk and DeMarzo, Corporate Finance.

A worked example

A project costs $1,000 today and returns $300, $400, $500 and $600 over the next four years. Net present value falls as the discount rate rises, and the IRR is the rate where it reaches zero.

NPV of the project at different discount rates.
Discount rateNPV
0%$800.00
10%$388.77
20%$106.48
24.89% (the IRR)$0.00
30%-$94.88

For the MIRR, suppose inflows can be reinvested at 10% and the finance rate is 8%. The inflows grow to $300(1.10)^3 + $400(1.10)^2 + $500(1.10) + $600 = $2,033.30 by year 4. The only outflow is the $1,000 today. MIRR = (2,033.30 / 1,000)^(1/4) - 1 = 19.41%. The finance rate does not matter here because the only outflow is today. The MIRR is lower than the 24.89% IRR because it assumes the interim cash earns 10%, not 24.89%.

When IRR gives two answers or none

Each time the cash flows switch between negative and positive, the NPV curve can cross zero once more. A project with a cost, a payoff and then a cleanup bill is a typical case. The flows -$1,000, +$5,000, -$6,000 have two IRRs, 100% and 200%, and both are correct solutions. The calculator lists them and warns you, because an answer that is not unique cannot rank projects.

Some cash flows have no IRR at all. If every flow is positive, or every flow is negative, no rate can bring NPV to zero. The same happens for some mixed patterns such as +$100, -$50, +$50. In those cases the calculator says there is no solution instead of showing a number. MIRR still works whenever there is at least one inflow and one outflow.

Mistakes to avoid

  • Ranking projects of different sizes by IRR. A small project can have a high IRR and add little value. Compare NPVs.
  • Reading IRR as the rate you will actually earn. That is true only if every inflow can be reinvested at the IRR, which is why MIRR exists.
  • Reporting one IRR when the cash flows change sign more than once.
  • Entering the investment as a positive number. The initial outlay must be negative.
  • Comparing the IRR against the wrong hurdle rate. The right one is the project's required return, usually the WACC when the risk is average.

Estimate for learning, not financial advice. Inputs stay in your browser and are not sent or stored.

Questions

Quick answers.

What does it mean when the calculator says there is no IRR?

No discount rate between -99% and 10,000% sets NPV to zero for those cash flows. Either the flows never change sign, so the project only costs money or only pays money, or the pattern is one where NPV never crosses zero. Check the signs first, then use NPV at your required return.

Why is the MIRR lower than the IRR?

For a normal project the IRR is above the reinvestment rate. MIRR assumes interim cash earns the reinvestment rate you set, so the blended result lands between the two rates. When the IRR is below the reinvestment rate the MIRR comes out higher.

Which reinvestment rate should I use?

Use what the company could realistically earn on spare cash at the same risk, often the WACC or the required return in the problem. In an exam, use the rate the question gives you.

Can IRR be negative?

Yes. If the inflows add up to less than the outflows, the project loses money and the IRR is below zero. Try -$100, +$30, +$30, which has an IRR of about -28.21%.

Working through a problem like this one for a class? I tutor finance one-on-one on Zoom. Private sessions with Chi Odogwu are $250 an hour.

Book your first session
Book a session →