Skip to content
DeviceCheckHub

IRR Calculator

Find the internal rate of return of an investment from its cash flows, with every IRR when the cash flows change sign, the net present value, the modified IRR, the payback period and the steps.

Your result

Examples:
The internal rate of return is 15.32%.

15.32%

IRR (yearly)
15.32%
NPV at 8%
$1,646.35
Profitability index
1.16
Payback period
2.6 years
Discounted payback
2.96 years
MIRR (yearly)
12.19%
Total put in
$10,000.00
Total received
$14,000.00
Net cash
$4,000.00
Cash flows, period by period
PeriodCash flowCumulative cashPresent valueCumulative PV
0−$10,000.00−$10,000.00−$10,000.00−$10,000.00
1$3,000.00−$7,000.00$2,777.78−$7,222.22
2$4,000.00−$3,000.00$3,429.36−$3,792.87
3$5,000.00$2,000.00$3,969.16$176.29
4$2,000.00$4,000.00$1,470.06$1,646.35

Steps

  1. IRR: the rate per year at which the net present value of all 5 cash flows is 0, found by trial: 15.3221%.
  2. NPV = −$10,000.00 + $3,000.00 ÷ 1.08^1 + $4,000.00 ÷ 1.08^2 + … = $1,646.35.
  3. Profitability index = present value of the later cash flows ÷ initial investment = $11,646.35 ÷ $10,000.00 = 1.16.
  4. MIRR = ($15,844.74 ÷ $10,000.00)^(1/4) − 1 = 12.1944% a year: the positive cash flows grown to the end at 8% a year and the money put in discounted to the start at 8%.
  • The NPV at 8% is positive, so the investment earns more than your discount rate.
  • The IRR is often said to assume that the cash you receive is reinvested at the IRR itself. The MIRR instead grows that cash at your discount rate, or at the reinvestment rate if you give one, which is often closer to what you can really earn.
  • Cash flows are taken to come at the end of each period, with the initial investment at the start. Taxes, inflation and risk are not counted unless they are in the amounts or the discount rate.

How to use the IRR calculator

  1. Choose how often the cash flows come: every year, half-year, quarter or month.
  2. Enter the initial investment, the money you put in at the start.
  3. Enter the cash flow for each period after the start, one per line: positive for money you receive, negative for money you pay. You can also paste a column from a spreadsheet.
  4. Add a discount rate, the yearly return you require, to see the net present value, the modified IRR and the discounted payback. A reinvestment rate is optional.

The results update as you type. The table shows each cash flow with the running total and, with a discount rate, its present value, so you can follow every number.

What the internal rate of return is

The internal rate of return, or IRR, of an investment is the rate at which the net present value of all its cash flows, both money in and money out, is 0. Put another way, it is the rate at which the present value of the money you receive equals the money you put in. It is also called the discounted cash flow rate of return or the yield rate. It is internal because it leaves out outside factors such as the risk-free rate, inflation and the cost of capital: it depends only on the investment’s own cash flows.

The IRR counts when money arrives, not only how much. A deposit that pays interest at a fixed rate every period, with the deposit itself neither growing nor shrinking, has an IRR equal to that rate. An investment with the same total return that pays it later has a lower IRR. In savings and loans, the IRR is also called the effective interest rate.

The IRR formula

For an initial investment C0 and cash flows C1 to CN at the end of periods 1 to N, the IRR is the rate r that solves

NPV = −C0 + C1 ÷ (1 + r) + C2 ÷ (1 + r)2 + … + CN ÷ (1 + r)N = 0

Beyond the simplest cases, there is no formula that gives r directly, so it is found by trial, for example with Newton’s method or the secant method. This calculator checks the sign of the NPV over every rate from −99.99% to 100,000% a period and halves each interval in which it changes until the rate is exact, so it finds every IRR, not only the one nearest a first guess. For an investment of $123,400.00 that returns $36,200.00, $54,800.00 and $48,100.00 over three years, the IRR is 5.96%.

IRR and net present value

The net present value, or NPV, adds up every cash flow after discounting it to today at a chosen rate, the discount rate. It rests on the time value of money: money you have now can be invested and earn a return, so the same amount later is worth less today. A positive NPV means the investment is expected to create value at that rate, and a negative one that it is expected to lose value.

The two measures fit together. The IRR is the discount rate at which the NPV is exactly 0, so for a single investment, an IRR above your required rate of return goes with a positive NPV at that rate, and an IRR below it with a negative NPV. With the starting values, the IRR is 15.32% and the NPV at 8% is $1,646.35. For four yearly payments of $2,000.00 on $10,000.00, the IRR is −8.36% and the NPV at 5% is −$2,908.10: the money never comes back in full.

