IRR calculator: internal rate of return
The internal rate of return is the discount rate that makes a project's net present value zero. Pay $10,000 now, collect $3,000 a year for five years, and the IRR is 15.24 percent a year. It is a rate, not an amount, so it only means something next to your cost of capital.
Internal rate of return
15.24%
$10,000.00 out now, then $3,000.00 back at the end of each of 5 years.
- Net present value at 10.00%
- $1,372.36
- Margin over the hurdle
- 5.24 points
- Cash back in total
- $15,000.00
Accept. 15.24% beats the 10.00% the money costs you, so the project adds $1,372.36 of value.
What the money costs you a year, the same period the cash flows and the IRR are in.
The formula
is the cash flow at time , negative when money goes out and positive when it comes back. is the one rate that makes the whole series sum to zero.
What this calculator works out
Enter what the project costs up front, what it pays back each year, how many years it runs, and the rate you have to beat. It returns the IRR, the net present value at that hurdle rate, and a one-line verdict on whether the project clears it.
The numbers it opens on are the first worked example below: $10,000 out at the start and $3,000 back at the end of each of five years. That series earns 15.24 percent, so against a 10 percent cost of capital it is worth doing, and the NPV is $1,372.36.
The hurdle rate is an input rather than a fixed number because there is no universal one. It is what your money costs, plus whatever the risk of this particular project is worth to you.
The IRR formula, and why it has to be searched for
IRR is defined by an equation rather than computed by one:
Money going out is negative and money coming back is positive, so time zero normally carries the minus sign. Each later cash flow is divided by , which makes the whole thing a polynomial in of degree , and past the fourth degree a polynomial has no general root formula. So in practice every IRR you have ever seen was found by searching: guess a rate, price the series at it, adjust, repeat.
This page searches with Newton's method and falls back on bisection. The guard that verifies the published figures uses bisection alone, so two different searches have to land on the same rate before a number ships.
One shape does have a closed form. With a single amount out and a single amount back, the equation collapses to a plain growth rate, which is what the CAGR calculator works out. The third example below is exactly that shape.
Reading an IRR against a hurdle rate
An IRR on its own is a number with nothing to compare it to. Put it beside the rate your money costs and it becomes a decision.
Discount the five payments of $3,000 at 10 percent and they are worth $11,372.36 today, against the $10,000 paid out at the start, so the NPV is $1,372.36 and the project clears the bar. Raise the discount rate and that surplus shrinks, because every future payment is being divided by a bigger number. Raise it to the IRR, which is 15.24 percent for this series, and the surplus is gone. Above the IRR the NPV is negative and the project is destroying value at that cost of capital.
So the rule fits in a line: accept when the IRR is above your cost of capital, reject when it is below. The net present value calculator states the same decision in money rather than in rate, which is the better unit whenever you are choosing between projects rather than judging one.
Where IRR stops being useful
Three things break IRR, and all three are about what a single rate cannot carry.
Size. A rate says nothing about how much money is involved. A 40 percent return on a small outlay can be worth less cash than a 12 percent return on a large one, and an IRR ranking will put them the wrong way round. When projects differ in size, compare NPV.
Reinvestment. The arithmetic behind IRR treats every payment as if it were put back to work at the IRR itself until the project ends. If the project earns 30 percent and everything else you own earns 6 percent, the IRR flatters it. The modified IRR, MIRR, exists for this: it discounts the outflows and compounds the inflows at rates you pick rather than at the answer.
Multiple roots. A polynomial of degree has up to roots. A series that turns negative again after turning positive, a mine that must be restored or a plant needing a mid-life rebuild, can genuinely have several rates that set NPV to zero, and each one is a real IRR. There is no honest way to choose between them, so this calculator returns no rate at all in that case and leaves you with the NPV at the cost of capital you actually face.
Worked examples
A \$10,000 project paying \$3,000 a year
You spend $10,000 now on equipment, and it brings in $3,000 at the end of every year for five years. What rate of return does that series earn?
- Write the series with signs: $10,000 out at time zero, then five payments of $3,000 in.
- The IRR is the rate at which the discounted payments add back to the outlay: .
- There is no way to rearrange that for , so search for it. At 10 percent the right side is worth more than $10,000, so 10 percent is too low. At 20 percent it is worth less, so 20 percent is too high.
- Keep halving the gap between the two guesses. It settles at .
- Check it the other way round: discount all five payments at that rate, add them up, take off the $10,000, and the net present value is 0.
The IRR is 15.24 percent a year, or 15.238237 percent before rounding. That is the rate the money earns while it is tied up in this project, and at the unrounded rate the NPV is 0 by definition. Discount at the rounded 15.24 percent instead and the NPV lands just under 0, which is what rounding a rate costs.
The same project at a 10 percent cost of capital
Your money costs 10 percent a year. What is that same $10,000 project worth at 10 percent, and how does that square with an IRR of 15.24 percent?
- Discount each $3,000 payment back to today at 10 percent: divide the first by 1.1, the second by , and so on out to .
- Add the five discounted payments together. They come to $11,372.36 of present value.
- Take off the $10,000 paid at time zero.
- The net present value is $1,372.36.
At a 10 percent cost of capital the project is worth $1,372.36 in today's money. The IRR of 15.24 percent and that positive NPV are one fact said two ways: the project beats 10 percent, so discounting at 10 percent leaves a surplus. Push the discount rate up to the IRR and the $11,372.36 falls back to the $10,000 paid at the start, leaving nothing over.
\$5,000 now for \$9,000 in four years
A different shape. You put $5,000 in today, nothing happens for three years, and $9,000 comes back at the end of year four. What is the IRR?
- With one payment out and one payment back, the equation is short: .
- Divide both sides by 5000: .
- Take the fourth root: .
- Subtract the 1: to four places, and at the unrounded rate the NPV is 0.
The IRR is 15.83 percent a year. Notice what that means next to the first example: this project earns the better rate of the two, 15.83 percent against 15.24 percent, on half the outlay. A higher rate is not the same thing as more money, which is the trap the next section is about.
The mistake that costs the most
Comparing an IRR against nothing.
A rate on its own is neither good nor bad. 15.24 percent is a strong return if your money costs 6 percent and a poor one if it costs 18 percent, and the 15.24 percent does not move. An IRR turns into a decision only when it sits next to your cost of capital, which is why this calculator asks for a hurdle rate and prints a verdict instead of a bare percentage.
The second half of the mistake is ranking projects by IRR. IRR is blind to size. The third example earns 15.83 percent on $5,000 and the first earns 15.24 percent on $10,000, so at the 10 percent cost of capital used above, the smaller project wins on rate while putting less money in your hands. A rate is not a quantity. When the two measures disagree, follow the NPV, because NPV is denominated in money and IRR is not.
Common questions
What counts as a good IRR?
Anything that beats what the money costs you, with something left over for the risk you are taking. A 12 percent IRR is strong against a 6 percent cost of capital and weak against a 15 percent one. No single threshold holds across projects, which is why the hurdle rate is an input here rather than a constant.
Why does the calculator sometimes return no rate?
Because there is no one rate to report. It reports an IRR only when the cash flows change sign exactly once, out and then in. A series that goes out, comes back, then goes out again can cross zero NPV at several rates, and every one of them is a genuine IRR, so showing whichever a search happened to reach first would pass off an arbitrary root as the answer. A series with no money coming back at all has the opposite problem: no rate makes its NPV zero, because there is nothing to discount against the outlay.
If IRR and NPV disagree, which one decides?
NPV, whenever the projects differ in size or in length. NPV is measured in money, so it can be added up and compared across projects; a rate cannot. IRR earns its keep as a quick summary of one project and as the point where NPV crosses zero, which tells you how much room there is before the decision flips.
Keep reading
This page is educational material, not financial advice. The figures come from the formula shown and assume the inputs you enter hold for the whole term. Your own rate, fees, taxes and timing will differ, so treat the output as arithmetic to check a decision against, not as a recommendation.