Your result will appear here
Fill in the fields and press Calculate.
The internal rate of return (IRR) is the discount rate that makes an investment's net present value exactly zero: 0 = −C₀ + CF₁/(1+IRR) + CF₂/(1+IRR)² + … + CFₙ/(1+IRR)ⁿ. Invest $25,000 and receive $6,000, $7,000, $8,000, $9,000 and $4,000 over the next five years, and the IRR is 11.38%. If your required return is lower than that, the project clears the bar.
Enter the initial investment and the cash flows for each year, separated by commas. The calculator assumes each flow arrives at the end of its year, searches for the rate between −99% and 1,000% at which NPV equals zero, and shows it to two decimals. For conventional cash flows (one outflow followed by inflows) it returns the same result as Excel's =IRR().
IRR is popular because a percentage is easy to compare with a loan rate or a hurdle rate, but it has well-documented blind spots. The US Office of Management and Budget's long-standing guidance for federal benefit-cost analysis treats net present value as the standard decision criterion and calls IRR useful information rather than an acceptable criterion on its own. The guide below shows when the two agree, when they disagree, why some cash flows have two IRRs or none, and how to replicate the calculation in a spreadsheet.
IRR Calculator: step-by-step worked example
- Initial investment
- 50,000.00
- Annual cash flows
- 12,000, 15,000, 18,000, 20,000, 22,000
- 1
Total cash inflow
Σ CFₜ
12,000 + 15,000 + 18,000 + 20,000 + 22,000 = 87,000.00
- 2
Undiscounted gain
Gain = Σ CFₜ − Investment
87,000.00 − 50,000.00 = 37,000.00
- 3
Find the rate that makes NPV zero
−Investment + Σ CFₜ ÷ (1 + IRR)ᵗ = 0 · the −99%…1000% range is scanned and each sign change bisected; with several roots the smallest is used
NPV(19.44%) ≈ 0 = 19.44%
- 4
Check: NPV at this rate
NPV(IRR) ≈ 0
−50,000.00 + 50,003.08 = 3.08
- NPV:37,000.00 → -17,228.37
Good to know: Accept if IRR beats your cost of capital. With cash flows that change sign more than once there can be several IRRs — rely on NPV then.
IRR Calculator — how it works
How the calculator finds the IRR
There is no algebraic formula for IRR once there are more than a couple of cash flows, so it is found numerically. This calculator scans NPV across rates from −99% to 1,000% on a fine grid (0.1-point steps up to 100%, 1-point steps above), and wherever NPV changes sign it halves that interval 200 times until the rate is pinned down far beyond two decimals.
Cash flows are entered as a comma-separated list for years 1, 2, 3 and so on (up to 50). The initial investment is entered as a positive number and treated as an outflow at time zero. A later year can be negative, for example a major repair, by typing a minus sign. The calculator reports an error if there is no positive inflow at all, or if NPV never changes sign anywhere between −99% and 1,000%, which means the flows have no IRR in that range. If it finds more than one IRR, it shows the smallest and tells you how many there are (see below).
NPV profile: what the IRR actually is
Plot NPV against the discount rate and IRR is the point where the curve crosses zero. For the example flows:
| Discount rate | NPV |
|---|---|
| 0% | $9,000.00 |
| 5% | $4,512.62 |
| 8% | $2,245.19 |
| 10% | $880.99 |
| 11.38% | ≈ $0 |
| 12% | −$378.89 |
| 15% | −$2,094.99 |
For a conventional project (one outflow, then inflows), NPV falls as the rate rises. So a hurdle rate below the IRR always gives a positive NPV and one above it a negative NPV, and the IRR and NPV rules give the same accept-or-reject answer.
IRR vs NPV: where they disagree
| IRR | NPV | |
|---|---|---|
| Answer | a percentage | a dollar amount at your chosen rate |
| Needs a discount rate | no | yes |
| Ranks projects of different size | can mislead | reliably |
| Non-conventional cash flows | may give several answers or none | always one answer |
| Role in OMB Circular A-94 (1992) | useful information | the standard criterion |
The size problem in one example: Project A costs $1,000 and returns $1,500 after one year (IRR 50%). Project B costs $100,000 and returns $120,000 (IRR 20%). At a 10% cost of capital, A's NPV is $363.64 and B's is $9,090.91. If you can only do one, B creates far more value despite the lower IRR. The 1992 edition of OMB Circular A-94 makes the same point in policy terms: IRR "does not generally provide an acceptable decision criterion", but is useful when budgets are constrained or the right discount rate is uncertain.
Multiple IRRs and no IRR
NPV is a polynomial in 1/(1+r), and by Descartes' rule of signs it can have as many positive roots as the cash flows have sign changes. A normal project has one sign change (out, then in) and one IRR. A project with a large outflow at the end, such as a mine reclamation or a lease-end payment, can have two.
Example: invest $100, receive $230 after one year, pay $132 after two. NPV is zero at both 10% and 20%: at 10%, −100 + 209.09 − 109.09 = 0, and at 20%, −100 + 191.67 − 91.67 = 0. Neither rate is "the" return. The calculator finds both, shows the smaller one (10%) and reports that there are 2 solutions, so you know the single figure is not the whole story. For flows like these, decide with NPV at your required rate, or use the modified IRR.
Matching Excel and Google Sheets
Put the flows in one column with the investment as a negative number first: −25000, 6000, 7000, 8000, 9000, 4000. Then =IRR(A1:A6) returns 11.38%. Microsoft's documentation for IRR notes that:
- the values must contain at least one positive and one negative number;
- the optional guess defaults to 10%;
- Excel iterates from the guess until the result is accurate to within 0.00001 percent, and returns #NUM! if it has not converged after 20 tries.
Because Excel starts from a guess, it can land on a different root than you expect when there are multiple IRRs; trying a different guess shows whether another root exists. Use XIRR when cash flows fall on irregular dates and MIRR when you want to set the reinvestment rate yourself. If your flows are monthly, the result is a monthly rate: annualize it as (1 + r)¹² − 1.
The reinvestment question and MIRR
IRR is often said to assume that interim cash flows are reinvested at the IRR itself. Whether that is an assumption of the measure or of how people interpret it is debated in the finance literature, and Kierulff's review in the *American Journal of Business Education* lists reinvestment among IRR's practical problems, alongside multiple IRRs and choices between unequal investments. The practical fix is the modified IRR: compound the inflows forward at a realistic reinvestment rate, then solve
MIRR = (future value of inflows ÷ present value of outflows)^(1/n) − 1
For the example, reinvesting at 8% gives a future value of $40,032.12 in year 5, and MIRR = (40,032.12 ÷ 25,000)^(1/5) − 1 = 9.87%, lower than the 11.38% IRR because the interim cash is assumed to earn 8%, not 11.38%. Iowa State University's capital budgeting guide lists MIRR alongside NPV and IRR among the standard methods, and notes that companies often look at several of them together.
Worked example
A small landscaping business is considering a $25,000 piece of equipment. The owner expects it to add $6,000 of net cash flow in year 1, $7,000 in year 2, $8,000 in year 3 and $9,000 in year 4, plus $4,000 in year 5 including what the machine can be sold for.
Enter an initial investment of 25,000 and cash flows of 6000, 7000, 8000, 9000, 4000. The calculator returns an IRR of 11.38%, with total undiscounted inflows of $34,000.
The business can borrow at 8%. At that rate the NPV is 6,000/1.08 + 7,000/1.08² + 8,000/1.08³ + 9,000/1.08⁴ + 4,000/1.08⁵ − 25,000 = +$2,245.19, so both rules say yes: the IRR exceeds 8% and the NPV is positive.
The margin is thinner than 11.38% suggests. If interim cash can only earn 8%, the MIRR is 9.87%. If the cash flows come in 10% lower each year, rerun the calculator with 5400, 6300, 7200, 8100, 3600 to see how close the IRR gets to the borrowing rate.
Frequently asked questions
What is IRR in simple terms?+
It is the annual rate of return at which the present value of an investment's future cash flows exactly equals its cost, so NPV is zero. A $10,000 investment that returns $15,000 one year later has an IRR of 50%.
How is IRR calculated?+
By solving 0 = −C₀ + Σ CFₜ ÷ (1 + IRR)ᵗ numerically, because there is no closed-form formula for most cash flows. This calculator uses bisection between −99% and 1,000%; Excel uses an iterative method starting from a guess.
What is a good IRR?+
One above your hurdle rate, meaning your cost of capital or the return available elsewhere at similar risk. An 11% IRR is good if you can borrow at 8% and poor if a safer alternative pays 12%.
What is the difference between IRR and NPV?+
NPV is the dollar value an investment adds at a chosen discount rate; IRR is the rate at which that value is zero. They agree on accept or reject for conventional projects, but NPV ranks projects of different size reliably and IRR can mislead.
Can a project have two IRRs?+
Yes, when the cash flows change sign more than once. Investing $100, receiving $230 and then paying $132 has IRRs of both 10% and 20%. This calculator shows the smallest IRR and the number of solutions it found; use NPV to decide in that case.
How do I calculate IRR in Excel?+
Enter the investment as a negative number followed by the yearly flows, then use =IRR(range). For −25000, 6000, 7000, 8000, 9000, 4000 the result is 11.38%. Excel needs at least one negative and one positive value.
What is the difference between IRR and XIRR?+
IRR assumes equally spaced periods, such as one flow per year. XIRR takes a date for each cash flow, so it handles irregular timing; for annual year-end flows the two give the same result.
What is MIRR and when should I use it?+
Modified IRR compounds interim inflows at a reinvestment rate you choose instead of at the IRR itself. For the example flows at 8% reinvestment, MIRR is 9.87% versus an IRR of 11.38%.
Why does the calculator say no IRR was found?+
NPV never crossed zero anywhere between −99% and 1,000%. That usually happens when the inflows can never repay the investment (or only touch zero without crossing it); check the NPV at your required rate instead.
Sources
- OMB Circular A-94 (1992), Guidelines and Discount Rates for Benefit-Cost Analysis of Federal Programs
- Iowa State University Extension, Ag Decision Maker — Capital Budgeting Basics (C5-240)
- Kierulff, H. (2012), "IRR: A Blind Guide", American Journal of Business Education (ERIC)
- Microsoft Support — IRR function
About this page
- Publisher:
- Kalkoro — Teknolojig Bilişim Teknolojileri A.Ş., İstanbul
- Written by:
- Furkan Tur — Editor (Finance, loans, tax, accounting, commerce, legal, employment)
- Reviewed by:
- Ahmet Tur — Editor
Parameters come from official sources; the last update date is shown at the bottom of the page.
Spotted a wrong result? Use the "Report a bug" button at the top of the page; every report is reviewed.
How we calculate and our accuracy policy →
Results are for information only and are not financial, legal or investment advice. For official matters the relevant authority's calculation and professional advice prevail.
Last updated: