IRR calculator

An IRR calculator finds the yearly rate at which an investment's cash flows are worth exactly what it cost. A $70,000 business that earns $12,000, $15,000, $18,000, $21,000 and $26,000 over five years has an IRR of 8.66%, below a 10% required return.

Calculator

Internal rate of return

Yearly, quarterly, monthly or on exact days; every IRR is found, not just one

Cash flow timing
$
%

Cash flows after the start (negative for a later outlay; leave unused rows blank)

$
$
$
$
$
$
$
$
$
$
$
$

MIRR rates (a year)

%
%

The internal rate of return is 8.66% a year. That is below your 10.00% required return, and the NPV at 10.00% is −$2,683.31.

IRR (annual)8.66%the rate where NPV = 0
NPV at 10.00%−$2,683.31earns less than the required return
MIRR (annual)9.87%costs at 10.00%, inflows reinvested at 12.00%
Money multiple1.31×$92,000 back on $70,000 out
Payback5.00 yearsnet cash $22,000.00

Spreadsheet check: =IRR(values) = 8.6631%; =MIRR(values, 10.00%, 12.00%) = 9.8669%.

−$20K$0$20K$40K0%5%11%16%21%
  • NPV at each discount rate
  • IRR (NPV = 0)
Cash flow table (present values at the IRR add up to zero)
WhenYears from startCash flowPV at the IRRPV at 10.00%Cumulative cash
Start0.000−$70,000.00−$70,000.00−$70,000.00−$70,000.00
Year 11.000$12,000.00$11,043.31$10,909.09−$58,000.00
Year 22.000$15,000.00$12,703.61$12,396.69−$43,000.00
Year 33.000$18,000.00$14,028.99$13,523.67−$25,000.00
Year 44.000$21,000.00$15,062.29$14,343.28−$4,000.00
Year 55.000$26,000.00$17,161.81$16,143.95$22,000.00

Formula. IRR is the annual rate R that solves 0 = −C0 + Σ CFi ÷ (1 + R)ti, with ti in years (period ÷ periods a year, or days ÷ 365). MIRR = (inflows grown to the end at the reinvestment rate ÷ outflows discounted to today at the finance rate)1/T − 1.

On this page
  1. How to calculate IRR
  2. How to calculate IRR by hand: a step-by-step example
  3. IRR vs required return: the decision rule
  4. Monthly and quarterly IRR, and XIRR for exact dates
  5. MIRR, and why one project can have two IRRs
  6. Related calculators
  7. FAQ
  8. Sources

How to calculate IRR

To calculate IRR, find the discount rate that makes the net present value of every cash flow, including the initial cost, equal to zero. There is no algebraic formula once there are more than two cash flows, so spreadsheets and this calculator search for the rate: Excel starts at a 10% guess and repeats until the answer is accurate within 0.00001 percent, giving up after 20 tries.[1]

0=−C0 + CF1(1 + IRR) + CF2(1 + IRR)2 + … + CFn(1 + IRR)nIRR formula: the rate that sets NPV to zero

This calculator checks the NPV at every rate between −99% and 1,000% a year and refines each sign change, so it reports every IRR instead of the one nearest a guess. It was tested against Microsoft's published examples:[1][3][2]

Example (Microsoft Support)Excel showsThis calculator
IRR, $70,000 business after five years8.7%8.6631%
IRR, same business after four years−2.1%-2.1245%
IRR after two years (needs a −10% guess in Excel)−44.4%-44.3507%
MIRR, $120,000 at 10% finance, 12% reinvestment13%12.6094%
MIRR, same with 14% reinvestment13%13.4759%
XIRR, $10,000 with four dated returns37.34%37.3363%

The cash flow table under the result proves the answer: discounted at the IRR, the present values add up to zero. Excel needs a guess for the two-year case because −44% is far from its 10% starting point; a grid search has no such blind spot.

How to calculate IRR by hand: a step-by-step example

By hand, you calculate IRR by trying two discount rates, one that gives a positive NPV and one that gives a negative NPV, and interpolating between them. Take an investment of $1,000 today that returns $500, $400 and $300 over the next three years:

  1. Write the NPV equation set to zero: 0 = −1,000 + 500 ÷ (1 + r) + 400 ÷ (1 + r)2 + 300 ÷ (1 + r)3. The r that solves it is the IRR.
  2. Try a first rate, 10%: the present values are $454.55, $330.58, $225.39, so NPV = $10.52. Positive, so the IRR is higher than 10%.
  3. Try a higher rate, 12%: the present values are $446.43, $318.88, $213.53, so NPV = −$21.16. Negative, so the IRR lies between 10% and 12%.
  4. Interpolate: IRR ≈ 10% + 2% × 10.52 ÷ (10.52 + 21.16) = 10.66%.
  5. Check: the exact IRR is 10.652%; the straight-line estimate is a little off because NPV curves rather than falls in a straight line. Narrow the two rates and repeat for more accuracy, or enter the cash flows above and let the calculator do it.