The two can still rank investments differently. The IRR measures how efficient an investment is, while the NPV measures how much value it adds. A project with a larger initial investment may have a lower IRR but a higher NPV, so to add the most value when you can choose only one of several investments, compare their NPVs rather than their IRRs.

When there is more than one IRR

If the cash flows change sign more than once, such as money out, then in, then out again, the NPV can be 0 at several rates. By Descartes’ rule of signs, the number of IRRs can never be more than the number of changes in sign. Paying 10, receiving 21 and then paying 11 has two IRRs, 0% and 10%, and it is not even clear whether a high or a low rate is better. Strip mines and nuclear power plants are real examples, because they usually have a large cash outflow at the end.

A search that starts from one guess, like Newton’s method, finds only one of the rates, and which one can depend on the guess. This calculator lists every IRR it finds, and when there is more than one, it suggests judging the investment by its NPV or its modified IRR instead.

The modified IRR (MIRR)

The MIRR answers two problems with the IRR. The IRR is often said to assume that cash received along the way is reinvested at the IRR itself, which may not be realistic, and it can have more than one value. The MIRR grows the positive cash flows to the end at a reinvestment rate, discounts the negative ones to the start at a finance rate, and finds the single rate that links the two:

MIRR = (future value of the positive cash flows ÷ present value of the negative cash flows)1/n − 1

Here n is the number of periods. Paying $1,000.00 now and $4,000.00 after a year, then receiving $5,000.00 and $2,000.00, has an IRR of 25.48%; with a finance rate of 10% and a reinvestment rate of 12%, the MIRR is 17.91%. This calculator uses the discount rate as the finance rate, and also as the reinvestment rate unless you enter one.

Payback period and profitability index

The payback period is the time it takes to get back the money you put in. Add up the cash flows period by period; the payback comes in the period where the running total turns from negative to positive, with the part of that period found from its cash flow. A $1,000.00 investment that returns $500.00 at the end of each of two years has a payback of 2 years. Payback is popular because it is easy to use, but it does not allow for the time value of money.

The discounted payback period does the same with the present values of the cash flows, so it is longer and accounts for the time value of money. The profitability index is the present value of the cash flows after the start divided by the initial investment, or 1 plus the NPV divided by the initial investment: 1 means break-even, and the higher it is, the more value each dollar invested creates.

Monthly and quarterly cash flows

When cash flows come every month or quarter, the IRR is first found per period and then turned into an effective yearly rate: (1 + monthly IRR)12 − 1 for months. For a $5,000.00 investment that returns $450.00 a month for a year, the internal rate of return is 15.45% a year (1.2043% a month). Working in the period the cash flows come in and converting to a yearly rate afterwards is the usual way. The discount rate you enter is a yearly rate, turned into a rate per period by the same rule.

The calculator takes every cash flow to come at the end of its period, with the initial investment at the start, and periods of equal length. For cash flows on irregular dates, spreadsheets use the XIRR function. Taxes, inflation and risk are not counted unless they are already in your amounts or your discount rate.

The present value calculator discounts a single amount or a series of payments, the ROI calculator finds the simple and yearly return on an investment, the compound interest calculator shows how savings grow, and the break-even calculator finds the sales a business needs to cover its costs.

Your values stay on your device

Everything is worked out in your browser. Nothing you type is sent anywhere or stored; only your currency choice is remembered on this device.

Frequently asked questions

What is the IRR of an investment?

The internal rate of return is the yearly rate at which the net present value of all its cash flows, money in and money out, is 0. For an investment of $10,000 that returns $3,000, $4,000, $5,000 and $2,000 over four years, it is 15.32%.

What is a good IRR?

One above your cost of capital, the minimum return you require. If the IRR is above it, the investment adds value; if it is below it, the investment should not be made. Comparing the IRR with that rate gives the same answer as checking whether the NPV at that rate is positive.

How is the IRR worked out in Excel?

With the IRR function for cash flows at equal intervals, XIRR for cash flows on given dates, and MIRR for the modified IRR. Google Sheets also has IRR and XIRR. For monthly cash flows, IRR gives a monthly rate, which you turn into a yearly one as this calculator does.

Why can an investment have two IRRs?

When its cash flows change sign more than once, for example money out, then in, then out again. Paying 10, receiving 21 and paying 11 gives IRRs of 0% and 10%. There can be no more IRRs than changes of sign, and with more than one, the NPV or the MIRR is the better guide.

Is anything I type sent anywhere?

No. Everything is worked out in your browser, and nothing you type is sent anywhere or stored. Only your currency choice is remembered on this device.

Last updated · About DeviceCheckHub