Article

How to calculate IRR

IRR (internal rate of return) is the annual rate that sets a cash-flow series’ NPV to zero. At a 10,000 investment and inflows 3,000 / 3,500 / 4,000 / 4,500 the result is ≈ 17.09%. The same path runs in the IRR calculator.

Scale in money: NPV. Without mid-period flows: how to calculate rate of return. Annual average: CAGR.

Σ CFt / (1+r)t = 0

The calculator solves for rate r on a yearly cash-flow series. Enter the initial investment as a positive number — year 0 stores it as an outflow. An optional required return compares against IRR, shows NPV at that hurdle, and discounted payback. Simple payback always appears. The model does not compute XIRR with dates.

Σt=0…n CFt / (1 + r)t = 0
CF0 = −|investment|
simple payback = first year with cumulative CF ≥ 0

FieldRoleNote
InvestmentYear 0 (outflow)enter as positive
Cash flows Y1…Inflows / depositsup to 24 years
Required returnHurdle / NPV / DPBoptional

The result is not investment advice and not a promised return.

Quick comparison

ScenarioInputIRRNote
Four inflows10,000 · 3k/3.5k/4k/4.5k · 8%≈ 17.09%NPV ≈ 2,261; PB after 3; DPB after 4
Below hurdle50,000 · 5×12k + 18k · 10%≈ 9.42%NPV ≈ −785; DPB beyond horizon
Negative year 220,000 · 5k/−2k/8k/12k · 12%≈ 4.54%3 sign changes — check NPV
Many signs15,000 · 8k/−6k/9k/−3k/12k · 9%≈ 8.81%5 sign changes — one numerical root

Four worked examples

You can repeat each scenario in the IRR calculator.

1. 10,000 and inflows 3,000 / 3,500 / 4,000 / 4,500, 8% hurdle

IRR above the hurdle, paybacks, and NPV.

  1. series: −10,000, 3,000, 3,500, 4,000, 4,500.
  2. IRR ≈ 17.09% (above 8%).
  3. simple payback: after year 3; discounted at 8%: after year 4.
  4. NPV at 8% ≈ 2,261.

2. 50,000, five years of 12,000 then 18,000, 10% hurdle

IRR below the required return.

  1. series: −50,000, then four times 12,000 and 18,000.
  2. IRR ≈ 9.42% — below 10%.
  3. NPV at 10% ≈ −785.
  4. discounted payback at 10%: beyond the horizon.

3. 20,000 with a negative year 2, 12% hurdle

An extra sign change.

  1. series: −20,000, 5,000, −2,000, 8,000, 12,000.
  2. IRR ≈ 4.54% — well below 12%.
  3. three sign changes — the root may not be unique.
  4. NPV at 12% ≈ −3,810; base the decision on NPV.

4. 15,000 with many sign changes, 9% hurdle

A non-uniqueness warning.

  1. series: −15,000, 8,000, −6,000, 9,000, −3,000, 12,000.
  2. the calculator shows one solution ≈ 8.81%.
  3. five sign changes — more roots may exist.
  4. NPV at 9% ≈ −87; use full NPV for the decision.

Common mistakes with IRR

  • Treating IRR like a promised savings rate — it is the rate that sets NPV to zero on your numbers, not a guarantee.
  • Comparing 17% on 10,000 and on a million without NPV — scale lives in money, not in the percent alone.
  • Ignoring multiple sign changes — then prefer NPV.
  • Mixing this with CAGR — CAGR does not read mid-period deposits.
  • Expecting XIRR with dates — this page uses full years only.
  • Entering the investment as negative when you do not need to — a positive amount is enough; the calculator sets the year-0 sign.

Frequently asked questions

How do you calculate IRR?

You solve for the rate r where Σ CF_t / (1+r)^t = 0. Enter the initial investment as a positive number — year 0 stores it as an outflow. At −10,000 and inflows 3,000–4,500, IRR ≈ 17.09%.

How is IRR different from NPV?

IRR is the percent that sets this series’ NPV to zero. NPV at your required return is a money amount at that hurdle — about 2,261 at 8% for the same series.

What is simple payback?

It is the year when cumulative undiscounted cash flows return to zero or above. In the 10,000 and four-inflow example it lands after year 3.

When is IRR misleading?

With multiple sign changes the root may not be unique. Then base the decision on NPV at your rate, not on the percentage alone.

How does IRR differ from CAGR and rate of return?

CAGR and rate of return need a start and an end. IRR reads the full yearly cash-flow series, including mid-period deposits and withdrawals.

Does this model compute XIRR with dates?

No. Periods are full years (up to 24). XIRR with irregular dates is outside this model.