IRR Calculator

Calculate the Internal Rate of Return (IRR) and Net Present Value (NPV) for an investment with irregular cash flows over multiple periods.

Enter Year 0 as a negative number (investment outflow). Future cash inflows are positive.
$
$
$
$
$
$
Separate values with new lines, semicolons, spaces or commas. A comma followed by exactly three digits is a thousands separator (30,000 = 30000), so 100,230 is one value; write -100 230 -132 for three values.
%

Put -100 in Year 0 and 5,000 in Year 1 and this page reports an IRR of 4,900.00%. That looks like a typo and is exactly right: $100 turned into $5,000 in one period is a 49-fold gain, and 49 x 100 is 4,900 percent. The page shows such large rates in full, up to 100,000,000%, and says 'above 100,000,000%' beyond that. The more common trouble is the opposite, a rate that is present but not unique, or an entry the page cannot read, and both are reported in words instead of being guessed.

Finding every rate where NPV crosses zero

The IRR is the rate r that solves the sum of CF(t) / (1 + r)^t = 0, where t counts rows starting at 0. The page checks NPV at rates from -99% up to 100,000,000% and, wherever NPV changes sign, narrows the gap by repeated halving. With the starting rows (-$50,000 in Year 0, then $12,000, $15,000, $18,000, $20,000 and $25,000) the IRR is 20.42%. At the default 10% discount rate the NPV tile reads $16,012.75. The NPV table shows $525.33 at 20% and -$5,200.00 at 25%, so the sign flips just above 20%. Change the discount rate to 15% and the NPV tile becomes $7,476.71 while the IRR stays at 20.42%. Total Inflows are $90,000.00 and Total Outflows $50,000.00.

More than one answer. Flows of -$100, +$230 and -$132 change sign twice, and the NPV is zero at both 10% and 20%. The page lists both, '10.00%, 20.00%', in an amber note and puts the lowest in the IRR tile. Flows such as -$1,000, +$3,000 and -$2,500 change sign twice and have no real IRR at all, so the tile reads N/A with a message. If every flow has the same sign the message says an outflow and an inflow are both needed.

Units and reading the input. Enter -$1,000 and twelve flows of $90 and the page returns 1.20%, a monthly rate because the maths counts rows, not labels. Compounded, 1.012043^12 - 1 = 15.45% a year. Each row takes one value: 30000 or 30,000, with a minus sign for outflows. The paste box takes a list, split on new lines, semicolons, spaces and commas, where a comma followed by exactly three digits is a thousands separator. So -100 230 -132 is three values, -100,230,-132 is also three, but 100,230 is the single value 100230. Text such as 12abc is named in a message and nothing is changed. Discount rates must sit between -99 and 1,000. Percentages are rounded to two decimals.

How to Use This Calculator

  1. Fill the rows. Year 0 (Initial Investment) is usually negative, the money you pay in, and later rows are positive inflows. Row labels can be edited.
  2. Or paste a list into the box labelled Or paste a list of flows (Year 0 first) and press Fill rows from list; the confirmation line shows the values it read.
  3. Use + Add Year for more periods, or the red x to remove a row (shown when more than two rows exist). The limit is 100 rows.
  4. Set the Discount Rate (for NPV), the percentage you would require as a minimum return.
  5. Press Calculate. A message names the row or value to fix, for example when a row holds more than one number.
  6. Read the IRR, NPV at your rate, Total Inflows and Total Outflows tiles, then the NPV table for the Accept or Reject verdict at each rate.
  7. Press Reset to restore the starting rows and a 10% rate.

Frequently Asked Questions

Does the Discount Rate field change the IRR?

No. It only sets the rate for the NPV tile. The IRR depends solely on the cash flows, so two people with different hurdle rates see the same IRR and a different NPV.

My cash flows are monthly. Is the IRR an annual rate?

No, it is monthly. There is no period setting, so the result is per row. Convert with (1 + monthly IRR)^12 - 1 to compare with an annual figure.

Which IRR is right when the flows change sign more than once?

Possibly neither. Several rates can make the NPV zero, and the page lists them all in the amber note. Use the NPV table or your own required return to judge the project instead.

What does N/A mean in the IRR tile?

No rate between -99% and 100,000,000% brings the NPV to zero. Either every flow has the same sign, or the flows change sign but never cross zero, as with -1,000, 3,000 and -2,500.

I pasted -100,230,-132 and got three rows. Why not -100,230?

A comma followed by exactly three digits is read as a thousands separator, and -132 begins with a minus sign, so the second comma separates values. Use spaces or semicolons to avoid any doubt.