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

IRR Calculator

Free IRR calculator: find the internal rate of return of any cash-flow series by numerical bisection, with honest disclosure of multiple-IRR cases.

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 discount rate at which the net present value of this cash-flow series is exactly zero — the break-even annualized return the series implies.
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.

An IRR calculator solves for the one number every capital-budgeting analysis eventually needs: the discount rate at which a cash-flow series' net present value is exactly zero. The internal rate of return is, in effect, the break-even annualized return baked into a project or investment's own cash flows — if your actual cost of capital is below the IRR, the project is expected to create value; if it is above the IRR, the project is expected to destroy value. Unlike net present value, which requires you to supply a discount rate and returns a dollar figure, IRR requires no rate at all — it solves for the rate itself, algebraically implied by the cash flows you already have.

There is no closed-form formula for IRR once a cash-flow series has more than two entries — it is a polynomial root-finding problem with no algebraic shortcut, which is exactly why every real IRR tool, from a financial calculator's IRR button to Excel's IRR() function, relies on a numerical search rather than a single-step equation. This calculator uses a bisection method: it scans a wide range of candidate discount rates from -99% to +10,000% for the point where net present value flips from negative to positive, then repeatedly narrows that bracket in half until the rate is pinned down to better than one part in ten billion. Bisection is the deliberate choice here over faster methods like Newton-Raphson because it is unconditionally convergent given any bracket with a sign change — it cannot diverge, overshoot into an invalid discount-rate domain, or oscillate the way Newton-Raphson occasionally can on unusual cash-flow shapes. If no such bracket exists anywhere in the searched range, the calculator throws a clear error rather than ever returning NaN or a fabricated root.

IRR has one well-documented mathematical quirk that this calculator addresses honestly rather than hiding: a cash-flow series that changes sign more than once — for example, an initial cost, followed by income, followed by a later cost, such as an oil well that must be capped and reclaimed at the end of its life — can have more than one mathematically valid internal rate of return. This is not a bug in any particular calculator; it is a property of the underlying polynomial, formally bounded by Descartes' rule of signs. The classic textbook illustration, cited in Brealey, Myers and Allen's Principles of Corporate Finance, is a cash-flow series of -1,600, +10,000, -10,000, which has exactly two valid IRRs: 25% and 400%. This calculator reports how many sign changes your series contains, and when that count exceeds one, it flags explicitly that more than one IRR may exist and that net present value — not IRR — is the more reliable decision tool for that cash-flow shape.

Enter your cash-flow series as a comma-separated list, starting with the period-0 outlay, exactly as you would for Quanta's NPV calculator. The tool returns the IRR as both a percentage and a decimal, the net present value at that computed rate (which should sit essentially at zero as a built-in sanity check on the solver itself), the number of sign changes in your series, and a count of parsed periods to help catch a dropped value.

What is irr calculator?

The internal rate of return (IRR) is the discount rate at which a series of cash flows produces a net present value of exactly zero. It is the implied, break-even annualized rate of return a project or investment generates purely from its own timing and size of cash flows, without reference to any externally chosen discount rate. Formally, IRR is the value r that solves the equation: the sum, for every period t, of the cash flow at time t divided by (1 plus r) raised to the power t, equals zero. Because this is a polynomial equation with degree equal to the number of periods, there is no general algebraic formula for r once there are more than two cash flows — practitioners and software alike rely on numerical root-finding methods such as bisection or Newton-Raphson. A cash-flow series with a single sign change (the ordinary "pay once up front, receive returns later" pattern) is guaranteed to have exactly one real, economically meaningful IRR. A series with more than one sign change can have more than one mathematically valid IRR, a well-known limitation formally bounded by Descartes' rule of signs and illustrated by the classic textbook "pump project" example.

How to use this calculator.

  1. Enter your full cash-flow series as a comma-separated list. The first number is period 0 — your initial outlay, entered as a negative number if money is leaving your hands today, following the same convention as Quanta's NPV calculator.
  2. Enter every subsequent cash flow in order: period 1, period 2, and so on, using consistent units and period length throughout.
  3. Make sure the series includes at least one negative value and at least one positive value — IRR is undefined for a series that is all cost or all income.
  4. Read the reported IRR. Compare it against your actual cost of capital or opportunity cost: an IRR above that threshold suggests value creation; an IRR below it suggests the opposite.
  5. Check the NPV-at-IRR figure — it should be essentially zero. This is the calculator's own built-in confirmation that the numerical solver actually converged on a real root.
  6. Check the sign-change count. If it is greater than 1, read the multiple-IRR FAQ below before relying on the reported rate as the sole decision criterion — consider running the NPV calculator at your actual discount rate instead.

The formula.

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

