IRR Formula: Find a $50,000 Project’s 12.9% Return by Hand

The internal rate of return (IRR) is the discount rate that makes a project’s net present value exactly zero: 0 = CF₁ ÷ (1 + IRR)¹ + CF₂ ÷ (1 + IRR)² + … + CFₙ ÷ (1 + IRR)ⁿ − the initial investment. There is no way to rearrange that for IRR, so you find it by trial: try a rate, see whether NPV is above or below zero, and adjust.

Below, we find the IRR of one real-looking project by hand in four tries, then in one Excel formula. We also cover the #NUM! error, XIRR and MIRR, and the three situations where IRR gives a misleading answer.

Sample: Ember & Salt Street Kitchen, our fictional food truck, and the same $50,000 catering trailer as our NPV guide. Cash figures are our assumptions.

A laptop keyboard above a printed sheet of line, bar and pie charts.
In practice, IRR is a one-line spreadsheet formula; knowing what it does is the hard part. Photo: Lukas Blazek, Pexels.

Key points

  • IRR is the yearly return a project earns on the money tied up in it.
  • It is the rate where NPV = 0, found by trial and error (or by Excel doing the trials for you).
  • Accept a project when its IRR beats your required return, also called the hurdle rate.
  • In Excel, =IRR() includes the year-0 investment, unlike =NPV().
  • IRR can mislead when cash flows change sign more than once, when projects differ in size, or when you can’t reinvest at the IRR.

The IRR formula

The formula Find the rate IRR that makes Σ CFₜ ÷ (1 + IRR)ᵗ − C₀ = 0, adding up every year from t = 1 to t = n.

  • CFₜ is the cash the project brings in during year t.
  • C₀ is the cost today, at year 0.
  • IRR is the unknown rate. It appears in every term, raised to a different power, which is why it can’t be solved like an ordinary equation once there are more than two years.

It is the same formula as NPV, set to zero. NPV asks "at my rate, how much value does this add?". IRR asks "at what rate does it add nothing?"

Finding the IRR by hand

Ember & Salt, our sample food truck, is weighing a $50,000 catering trailer expected to bring in $12,000, $14,000, $15,000, $15,000 and $16,000 over five years. We already know its NPV at 10% is $3,929. Positive, so the IRR must be higher than 10%. Try higher rates until NPV turns negative:

TryRateNPV at that rateWhat it tells you
110%$3,929Positive: IRR is above 10%
215%−$2,585Negative: IRR is between 10% and 15%
312%$1,163Still positive: between 12% and 15%
413%−$137Just negative: between 12% and 13%, close to 13%
Excel12.89%about $0The IRR

Each NPV discounts the five years of cash at that rate and subtracts the $50,000, exactly as in the NPV guide.

A quick estimate from two tries

Once you have one positive and one negative NPV, draw a straight line between them (exam papers call this linear interpolation):

Estimate IRR ≈ low rate + (high rate − low rate) × NPV at low ÷ (NPV at low − NPV at high)

With 10% and 15%: 10% + 5% × $3,929 ÷ ($3,929 + $2,585) = 10% + 5% × 0.603 = 13.0%. The true answer is 12.9%. The closer together your two rates, the better the estimate, because the real NPV curve bends.

Try it: watch NPV and IRR move

Pre-filled with the catering trailer. Set the discount rate to the IRR shown and the NPV drops to about zero; change any year’s cash to see the IRR move.
Cash coming back each year
Year 1
Year 2
Year 3
Year 4
Year 5
$3,929net present value at 10%
12.9%internal rate of return (IRR)
3.6 yearsto earn it back (4.6 years at today’s value)

Positive: at 10%, the cash coming back is worth $3,929 more than you put in, in today’s money. It breaks even at a 12.9% rate, its IRR. Profitability index: 1.08, so each $1 put in comes back as $1.08 in today’s money.

Each year’s cash, and what it is worth today
  • Cash in that year
  • Worth today

At 10%, the $16,000 you get in year 5 is worth $9,935 today. The further away the money, the less it is worth now.

Show the numbers
YearCash in that yearWorth today
1$12,000$10,909
2$14,000$11,570
3$15,000$11,270
4$15,000$10,245
5$16,000$9,935
NPV at different discount rates

The higher the rate you ask for, the lower the NPV. It reaches zero at 12.9%, the IRR: above that rate, the project earns less than you asked of it.

Show the numbers
Discount rateNPV
0%$22,000
5%$11,962
10%$3,929
15%−$2,585
20%−$7,933
25%−$12,373

IRR in Excel and Google Sheets

Unlike NPV, Excel’s IRR function wants the year-0 investment included, as the first (negative) value:

CellWhat goes in it
B1−50000 (the trailer, paid today)
B2 to B612000, 14000, 15000, 15000, 16000
Formula=IRR(B1:B6) → 12.89%
  • #NUM! error: Excel tries up to 20 times and gives up if it can’t settle on an answer. Check there is at least one negative and one positive value, then give it a starting guess: =IRR(B1:B6, 15%).
  • Uneven dates: use =XIRR(values, dates) when cash arrives on specific dates rather than once a year. It gives a yearly rate based on the exact days.
  • Monthly cash flows: =IRR() returns a monthly rate. Turn it into a yearly one with =(1 + monthly IRR)^12 − 1.