Discount ratePV of year 1PV of year 2PV of year 3NPV
10%$454.55$330.58$225.39$10.52
10.652% (IRR)$451.87$326.70$221.44$0.00
12%$446.43$318.88$213.53−$21.16

IRR vs required return: the decision rule

Accept a single project when its IRR is higher than your required return (the hurdle rate), because then its NPV at that rate is positive.[4] The $70,000 business earns 8.66%, so at a 10% hurdle its NPV is −$2,683.31: the cash comes back, but more slowly than a 10% alternative would pay. The NPV profile chart shows the same thing: the curve crosses zero at the IRR, and any rate left of the dot gives a positive NPV.

When you must choose between two projects, OpenStax recommends the one with the higher NPV, not the higher IRR: IRR ignores how many dollars a project adds, so a small project with a high IRR can lose to a large one with a lower IRR.[6] The NPV calculator ranks projects in dollars at your rate.

Monthly and quarterly IRR, and XIRR for exact dates

With monthly cash flows, Excel's IRR() returns a rate per month, and it must be compounded to a yearly figure, not multiplied by 12.[1] $10,000 that returns $900 a month for 12 months has a monthly IRR of 1.204%:

Way to annualizeFormulaResult
Effective annual IRR (this calculator)(1 + monthly IRR)12 − 115.45%
Nominal (APR-style)monthly IRR × 1214.45%

The effective rate is the one to compare with a yearly IRR or a hurdle rate; the nominal rate understates it by 1.00 points here. It is the same gap as between APR and APY on the APY calculator.

When cash arrives on irregular dates, choose "Exact days" and enter each date as days after the start. Excel's XIRR() uses the same convention, a 365-day year, and gives 37.34% for Microsoft's $10,000 example (returns on days 60, 303, 411 and 456).[2] Count days with any date calculator or with =B3-B2 in a spreadsheet.

MIRR, and why one project can have two IRRs

MIRR answers the main complaint about IRR: IRR assumes the cash a project returns can be reinvested at the IRR itself. MIRR discounts the outlays at a finance rate (what the money costs you) and grows the inflows to the end at a reinvestment rate (what they will really earn), then finds the single rate between the two.[3][5] In Microsoft's example the plain IRR is 13.07%, but with profits reinvested at 12% the MIRR is 12.61%.

Cash flows that change sign more than once can have several IRRs. −$350, +$950, −$620 has two, 9.18% and 62.25%, and the rule "accept if IRR beats the hurdle" stops working.[4] Spreadsheets return whichever root is nearest the guess without warning you; this calculator lists both and points you to NPV and MIRR, which always give one answer.

Common mistakesMultiplying a monthly IRR by 12. Leaving out a later outlay (a roof, a balloon payment) because it is negative: enter it as a negative cash flow. Comparing the IRR of a 2-year and a 10-year project as if both returns lasted equally long. Treating IRR as the return on all your money when only part of it stays invested.

To value cash flows in dollars at your own rate use the NPV calculator, and for the math behind it the NPV formula guide. To measure what an investment you already sold returned, use the rate of return calculator; for growth between just two values, the CAGR calculator; for level payments, the TVM calculator.

Frequently asked questions

How do you calculate IRR?

Find the discount rate that makes the net present value of all cash flows zero, by trial and error or with a calculator. $70,000 returning $12,000 rising to $26,000 over five years has an IRR of 8.66%.

What is a good IRR?

One above your required return: the rate you could earn on an alternative of similar risk, or your cost of capital. An IRR below it means a negative NPV at that rate.

What is the difference between IRR and XIRR?

IRR assumes equal periods between cash flows. XIRR takes the exact date of each one and counts a 365-day year, so it is the one to use for irregular deposits and withdrawals.

How do I convert a monthly IRR to an annual IRR?

Compound it: (1 + monthly IRR)12 − 1. A 1.204% monthly IRR is 15.45% a year, not 14.45%.

What is the difference between IRR and MIRR?

IRR assumes returned cash is reinvested at the IRR itself. MIRR uses a finance rate for the outlays and a reinvestment rate for the inflows, and always gives a single answer.

Sources

  1. IRR function · Microsoft Support (Excel), accessed November 16, 2026
  2. XIRR function · Microsoft Support (Excel), accessed November 16, 2026
  3. MIRR function · Microsoft Support (Excel), accessed November 16, 2026
  4. Principles of Finance, 16.3 Internal Rate of Return (IRR) Method · OpenStax, Rice University, accessed November 15, 2026
  5. Principles of Finance, 16.4 Alternative Methods (profitability index, discounted payback, MIRR) · OpenStax, Rice University, accessed November 15, 2026
  6. Principles of Finance, 16.5 Choosing between Projects · OpenStax, Rice University, accessed November 15, 2026