IRR Calculator

Use this IRR Calculator to work out the internal rate of return of a project from its cash flows — plus the net present value at your discount rate, the modified internal rate of return (MIRR) and the payback period. Enter the initial investment, the annual cash inflows, your hurdle rate and the MIRR rates below.

IRR is the discount rate that makes a project’s net present value exactly zero. If the IRR beats your cost of capital, the project adds value — but always check the NPV and MIRR too, because IRR alone can mislead.

IRR Calculator

IRR: 15.24%

NPV at the discount rate: $1,372.36

MIRR: 11.97%

Payback period: 3.33 years (3 years 4 months)

Discounted payback: 4.26 years (4 years 3 months)

Total cash received: $15,000.00

Total profit: $5,000.00

Formula

IRR is the rate r solving NPV = Σ CF_t ÷ (1+r)^t = 0; MIRR = (FV of inflows at reinvestment rate ÷ PV of outflows at finance rate)^(1/n) − 1

  • NPV discounts every cash flow back to today at your hurdle rate and adds them up (year 0 is today, so it is not discounted). A positive NPV means the project adds value at that rate.
  • IRR is the discount rate that makes NPV exactly zero. There is no closed-form solution for more than a couple of periods — the widget solves it by iteration (see solver spec). Accept a conventional project when IRR exceeds your cost of capital.
  • MIRR fixes IRR's unrealistic assumption that interim cash is reinvested at the IRR itself: inflows compound forward at the reinvestment rate and outflows are discounted back at the finance rate. MIRR is always lower than IRR when the reinvestment rate is below the IRR, and it gives exactly one answer even when plain IRR does not.
  • Payback = years until cumulative undiscounted inflows cover the outlay (fractional year pro-rata). Discounted payback does the same with discounted inflows — it is always longer.
  • If all cash flows have the same sign, no IRR exists — the widget must say so plainly, never invent a rate. If cash flows change sign more than once, multiple IRRs can exist — warn and show MIRR/NPV instead.

Solver note: the widget solves for IRR by Newton–Raphson from a 10% starting guess (central-difference derivative, tolerance 1e-12, up to 100 iterations), with a bisection fallback on [−99%, +1000%] (200 iterations, until |NPV| < 1e-8). If the NPV does not change sign across that bracket, the widget reports 'no IRR' instead of inventing a rate.

Worked Example

Invest $10,000 now, receive $3,000 at the end of each of the next 5 years; discount (hurdle) rate 10%; MIRR finance rate 10%, reinvestment rate 8%.

  1. Total cash received: 5 × $3,000 = $15,000; total profit $15,000 − $10,000 = $5,000 (undiscounted — this is NOT the return).
  2. NPV at 10%: PV of inflows = $2,727.27 + $2,479.34 + $2,253.94 + $2,049.04 + $1,862.76 = $11,372.36; NPV = $11,372.36 − $10,000 = +$1,372.36.
  3. IRR: NPV at 15% is +$56.47, at 16% is −$177.12 — the zero sits between them at 15.24% (15.2382% unrounded).
  4. MIRR: inflows compounded at 8% to year 5 are worth $17,599.80; ($17,599.80 ÷ $10,000)^(1/5) − 1 = 11.97%. Payback: $10,000 ÷ $3,000 = 3.33 years (3 years 4 months); discounted payback at 10% = 4.26 years.

Answer: 15.24% IRR — it beats the 10% hurdle, so the project adds $1,372.36 of value.

A second case with uneven inflows: invest $50,000; inflows $12,000, $14,000, $16,000, $18,000, $20,000 in years 1–5. NPV at 10% = $9,213.04 (PVs $10,909.09 + $11,570.25 + $12,021.04 + $12,294.24 + $12,418.43 = $59,213.04, minus $50,000). IRR 16.36%; MIRR at 8% finance / 8% reinvestment = 12.99% (FV of inflows $92,064.24); payback = 3 + $8,000 ÷ $18,000 = 3.44 years.

NPV at Different Discount Rates

The table shows the NPV of the worked example — $10,000 out, $3,000 a year for 5 years — at different discount rates. The NPV is zero at the IRR of 15.24%.

Discount rate NPV Verdict vs 15.24% IRR
8% $1,978.13 Accept
10% $1,372.36 Accept
12% $814.33 Accept
15% $56.47 Accept (barely)
20% −$1,028.16 Reject

IRR by Annual Inflow

The table shows how the IRR, the NPV at 10% and the payback change as the annual inflow rises — $10,000 out, 5 years.

Annual inflow IRR NPV at 10% Payback
$2,500 7.93% −$523.03 4.00 years
$3,000 15.24% $1,372.36 3.33 years
$3,500 22.11% $3,267.75 2.86 years
$4,000 28.65% $5,163.15 2.50 years

Frequently Asked Questions

What is IRR?

The internal rate of return is the discount rate that makes a project's net present value exactly zero. Invest $10,000, get $3,000 a year for 5 years, and the IRR is 15.24% a year. If your cost of capital is below that, the project adds value.

What is the difference between IRR and NPV?

IRR is a rate — what the project earns. NPV is a dollar amount — how much value it adds at your discount rate. A project can have a high IRR but a small NPV (a small project), so use both: accept when IRR beats the hurdle AND NPV is positive.

What is MIRR and when should I use it?

The modified IRR assumes interim cash is reinvested at a realistic rate (here 8%) instead of at the IRR itself, and outflows are financed at the finance rate. For the worked example, MIRR is 11.97% versus IRR 15.24% — the more defensible number for a business case, and the only one that always gives a single answer.

What is payback period — and what does it miss?

The time until cumulative cash inflows cover the initial outlay: 3.33 years here (3 years 4 months). It is simple but ignores the time value of money and everything after payback — discounted payback (4.26 years) fixes the first flaw, NPV fixes both.

More Calculators

Latest Videos

Watch this explainer on the internal rate of return: