IRR Calculator (Internal Rate of Return)

Calculate the Internal Rate of Return (IRR) on non-uniform periodic cash flows and capital investments.

Calculate the discount rate that makes the Net Present Value (NPV) of all future cash flows equal to zero. Input your initial capital outlay and periodic cash inflows to determine the true internal yield of a private equity, real estate, or business project.

How this calculator works

0 = NPV = Sum_{t=0}^N [CF_t / (1 + IRR)^t]. Solved iteratively via the Newton-Raphson numerical algorithm.

Key benefits

Assumptions & exclusions

Frequently asked questions

When should I use IRR instead of ROI or CAGR?

Use IRR whenever an investment involves cash flows occurring at different times (such as rental property income, phased development costs, or irregular partnership distributions). CAGR and ROI only handle simple two-point beginning-to-end valuations.

What is a good IRR for an investment?

There is no universal figure; the right comparison is your required return for that level of risk. An IRR above your hurdle rate means the project clears your bar, while one below a low-risk alternative's yield rarely justifies the added uncertainty.

Can IRR be negative?

Yes. If the total cash an investment returns, even before discounting, struggles to repay the outlay, the rate that balances the equation is negative. A negative IRR simply means the cash flow pattern lost money in present-value terms at any positive rate.

What happens if my cash flows never repay the initial investment?

The solver may return a deeply negative rate or fail to settle on a meaningful one, because no reasonable discount rate makes the inflows equal the outlay. Treat that outcome as the answer itself: the pattern does not recover its cost.

Why can some investments have more than one IRR?

When cash flows change sign more than once — money out, then in, then out again — the underlying equation can have several rates that set its value to zero. In those cases net present value at a chosen rate is the more reliable guide.

How is IRR different from the return on a savings account?

A savings yield is set by the bank and credited steadily. IRR is solved from an actual pattern of cash flows, so it reflects when money went in and came out, which is why it suits projects, properties, and businesses with uneven payments.

Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.

Methodology note: Polynomial root-finding algorithm converging within 1e-6 precision tolerance.

Related calculators

Category: Investments & Retirement Calculators

About this calculator

Some investments cannot be judged from a starting and ending value, because money moves in the middle: a rental property pays rent each year, a business returns uneven distributions, a project demands one outlay and repays it in irregular instalments. The internal rate of return handles that pattern. It is the single discount rate that makes the present value of every future cash inflow exactly equal to the initial outlay — the rate at which the project precisely breaks even in present-value terms. Enter an initial investment and a series of yearly cash flows, and this calculator solves for that rate numerically, because no tidy closed-form formula exists for it.

How it works

The tool lines your cash flows up by year: the initial outlay as a negative flow today, then each year’s inflow at its year mark. It then hunts for the rate that makes the discounted sum of all flows equal zero. The hunt is iterative — it starts from a guess, measures how far the net present value is from zero, and adjusts the rate up or down based on the slope of the present-value curve, repeating until the value is effectively zero or the step limit is reached. Cash flows must change sign at least once for a meaningful answer: money out first, then money back in.

The formula, explained

0 = Σ CFₜ ÷ (1 + IRR)ᵗ, for t = 0…N, with CF₀ negative (the initial outlay)

The engine solves the equation with the Newton-Raphson method, starting from a 10 percent guess. Each iteration evaluates the net present value and its derivative across every cash flow — the derivative discounts each flow one extra period and weights it by its year — then steps the rate by value divided by slope. It stops when the absolute net present value falls below one millionth, allows at most one hundred iterations, and pulls the rate back to negative 90 percent if an iteration overshoots below negative 99 percent. The result is the rate as a percentage rounded to two decimals. There is no algebraic shortcut in the code: the answer is whatever rate the iteration converges to, which is also why unusual flow patterns with several sign changes can produce more than one valid rate.

Inputs and variables

VariableMeaningExample
Initial Capital OutlayThe money committed at year zero, entered into the calculation as a negative cash flow. Every later inflow is, in effect, judged on how well it repays this amount with interest.$20,000
Annual Cash InflowsThe cash the investment returns in each year — rent, distributions, or instalment repayments. Their size and timing both move the result; earlier dollars count for more.$4,000, $5,000, $6,000, $7,000, $8,000
Cash Flow Horizon (Years)How many yearly flows follow the outlay. A longer stream can support a respectable rate even with modest yearly amounts, because the outlay is repaid over more periods.5 years of inflows
Net Present Value TargetNot a cash input but the condition the solver enforces: the discounted inflows must exactly equal the outlay. Any rate above the IRR gives the project a positive value at that rate; below it, negative.NPV = $0 at the solved rate

Worked example

An investor commits $20,000 to a small project that returns $4,000 in year one, then $5,000, $6,000, $7,000, and $8,000 in years two through five.

  1. Total cash returned: $4,000 + $5,000 + $6,000 + $7,000 + $8,000 = $30,000 against a $20,000 outlay — $10,000 of undiscounted profit, but spread across five years.
  2. The solver starts at a 10% guess: at that rate the discounted inflows are worth more than $20,000, so the net present value is positive and the rate must rise.
  3. Iterating upward, each step re-discounts all five inflows and narrows the gap until the net present value reaches zero.
  4. Convergence: at a rate of 13.45%, the discounted value of the five inflows equals the $20,000 outlay — that rate is the internal rate of return.
  5. Cross-check the hurdle logic: at any required return below 13.45% this project shows a positive net present value; at any rate above it, a negative one.

An internal rate of return of 13.45% per year on a $20,000 outlay returning $30,000 across five growing annual inflows.

The 13.45% reads as the project’s own annual pace: it is the return the cash flow pattern itself generates, accounting for the fact that the early inflows are small and the large ones arrive late. Compared with a 10% hurdle rate, the project clears the bar with room to spare; compared with a simple average — $10,000 of profit on $20,000 over five years, sometimes loosely called 10% a year — the IRR is higher because the money also comes back progressively and can be reused. Judge it against the return you require for this risk level, not against a deposit rate.

Understanding your results

IRR is a rate, not a pile of money, and that cuts both ways. A small project can post a spectacular IRR while adding few dollars to your wealth, and a large project with a modest IRR can add far more. Read it beside the total cash returned and the net present value at your own required rate: the rate tells you efficiency, the dollar figures tell you materiality, and a sound decision usually needs both.

Timing is the soul of the measure. Two projects returning the same $30,000 on the same $20,000 earn different IRRs if one pays early and the other pays late, because early cash can be put back to work. That is precisely what simpler measures miss. It is also the measure’s blind spot: the mathematics quietly treats every interim inflow as if it could be reinvested at the IRR itself, an assumption that flatters projects with very high rates.

Assumptions and limitations

The solver assumes one cash flow per year, landing exactly on each year mark, and a single sign change from outlay to inflows. Patterns that flip sign repeatedly — common in projects with later capital calls — can produce several rates that zero the equation, or none the iteration can find, and the engine returns whichever its path converges to without warning. It also embeds the reinvestment assumption described above, ignores taxes and financing on the flows, and treats projected inflows as certain when real distributions slip, shrink, or arrive late. Use the rate as a disciplined comparison tool between similar projects, and stress it with weaker flow assumptions before committing.

Common mistakes to avoid

Sources

Related guides