dash–calculator

04 Numbers and Counting

Internal Rate of Return Calculator – How It Works

Readout 04-0824 · Updated · Standard formula, shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

An internal rate of return (IRR) calculator works out the annualized rate of return that makes the net present value (NPV) of a series of cash flows equal to zero. You enter the initial investment (as a negative cash flow) and the expected future cash inflows, and the calculator returns the IRR as a percentage. This article explains the formula, how to use the calculator, common mistakes, and how IRR compares with other investment metrics.

Formula

The IRR is the discount rate r that satisfies the equation:

NPV = CF₀ + CF₁/(1+r)¹ + CF₂/(1+r)² + CF₃/(1+r)³ + CF₄/(1+r)⁴ = 0

Where:

  • CF₀ = initial investment (negative value, e.g., -$10,000)
  • CF₁, CF₂, … = net cash inflows in each period (positive values)
  • r = internal rate of return (the unknown)

The calculator uses an iterative method (like Newton-Raphson or bisection) to find r that makes NPV zero. Because the equation is polynomial, there can be multiple solutions if cash flows change sign more than once; the calculator returns the most common (first positive) root.

Worked Example

Using the default values: initial investment = -$10,000, cash flows = $3,000, $3,500, $4,000, $4,500 over four years.

We need to find r such that:

-10000 + 3000/(1+r) + 3500/(1+r)² + 4000/(1+r)³ + 4500/(1+r)⁴ = 0

Testing r = 15%:

  • 3000/1.15 = 2608.70
  • 3500/1.15² = 3500/1.3225 = 2646.50
  • 4000/1.15³ = 4000/1.5209 = 2630.06
  • 4500/1.15⁴ = 4500/1.7490 = 2572.90
  • Sum = 10458.16, NPV = -10000 + 10458.16 = 458.16 (positive)

Testing r = 18%:

  • 3000/1.18 = 2542.37
  • 3500/1.18² = 3500/1.3924 = 2513.65
  • 4000/1.18³ = 4000/1.6430 = 2434.57
  • 4500/1.18⁴ = 4500/1.9388 = 2320.99
  • Sum = 9811.58, NPV = -10000 + 9811.58 = -188.42 (negative)

Interpolating between 15% and 18%: r ≈ 15% + (458.16/(458.16+188.42))×3% ≈ 15% + 2.12% = 17.12%. The calculator refines this to about 17.13%.

When to Use IRR

IRR is used to evaluate the profitability of a project or investment. If the IRR exceeds the required rate of return (or cost of capital), the investment is considered attractive. It is common in capital budgeting, private equity, and personal finance for comparing projects with similar risk profiles.

For example, if you invest $10,000 and receive $3,000 annually for four years, an IRR of ~17% means your investment grows at 17% per year compounded. If your alternative investment yields 10%, this project is better.

How to Read the Result

The IRR is expressed as an annual percentage. A positive IRR means the project returns more than the discount rate used to compute NPV. However, IRR assumes that intermediate cash flows are reinvested at the IRR itself, which may not be realistic. If reinvestment rates are lower, the modified internal rate of return (MIRR) is more accurate.

Also, IRR works best for conventional cash flows (one initial outflow, then inflows). If cash flows alternate between positive and negative (e.g., additional investments later), multiple IRRs can exist, making interpretation ambiguous.

Common Mistakes and Misconceptions

  • Ignoring the sign of initial investment: The initial outlay must be negative; otherwise, the equation has no solution.
  • Using inconsistent periods: If cash flows are monthly, the IRR is a monthly rate. Annualize it by (1+r)^12 – 1.
  • Comparing IRRs of different durations: A higher IRR over a shorter period may not be better than a lower IRR over a longer period.
  • Assuming IRR equals compound annual growth rate: That only holds if cash flows are reinvested at the IRR, which is often unrealistic.

IRR vs. NPV vs. Payback Period

NPV gives a dollar amount of value created, using a discount rate (cost of capital). IRR gives a percentage return. NPV is generally preferred for decision-making because it doesn’t suffer from multiple-roots problems and doesn’t assume reinvestment at the IRR.

Payback period simply tells how long until the initial investment is recovered, ignoring the time value of money. IRR and NPV both account for the time value, but IRR is easier to communicate as a rate.

When comparing mutually exclusive projects, choose the one with higher NPV, not necessarily higher IRR, because IRR can favor smaller projects with high returns over larger projects with lower returns but more absolute value.

Limitations of IRR

  • Multiple IRRs: If cash flows change sign more than once, there can be multiple solutions. The calculator returns one, but you should check for others.
  • Reinvestment assumption: Implicitly assumes intermediate cash flows are reinvested at the IRR, which may be too optimistic.
  • Scale issue: IRR doesn’t reflect the size of the investment; a $1 project with 100% IRR is not better than a $1 million project with 20% IRR.
  • Not suitable for non-conventional cash flows: For projects with interim negative cash flows (e.g., maintenance costs), MIRR is more appropriate.

Frequently Asked Questions

What is a good IRR?

A good IRR depends on the risk and opportunity cost. Generally, an IRR higher than your required rate of return (or cost of capital) is considered good. For example, if your cost of capital is 10%, an IRR of 15% is attractive. For venture capital, higher IRRs (20-30%) are expected due to high risk.

Can IRR be negative?

Yes, IRR can be negative if the total cash inflows are less than the initial investment. For instance, if you invest $10,000 and receive only $8,000 total, the IRR will be negative, indicating a loss.

How is IRR different from ROI?

ROI (Return on Investment) is simply (Total Profit / Initial Investment) × 100, ignoring the time value of money. IRR accounts for the timing of cash flows, giving an annualized rate. For example, a $1,000 profit on a $10,000 investment over 2 years has an ROI of 10%, but the IRR depends on when the profit is received.

What if my cash flows are uneven?

IRR handles uneven cash flows naturally. You just enter each period’s cash flow as a separate input. The calculator solves the NPV equation with those specific amounts.

Does the calculator work for monthly cash flows?

Yes, but the result will be a monthly IRR. To annualize, use the formula (1 + monthly IRR)^12 – 1. For example, a monthly IRR of 1.5% gives an annual IRR of (1.015)^12 – 1 ≈ 19.56%.

Why does the calculator show ‘Cannot compute’?

This happens when the cash flows do not produce a real IRR, such as when all cash flows are positive (no initial investment) or when the NPV never crosses zero. Check that your initial investment is negative and that you have at least one positive cash flow.

Related

Formula used
in cf0 | Initial investment | $ | -10000 | -100000000 | 0
in cf1 | Year 1 cash flow | $ | 3000 | 0 | 100000000
in cf2 | Year 2 cash flow | $ | 3500 | 0 | 100000000
in cf3 | Year 3 cash flow | $ | 4000 | 0 | 100000000
in cf4 | Year 4 cash flow | $ | 4500 | 0 | 100000000
out irr | IRR | % | (solve for r in NPV=0) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Numbers and Counting panel →