Investing
How To Calculate IRR
The internal rate of return is the discount rate that makes an investment's net present value exactly zero. It is the break-even rate the project must beat, and it lets you compare projects of different sizes on a single percentage scale.
Quick Answer
NPV = 0 at the rate r, so r is the IRR
- C0
- Initial investment at time zero
- CF
- Cash received each year
- n
- Number of years
- IRR
- Rate that makes NPV zero
The IRR is the single rate that discounts every future cash flow back to exactly the upfront cost. Spend 10,000 to receive 3,000 a year for five years and the IRR is roughly 15.24%, because discounting those five payments at 15.24% yields exactly 10,000. If your required return is below that, the project adds value.
What Is IRR?
The internal rate of return is the annual rate at which an investment breaks even in present value terms. Formally it is the discount rate that sets the net present value of all the cash flows to zero, so it is the highest cost of capital the project can support and still be worthwhile.
Finding it means solving for the rate in a present value equation, which has no simple algebraic solution for more than a few years. In practice it is found by iteration, trying rates until the NPV crosses zero, or by using a financial calculator or spreadsheet function.
The decision rule is simple. If the IRR is higher than your required rate of return, the NPV at that required rate is positive and you should accept. If it is lower, the NPV is negative and you should reject. The margin between the two is the project's cushion.
IRR is attractive because it is a single percentage that needs no external assumption about the discount rate, unlike NPV. That makes it easy to compare a small project and a large one, and easy to communicate a threshold of, say, a 12% hurdle rate.
That convenience hides two real weaknesses. IRR ignores scale, so a tiny project with a huge percentage can look better than a large project with a smaller percentage but a much larger absolute gain. And when cash flows change sign more than once, there can be several IRRs, none of which is reliable.
The reinvestment assumption is the subtler flaw. IRR implicitly assumes every interim cash flow is reinvested at the IRR itself, which is optimistic for very high rates. NPV assumes reinvestment at the discount rate, which you actually chose and can defend.
For a level annuity, IRR can be read off the annuity factor. Divide the initial cost by the annual cash flow to get the factor, then find the rate whose annuity factor matches for that number of years. The calculator here does that iterative search numerically.
Modified IRR corrects the reinvestment problem by separating the financing rate from the reinvestment rate. It is more realistic but less widely understood, and for most ordinary projects the plain IRR and NPV tell the same story.
IRR is used far beyond capital budgeting. Investors compute it on private equity deals, real estate, and any stream of uneven cash flows, because it converts a messy schedule into one comparable number. Just remember it is a rate, not a value, and pair it with NPV before deciding.
The timing of cash flows matters as much as their size. Bring a large inflow forward a year and the IRR rises even though the total cash is unchanged, because money received sooner has more time to compound. That sensitivity is why assumptions about timing should be stress-tested.
A project with a positive IRR can still destroy value if the capital could earn more elsewhere. The IRR is a relative measure, so it must be judged against the return available on the next best use of the same money, adjusted for risk.
When comparing two mutually exclusive projects, always prefer the one with the higher NPV, not the higher IRR, when they conflict. The larger absolute gain is what actually increases wealth, which is the whole point of the decision.
Formula
0 = -C0 + sum CF / (1 + IRR)^t
The rate that discounts every cash flow back to the initial cost.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| C0 | Initial cost | currency | Cash spent at time zero. |
| CF | Annual cash flow | currency | Cash received each year. |
| n | Years | count | Life of the investment. |
factor = C0 / CF
For level flows, the ratio of cost to annual cash pins down the rate.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| AF | Annuity factor | count | Cost divided by annual cash flow. |
How To Calculate IRR
- 1
Lay out the cash flows
List the initial cost as a negative at year zero and each year's inflow as a positive. Timing matters, so be precise about which year each flow falls in.
- 2
Compute the cost-to-cash ratio
Divide the initial cost by the annual cash flow. 10,000 divided by 3,000 gives 3.333, the annuity factor for five years.
- 3
Search for the matching rate
Find the rate whose five-year annuity factor equals 3.333. Trial rates converge quickly, or a spreadsheet's IRR function solves it directly.
- 4
Compare with your hurdle rate
If the IRR exceeds the return you require, accept the project. If it falls short, the project destroys value at your cost of capital.
- 5
Check the NPV too
Confirm the NPV at your required rate is positive for the same cash flows. When scale differs, trust the NPV, not the IRR.
Examples
Example 1: 10,000 for 3,000 a year over five years
- Initial investment
- 10,000
- Annual cash flow
- 3,000
- Years
- 5
| Step | Calculation | Result |
|---|---|---|
| Total cash received | 3000 x 5 | 15,000 |
| Total profit | 15000 - 10000 | 5,000 |
| Annuity factor | 10000 / 3000 | 3.333 |
Result: The annuity factor is 3.333, the cash stream totals 15,000 against a 10,000 cost, and the IRR is about 15.24%.
Example 2: 10,000 for 2,600 a year over five years
- Initial investment
- 10,000
- Annual cash flow
- 2,600
- Years
- 5
| Step | Calculation | Result |
|---|---|---|
| Total cash received | 2600 x 5 | 13,000 |
| Total profit | 13000 - 10000 | 3,000 |
| Annuity factor | 10000 / 2600 | 3.846 |
Result: Smaller flows of 2,600 give an annuity factor of 3.846, a total profit of 3,000, and an IRR of about 9.43%.
Calculator
Internal rate of return
0.00%
- Annuity factor
- 3.3333
- Total cash received
- $15,000.00
- Total profit
- $5,000.00
- NPV at required return
- $1,372.36
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the IRR calculator page.
Common Mistakes
Ranking projects by IRR instead of NPV
A high percentage on a small project can add less wealth than a modest percentage on a large one. Use NPV for the accept-or-reject and ranking decision.
Ignoring multiple sign changes
If cash flows go negative, positive, then negative, there can be more than one IRR. In that case the IRR is not meaningful and NPV should be used instead.
Trusting the reinvestment assumption
IRR assumes interim flows are reinvested at the IRR, which may be unrealistic. Modified IRR with a separate reinvestment rate is more honest for high returns.
Forgetting to include all costs
Overheads, working capital and closing costs often sit outside the headline cash flows. Leaving them out inflates the IRR.
Mixing cash flow timing
Assuming a flow arrives at year end when it really arrives monthly, or vice versa, shifts the IRR. Match the model to the actual timing.
Comparing IRR across different risks
A higher IRR on a riskier project is not automatically better. The hurdle rate should rise with risk, which is exactly what a risk-adjusted discount rate does.
Treating IRR as a return you will actually earn
IRR is the break-even rate, not a realised return. The money you get out depends on what you do with the interim cash flows.
FAQ
What is a good IRR?
It depends on the risk and the alternative. A stable infrastructure project might justify an 8% IRR, while a venture-stage bet needs far more to compensate for the chance of total loss. Compare against the return on comparable-risk alternatives.
How is IRR different from ROI?
ROI is total profit divided by cost and ignores timing. IRR accounts for when each cash flow arrives, so a project that returns its money sooner has a higher IRR even if the total profit is the same.
Can IRR be negative?
Yes. If the total cash returned is less than the amount invested, the IRR is negative, meaning you lose money even before considering the opportunity cost of the capital.
Why does my spreadsheet show a different IRR?
Different starting guesses can converge on different roots when cash flows change sign more than once. Some functions accept a guess argument precisely to steer the search toward the root you mean.
Should I use IRR or NPV?
Use NPV for the decision and IRR for communication. NPV tells you how much value is created; IRR tells you the rate of return. When they conflict, NPV wins because it measures what you actually gain.
What is the difference between IRR and MIRR?
MIRR uses separate rates for financing and reinvestment, avoiding the optimistic assumption that interim cash flows earn the IRR itself. It is more realistic but less intuitive to explain.
References
- [1]Corporate Finance Institute, Net present value and IRR — https://corporatefinanceinstitute.com/resources/valuation/internal-rate-return-irr/
- [2]Investopedia, Internal rate of return — https://www.investopedia.com/terms/i/irr.asp
- [3]U.S. Securities and Exchange Commission, Capital budgeting — https://www.investor.gov/introduction-investing/investing-basics