IRR is defined implicitly: it is whatever discount rate makes the net present value formula — the sum of every cash flow divided by (1 plus the rate) raised to its period index — equal exactly zero. Because this equation cannot generally be rearranged to isolate the rate algebraically once there are more than two cash flows, the calculator finds it numerically in two stages. First, it scans a wide grid of candidate rates from -99% up to +10,000%, evaluating net present value at each point, until it finds two adjacent candidates where the sign flips from negative to positive (or vice versa) — that pair brackets a real root. Second, it repeatedly bisects that bracket: it evaluates net present value at the midpoint, keeps whichever half still contains the sign change, and narrows the interval by half every iteration until the bracket width is smaller than one part in ten billion. This is the standard bisection root-finding method, chosen for its guaranteed convergence whenever a valid bracket exists, rather than a Newton-Raphson-style method that can occasionally diverge on unusual cash-flow shapes. All arithmetic inside the bisection loop runs in arbitrary-precision Decimal.js math. If the series contains more than one sign change, more than one bracket — and therefore more than one valid root — may exist; this calculator reports the first bracket found scanning upward from -99%, which is typically the lowest of the possible IRRs, and separately reports the total sign-change count so the possibility of additional roots is never hidden from the result.

A worked example.

Example

A small manufacturer buys a piece of equipment for $10,000 and projects it will generate $3,000, $4,200, and $6,800 in the three years that follow. Entering -10000, 3000, 4200, 6800, the calculator scans for the discount rate at which this series' net present value is exactly zero, then refines that rate by bisection to high precision, arriving at an IRR of approximately 16.34%. The net present value at that computed rate comes out essentially at zero — confirming the solver converged correctly. There is exactly one sign change in this series (negative to positive, at period 1), so exactly one real IRR exists and no multiple-root ambiguity applies. If the manufacturer's actual cost of capital is, say, 10%, the equipment purchase clears that hurdle comfortably — the cash flows imply a return more than six percentage points above what capital actually costs the business, which is the same conclusion the NPV calculator would reach discounting the same series at 10%. If the manufacturer's true cost of capital were instead 20%, the equipment purchase would fail to clear the bar despite still producing a positive IRR, because 16.34% sits below that higher required return.

cash Flows-10000, 3000, 4200, 6800

Frequently asked questions.

Why can't IRR be solved with a simple formula, the way CAGR can?
CAGR only ever has two cash flows — a beginning value and an ending value — so its formula can be solved directly for the rate using a single root operation. IRR generalizes to any number of cash flows at any timing, which turns the underlying equation into a polynomial of degree equal to the number of periods. Algebra has no general closed-form solution for the roots of a polynomial once its degree exceeds four, and even the degree-three and degree-four formulas are impractical for everyday use, so every real-world IRR tool — this calculator, a financial calculator's IRR button, spreadsheet IRR functions — relies on a numerical search rather than a single-step equation.
What does it mean if my cash-flow series has more than one valid IRR?
It means the series changes sign — switches between cash outflows and cash inflows — more than once, which can genuinely produce more than one discount rate at which net present value equals zero. This is a well-documented mathematical property, not a calculation error, and it is formally bounded by Descartes' rule of signs: a series with k sign changes has at most k positive real roots. The classic textbook illustration is a project with cash flows of -1,600, +10,000, and -10,000 (an oil-pump project that must be capped and reclaimed at its end), which has exactly two valid IRRs: 25% and 400%. This calculator reports the sign-change count in your series specifically so you know when this applies, and it is generally more reliable to fall back on the NPV calculator at your actual known discount rate whenever the sign-change count exceeds one.
How is IRR different from NPV?
Net present value is a dollar figure computed at a discount rate you supply; IRR is a percentage rate solved for algebraically, with no discount rate required as an input. NPV directly answers "does this create value at my required return"; IRR answers "what break-even return does this series imply." For a single conventional project the two usually agree on an accept-or-reject decision, but they can disagree when ranking differently sized or differently timed mutually exclusive projects, and IRR — unlike NPV — can produce more than one valid answer for a sign-changing series. Most corporate-finance textbooks recommend NPV as the primary decision rule for exactly this reason, with IRR reported alongside it as a supporting, intuitive percentage.
How is IRR related to CAGR?
For an investment with exactly two cash flows — money invested once at the start, a single value realized at the end, nothing in between — IRR and the compound annual growth rate (CAGR) give identical answers, because that two-cash-flow scenario is exactly what CAGR's formula assumes. The moment a real cash-flow series has more than two entries, IRR becomes the more general and more accurate measure, because it properly weights the size and timing of every individual cash flow rather than looking only at the very first and very last figure.
What if the calculator says no IRR could be found?
This happens when the cash-flow series contains no sign change at all — every entry is positive (pure income, no cost) or every entry is negative (pure cost, no income) — in which case no discount rate can ever bring net present value to zero, so no real IRR exists by definition. It can also happen, far more rarely, if a genuine root exists but sits outside the searched range of -99% to +10,000%, which covers every economically realistic scenario. In either case the calculator throws a clear, explicit error rather than ever returning an undefined value or a fabricated number.
Can IRR be negative?
Yes. A negative IRR simply means the series would need a negative discount rate to bring its net present value to zero — in practical terms, it describes a cash-flow series where the total return failed to recover the initial outlay at all, a genuine capital loss. A negative IRR is a perfectly valid, finite result and is treated no differently by the solver than a positive one; it is simply a signal that the investment underperformed even a 0% hurdle rate.

Embed

Quanta Pro

Paid features are coming later.

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