Audited 27 Jul 2026·Last updated 28 Oct 2026·4 citations·Tier 2·0 uses

IRR Calculator

Find the internal rate of return of a series of cash flows, the rate where NPV is zero, with a count of sign changes that warns when more than one IRR exists.

IRR Calculator

Comma-separated cash flows. The FIRST value is period 0 — your undiscounted initial outlay, usually negative. Every value after that is discounted at 1, 2, 3... years. Requires at least one negative and one positive value.
Internal rate of return (IRR)
16.34
The internal rate of return, as a percentage per period: the discount rate at which the series' net present value is zero.
IRR (decimal)
0.1634
NPV at the computed IRR (sanity check)
$-0.00
Sign changes in the cash-flow series
1
Number of periods entered
4

Background.

Put $10,000 into a machine that brings back $3,000, $4,200 and $6,800 over the next three years and you receive $14,000 in total. That is not a 40% return, and it is not 40% spread over three years either, because most of the money arrives late and money that arrives late is worth less. The internal rate of return answers the question properly: what single annual rate, compounded, makes those three receipts exactly repay the $10,000? For this machine the answer is about 16.34%.

Put more formally, the IRR is the discount rate at which the net present value of the whole series is zero. That makes it a break-even figure. If the money tied up in the machine costs you less than 16.34% a year, whether as borrowing or as returns given up elsewhere, the cash flows more than cover it; if it costs more, they fall short. It judges the cash flows you expect rather than forecasting them, so any error in those figures passes straight into the rate.

Once a series has more than two entries there is no formula that can be rearranged to give the rate, so it is found by search. The calculator scans rates from −99% upward to locate where the net present value changes sign, then halves that interval repeatedly until the rate is pinned down.

One caution comes with the measure itself. A series that turns negative again later, such as a project with a clean-up bill at the end, can have two or more rates that each set the net present value to zero, and the calculator reports only the lowest. The number of sign changes in your series is shown so you can tell when that applies.

What is irr calculator?

The internal rate of return is the rate r that solves CF₀ + CF₁ ÷ (1 + r) + CF₂ ÷ (1 + r)² + … + CFₙ ÷ (1 + r)ⁿ = 0, where CFₜ is the cash flow at the end of period t and CF₀ is today's amount, usually the outlay. It is a rate per period: with yearly cash flows it is an annual rate, with monthly cash flows a monthly one. The IRR uses nothing but the cash flows themselves, which is what makes it internal, and that is also its limit: it says what the project earns on the money it has tied up, not how much value it adds in dollars. Net present value at your own required rate answers that second question.

How to use this calculator.

  1. Type the cash flows as a comma-separated list, starting with period 0, today. Money you pay out is negative and money you receive is positive, so a purchase followed by three years of income looks like -10000, 3000, 4200, 6800.
  2. Leave out thousands separators. Because commas separate the entries, -10,000, 3,000, 4,200, 6,800 is read as eight cash flows, -10, 0, 3, 0 and so on, and gives a meaningless 111.08%. The number of periods shown should match what you meant to enter.
  3. Keep the periods equal in length and enter 0 for any period with no cash flow, so that a sum received in year 3 sits in the third place after the outlay.
  4. Read the IRR as a rate per period of whatever length you used, and compare it with your own required rate of return.
  5. Check the sign-change count. With more than one change, read the reported rate with care and look at the net present value at your required rate as well.

The formula.

Σ CFₜ ⁄ (1+IRR)ᵗ = 0

