Templates, guides & honest tool reviews for small business

Sunday, November 29, 2026

IRR in Excel: The Rate a Project Earns, and When It Misleads

Section: Excel & Google Sheets

IRR in Excel - explanatory illustration for IRR in Excel
Illustration: IRR in Excel

The IRR function in Excel returns the annual rate a series of cash flows earns. =IRR(A2:A7) on an investment of 70,000 that returns 12,000 to 26,000 over five years gives 8.7 percent. It is the number people quote when they ask "what return does this project make", and it is the partner of NPV. This guide covers the syntax, the two rules the values must satisfy, the guess argument and the #NUM! error, a worked example with Microsoft's own figures, and the cases where IRR misleads. The figures are made up.

What IRR returns

Microsoft describes IRR as returning the internal rate of return for a series of cash flows, where the cash flows do not have to be even but must occur at regular intervals. The result is the interest rate at which the investment breaks even, meaning the rate that makes its net present value zero. It is expressed as a percentage, which is why it is easier to quote in a meeting than an NPV figure in currency.

The syntax

=IRR(values, [guess])

  • values is required: a range or array of numbers, with payments as negatives and income as positives.
  • guess is optional. It is a starting point for the calculation, and Microsoft sets the default to 0.1 (10 percent) when you leave it out.
Arguments (made up) - explanatory illustration for IRR in Excel
Arguments (made up) (explanatory illustration, not a software screenshot).

Two rules for the values

Microsoft states both, and both cause most of the errors people meet. First, the values must contain at least one positive and one negative number, because a return only exists when money goes out and comes back. Second, the order of the values defines the order of the cash flows, so the initial cost must sit first and the later income after it. Text, logical values and empty cells inside the range are ignored, which means a blank row silently compresses your timeline.

A worked example

Take a business that costs 70,000 and returns 12,000, 15,000, 18,000, 21,000 and 26,000 over five years. Microsoft's own example uses exactly these figures, and the results are worth knowing because they show how much the horizon matters:

  • Four years of returns, =IRR(A2:A6), gives -2.1 percent. The business has not yet repaid its cost.
  • Five years of returns, =IRR(A2:A7), gives 8.7 percent. The fifth year turns the project positive.
  • Two years of returns, =IRR(A2:A4,-10%), gives -44.4 percent, and here a guess is needed because the result is far from the default.

I recomputed those three results independently before writing them, and they match. The lesson is practical: an IRR quoted without its horizon is close to meaningless, so always state the period the flows cover.

Same business (made up) - explanatory illustration for IRR in Excel
Same business (made up) (explanatory illustration, not a software screenshot).

A cleaner example

For a simple case, 100,000 spent today and 30,000 a year for five years gives an IRR of 15.24 percent. That is the kind of figure a small business owner can compare with a loan rate or a savings rate, and it is the reason IRR is popular. If the question is what the monthly payment on that 100,000 would be at a given rate, PMT answers it directly. The same flows at 8 percent discount rate have a positive NPV, so both measures agree here.

Guess and the #NUM! error

Excel finds IRR by iteration. Microsoft explains that it starts from the guess and cycles until the result is accurate within 0.00001 percent, and that it returns #NUM! if it cannot find a result after 20 tries. The fix is usually a different guess: if the answer is negative, try -10 percent or -50 percent. If the cash flows never change sign, no guess will help, because no rate exists.

IRR is the rate where NPV is zero

Microsoft puts the relationship plainly: IRR is closely related to NPV, and the rate IRR returns is the one corresponding to a zero net present value. That is a useful check. Put =NPV(IRR(A2:A7),A2:A7) beside the IRR cell and you should see something very close to zero, within the accuracy of the calculation. If it does not, one of the ranges is wrong.

IRR or NPV - explanatory illustration for IRR in Excel
IRR or NPV (explanatory illustration, not a software screenshot).

Where IRR misleads

A percentage hides size. A 40 percent return on 1,000 is 400, while a 12 percent return on a million is 120,000, and IRR alone would rank the small project first. IRR also assumes every interim cash flow is reinvested at the IRR itself, which is rarely true. And when the cash flows change sign more than once, for example a project with a large cleanup cost at the end, more than one rate can satisfy the equation, so the answer depends on the guess. In those cases use NPV with a stated discount rate and show the money, not the percentage.

IRR compared with NPV

NPV answers "does this clear my hurdle, and by how much", in currency. IRR answers "what rate does this earn", as a percentage. Use NPV to decide and IRR to communicate, and show both when the audience includes people who think in rates. If the projects are mutually exclusive, NPV is the safer decision rule because it accounts for scale. In a full cash flow forecast the two sit side by side: the rate for the summary line, the money for the decision.

Problems - explanatory illustration for IRR in Excel
Problems (explanatory illustration, not a software screenshot).

Common problems

  • #NUM! on a valid-looking range. No sign change, or the guess is too far from the answer. Try a negative guess.
  • A result that seems too high. The initial cost is missing, or a cost was entered as a positive number.
  • Monthly flows with an annual-looking answer. IRR returns the rate per period. Monthly flows give a monthly rate, which must be annualised deliberately.
  • A blank row in the middle. Empty cells are ignored, so the timeline compresses. Keep one value per period.
  • Two different answers from two guesses. More than one sign change. Switch to NPV.
  • A tiny NPV instead of zero. That is expected. The iteration is accurate to a small tolerance, not exact.

Questions and answers

Does IRR need an initial negative value?

Yes. The range must contain at least one positive and one negative number, or there is no rate to find.

What guess should I use?

Leave it out first. If you get #NUM! or an unexpected answer, try -10% or a value near your expected return.

Is IRR the same as a savings interest rate?

Only in the sense that both are annual rates. IRR is derived from a series of cash flows, and it assumes reinvestment at that same rate.

Does IRR work in Google Sheets?

Yes, with the same arguments. Check Google's function page before copying a model across.

Which is better, IRR or NPV?

NPV for decisions, IRR for explaining. Use both when the audience cares about percentages.

Official references

العربية