Is 12.9% good enough? The decision rule

Compare the IRR with your hurdle rate, the minimum return you require. Ember & Salt’s truck loan costs 10.5%, and the owner asks 10% of the trailer. 12.9% clears that, but by under three points: a slow first season would close the gap. A riskier project should face a higher hurdle.

IRR and NPV agree on a single project like this one: whenever IRR is above your rate, NPV at your rate is positive. They can disagree when you compare projects, as below.

When IRR misleads

1. Projects of different sizes

A $20,000 equipment upgrade bringing in $6,000 a year for five years has an IRR of 15.2%, higher than the trailer’s 12.9%. But at 10% it adds only $2,745 of value against the trailer’s $3,929. IRR says the upgrade; NPV says the trailer. If you can afford only one, NPV is usually the better guide because it measures dollars of value, not a percentage. Our capital budgeting guide works through this exact pair.

2. Cash flows that change sign more than once

Take a project that costs $10,000, brings in $23,000 in year 1, then needs $13,200 in year 2 for a clean-up. Its NPV is zero at both 10% and 20%, so it has two IRRs, and neither is a useful answer. When the money goes out, comes in, then goes out again, use NPV.

3. The reinvestment assumption

IRR quietly assumes the cash a project throws off is reinvested at the IRR itself. If the trailer’s yearly cash can only earn 10% elsewhere, its real yearly return is lower. MIRR (modified IRR) fixes this by letting you set the reinvestment rate: =MIRR(B1:B6, 10%, 10%) gives 11.7%, against 12.9% for plain IRR. Here the first 10% is what borrowing costs and the second is what reinvested cash earns.

Mistakes that cost marks

  1. Leaving out the year-0 investment in Excel’s IRR, or adding it outside the function as you would for NPV.
  2. Interpolating between two rates on the same side of zero. You need one positive and one negative NPV.
  3. Treating a monthly IRR as a yearly one. 1% a month is 12.7% a year, not 12%.
  4. Ranking projects of different sizes by IRR alone. Check NPV too.
  5. Using profit instead of cash flow, the same error as in NPV.

From our team In our banking and treasury work, IRR was the number everyone quoted and the one we trusted least on its own. A percentage hides the size of the bet: a 30% return on $2,000 matters less to a small business than 12% on $50,000. So we'd always ask for three things together: the IRR, the NPV at the owner's real cost of money, and how many years until the cash comes back. If the IRR only clears the hurdle because of the last year or two, treat it as a much riskier project than the headline rate suggests.

Practice questions Try each one, then open it to check your working.

1. A project costs $10,000 and brings in $4,000 a year for 3 years. Its NPV is $308.39 at 8% and −$392.67 at 12%. Estimate the IRR.

8% + 4% × 308.39 ÷ (308.39 + 392.67) = 8% + 4% × 0.440 = 9.76%. The exact IRR is 9.70%.

2. You put in $1,000 today and get $1,210 back in 2 years, nothing in between. What is the IRR?

With only one cash flow back, you can solve it directly: (1 + IRR)² = 1,210 ÷ 1,000 = 1.21, so 1 + IRR = 1.1 and IRR = 10%.

3. Same $10,000 project as question 1. Your hurdle rate is 9%. Accept or reject?

Accept: the IRR of about 9.7% is above 9%, so the NPV at 9% is positive. It is a thin margin, though.

4. Excel shows #NUM! for =IRR(A1:A5), where A1:A5 are 2000, 3000, 3000, 2500, 1000. Why?

Every value is positive. With no money going out, there is no rate at which NPV is zero, so there is no IRR. The year-0 investment is missing, or was entered as a positive number.

Frequently asked questions

What is the formula for IRR?

IRR is the rate that makes NPV zero: 0 = the sum of each year’s cash flow ÷ (1 + IRR) to the power of that year, minus the initial investment. It can’t be rearranged, so it is found by trial and error or with Excel’s =IRR().

How do you calculate IRR by hand?

Work out the NPV at a rate that gives a positive answer and at one that gives a negative answer, then estimate between them: low rate + gap × NPV at low ÷ (NPV at low − NPV at high). Repeat with closer rates for more accuracy.

What is a good IRR?

One that beats your hurdle rate: at least what the money costs you, plus extra for the project’s risk. There is no single good number. A safe equipment replacement might need 8% to 10%; a new venture should clear a much higher bar.

Why does Excel’s IRR show #NUM!?

Either the values don’t include both a negative and a positive number, or Excel couldn’t find an answer in 20 tries. Check the year-0 investment is negative, then add a guess: =IRR(values, 15%).

What is the difference between IRR and XIRR?

IRR assumes the cash arrives at equal intervals, such as once a year. XIRR takes the exact date of each amount and returns a yearly rate. Use XIRR when payments are irregular.

What is the difference between IRR and ROI?

ROI compares total gain with the amount invested and ignores when the money comes back. IRR is a yearly rate that accounts for timing, so money returned sooner counts for more.

The catering trailer and its cash figures are an illustration, not a forecast for any real business. This is general information, not financial or investment advice.