The equation Σ CFₜ ÷ (1 + r)ᵗ = 0 is a polynomial in 1 ÷ (1 + r) whose degree is the number of periods, and beyond the simplest cases its roots can only be found numerically. The search runs in two stages. First the net present value is evaluated across a grid of rates, every 0.1 percentage point from −99% to +1,000% and then every 50 points up to +10,000%, stopping at the first pair of neighbouring rates where the value changes sign. Then bisection takes over: the net present value at the midpoint shows which half still holds the sign change, and the interval is halved again until it is narrower than 0.00000001 percentage points. Bisection cannot overshoot or wander off the way faster slope-following methods sometimes do; it only needs a sign change to start from. The net present value at the reported rate is shown as a check and should be within a fraction of a cent of zero. Descartes' rule of signs limits how many rates above −100% can solve the equation to the number of sign changes in the series, so one sign change means exactly one IRR. With more than one, the first root met on the way up from −99%, the lowest, is the one reported. A series needs at least two entries and at least one change between negative and positive; otherwise there is no rate to find.

A worked example.

Example

The series is -10000, 3000, 4200, 6800: $10,000 paid out today and three receipts at the end of years 1, 2 and 3. The rate that balances them is 16.3406%, or 0.1634 as a decimal. Discounting each receipt at that rate shows why. The first is worth 3,000 ÷ 1.163406 = $2,578.64 today. The second is worth 4,200 ÷ 1.163406² = $3,103.04, and the third 6,800 ÷ 1.163406³ = $4,318.33. Together the three present values come to $10,000, the same as the outlay, so the net present value at the IRR is zero; the solver's residual is −1.46 × 10⁻⁷ dollars, far less than a cent. The series changes sign once, from the outlay to the first receipt, so this is the only rate that works. The IRR is the point where the dollar answer flips. Discounted at 10% a year the same three receipts are worth $1,307.29 more than they cost; at 20% they are worth $648.15 less.

cash Flows-10000, 3000, 4200, 6800

Frequently asked questions.

How can a project have two internal rates of return?
Brealey, Myers and Allen's pump example has cash flows of -1,600, +10,000 and -10,000. The net present value is zero at both 25% and 400%, and the calculator reports 25%, the lower root. Yet at a 10% required return the net present value is -$773.55: both IRRs beat 10% and the project still loses money, which is why NPV is the safer guide when signs change twice.
Why do I get a negative IRR after adding a final cost?
Add a $2,000 closing cost in year 4 to the default series, -10000, 3000, 4200, 6800, -2000, and the calculator reports -74.6644%. That is a genuine root, and the lowest, but the other root, near 9.67%, is the one that describes the project. At 10% the net present value is -$58.74, so in this case the clean-up bill turns a comfortable project into a marginal loser.
Should I choose the project with the higher IRR?
Not automatically, because IRR ignores size. Paying $1,000 to receive $1,500 a year later has an IRR of 50%; paying $10,000 to receive $13,000 has 30%. At a 10% required rate the first adds $363.64 of net present value and the second $1,818.18. When you can take only one, comparing net present values at your own rate settles it.
My cash flows are monthly. Is the result an annual rate?
No, it is a monthly rate, because the IRR is per period. Annualise it with (1 + r)¹² − 1. For example, -100 followed by eleven zeros and then 105 gives 0.4074% a month, which compounds to 5.00% a year, matching the $5 gained over twelve months.
How does IRR relate to CAGR?
With one outlay and one final receipt they are the same number. Entering -10000, 0, 0, 15000 gives an IRR of 14.4714%, which equals 1.5^(1/3) − 1, the compound annual growth rate from $10,000 to $15,000 in three years. The zeros matter: without them the $15,000 would be treated as arriving after one year.
What does a negative IRR mean?
That the cash flows never pay back what went in. Paying $10,000 and receiving $3,000 a year for three years returns only $9,000, and the IRR is -5.0885%. It is a valid result: the rate at which those receipts would exactly repay the outlay is below zero.
Why does the calculator say no IRR could be found?
Either the series never changes sign, so it is all outlay or all income and no rate can bring it to zero, or the only roots lie outside the range searched, below -99% or above +10,000%. The second case is rare and almost always points to a mistyped entry, so check the period count first.

How this page was produced

Published by
Quanta Calculator
Primary sources
4 cited below
Method
Σ CFₜ ⁄ (1+IRR)ᵗ = 0
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon