IRR Calculator
Enter the initial investment and up to five annual cash flows to compute the internal rate of return.
What the internal rate of return is
The internal rate of return is the single annual rate that makes a project break even in present-value terms. You feed in the upfront cost and the cash it returns each year, and the calculator returns one number: the compound annual rate the investment earns if every cash flow arrives exactly on schedule. At the defaults — $10,000 in, then $3,000 to $5,000 back over five years — that rate is 25.75% a year.
Read the formula right to left. Each future cash flow CFt is divided by (1+IRR)t, which shrinks it back to today’s dollars at a rate of IRR per year for t years. The initial outlay C0 carries a minus sign because it leaves your pocket on day one. IRR is the value that makes the sum of the discounted inflows exactly equal the outlay, so the entire expression lands on zero.
Why the rate cannot be solved directly
There is no algebraic rearrangement that isolates IRR once there are more than two cash flows. The equation is a polynomial in 1÷(1+IRR) whose degree equals the number of years, so the only practical route is iteration. This calculator brackets the answer between −99.9% and 1,000% and bisects that interval up to 200 times, driving the residual NPV below a billionth of a dollar before it stops.
That matters because spreadsheet IRR functions return a number whether or not a meaningful one exists. If your flows never turn positive, the iteration happily converges on a rate that describes no real investment.
Worked example at the default inputs
The defaults describe a $10,000 outlay returning $3,000, $3,500, $4,000, $4,500 and $5,000 across five years, which is $20,000 undiscounted. At a 0% discount rate the net present value is simply $20,000 − $10,000 = $10,000, and that is the NPV at 0% line the calculator reports beneath the result.
Discounting the same flows at 25.75% gives $2,385.70 + $2,213.85 + $2,011.57 + $1,799.65 + $1,590.05 = $10,000.82, within a rounding cent of the outlay. That is what the answer means: the rate at which the present value of the inflows equals the $10,000 you committed.
Cumulative cash reaches $10,000 somewhere between year two and year three — $6,500 after two years, $10,500 after three — so simple payback is about 2.8 years. The 25.75% IRR is the time-weighted version of that same story, and it is far more useful when you compare this project against one with a different cash-flow shape.
NPV at different discount rates
| Discount rate | NPV of the default cash flows |
|---|---|
| 0% | $10,000 |
| 10% | $4,803 |
| 20% | $1,425 |
| 25.75% | $0 |
| 30% | −$878 |
| 40% | −$2,513 |
The table makes the meaning concrete: IRR is the discount rate where the NPV column crosses zero. Everything to the left of 25.75% is value created, everything to the right is value destroyed. A company with a 12% hurdle rate would fund this project with room to spare. One demanding 30% would reject it, even though both are looking at identical cash flows.
What moves the number
- Timing of the early flows. Moving $1,000 from year 5 into year 1 lifts IRR from 25.75% to about 28.1%, because early dollars are discounted far less.
- Length of the tail. Adding a sixth year at $5,000 pushes IRR to roughly 30.5% without changing the upfront cost at all.
- Size of the outlay. Raising the initial investment from $10,000 to $12,000 with identical inflows drops IRR to about 18%.
- An interim outflow. Replacing the year 3 inflow of $4,000 with a −$2,000 maintenance cost cuts IRR to roughly 11%, a 15-point swing from one line.
- Where terminal value sits. Sale proceeds or salvage belong in the last year’s flow, and booking them late understates IRR relative to booking them earlier.
Where IRR goes wrong
Multiple sign changes produce multiple answers
There is at most one positive IRR only when the cash flows change sign once — money out first, money in afterwards. A project that needs a $2 million cleanup in year four after years of positive flow has a second sign change, and the underlying equation can hold two or three mathematically valid roots. A solver that brackets blindly will return whichever root it happens to land on, which is why the number can jump when you nudge an input by a dollar.
Reinvesting at the IRR is an assumption, not a fact
The arithmetic silently assumes every interim cash flow is reinvested at the same IRR until the project ends. At the default 25.75%, you would need a home for the $3,000 received in year 1 that also pays 25.75% for four more years. Real reinvestment rates sit lower, which is why MIRR — which lets you set a separate finance rate and reinvestment rate — usually reads several points below IRR on the same project.
Signs the answer is not trustworthy
- The cash flows change sign more than once over the holding period.
- Total undiscounted inflows are smaller than the initial outlay, which forces a negative rate.
- A tiny change in one input moves IRR by more than five points.
- You are comparing a 40% IRR on a $5,000 project against an 18% IRR on a $500,000 project without looking at the dollar NPV of each.
IRR, NPV and XIRR side by side
IRR assumes annual periods and a single outlay at time zero. NPV tells you the dollar value created at a rate you choose, and it is the better call when two projects differ in scale, because a 40% return on $5,000 adds less wealth than an 18% return on $500,000. XIRR extends IRR to irregular dates, which is what you need when contributions and withdrawals do not land exactly 365 days apart.
A workable division of labour: use NPV for the go or no-go decision at your cost of capital, IRR for explaining the return to people who think in percentages, and XIRR whenever the transaction dates are messy. All three answer different questions about the same cash flows.
Reading IRR against your hurdle rate
A 25.75% IRR is only good news relative to something else. As of 2026, investment-grade corporate borrowing runs roughly 5%–6%, small-business term loans 8%–11%, and venture-style equity capital carries an implied hurdle near 20%–30% because of the failure rate. The same project is excellent for a borrower at 9% and merely acceptable for an equity investor demanding 25%. State the comparison rate whenever you quote an IRR, or the figure means nothing on its own.
Frequently asked questions
How is IRR calculated?
By finding the discount rate that makes the net present value of all cash flows equal to zero. There is no closed-form solution for more than two flows, so the calculator bisects a range from −99.9% to 1,000% until the residual NPV is under a billionth of a dollar.
What is a good IRR?
Anything above the return you could earn on a comparable-risk alternative. As of 2026 a small-business project clearing 15%–20% is usually considered solid, while venture investors often want 25% or more to compensate for failures elsewhere in the portfolio.
What does the default 25.75% mean in dollars?
It means $10,000 today grows into the same value as $3,000, $3,500, $4,000, $4,500 and $5,000 received over five years. Undiscounted those flows total $20,000, so the nominal gain is $10,000; IRR converts that into an annual rate that accounts for the wait.
Can IRR be negative?
Yes. If the inflows never repay the outlay on a time-adjusted basis, IRR falls below zero. A $10,000 investment returning $2,000 a year for four years has an IRR of about −13%, because $8,000 back spread over four years is worth less than the $10,000 spent.
Why do I get two different IRRs for the same project?
Because the cash flows change sign more than once. With an outflow at the start and another outflow partway through, the polynomial has multiple roots. Use NPV at your hurdle rate, or switch to MIRR, which always returns a single answer.
How is IRR different from ROI?
ROI divides total gain by total cost and ignores timing entirely. The default project has an ROI of 100% ($10,000 gain on $10,000 cost) but an IRR of 25.75%, because the money arrives over five years rather than instantly.
What IRR do I need to beat a 9% loan?
Anything above 9%, but leave a margin. If you borrow at 9% to fund a project returning 12%, a three-point spread on $10,000 is roughly $300 a year of value before tax, which a single cost overrun can erase.
Does IRR account for inflation?
Only if you build inflation into the cash flows. Feed nominal dollars in and you get a nominal IRR; feed real, inflation-adjusted dollars in and you get a real rate. Mixing the two, such as nominal flows compared against a real hurdle, overstates the project by roughly the inflation rate each year.
What is the difference between IRR and XIRR?
IRR assumes each period is exactly one year. XIRR takes actual calendar dates, so a flow on 14 March and another on 2 November are discounted by their true day count rather than being lumped into the same year.
Method and sources
- Internal rate of return definition: the rate at which NPV equals zero.
For educational purposes only — not financial, tax, or legal advice. Verify figures with a qualified professional before acting.