IRR Calculator - Internal Rate of Return with NPV

Calculate the Internal Rate of Return for any investment or project

Internal Rate of Return Calculator

Calculate the Internal Rate of Return (IRR) for any investment or project. Enter your initial investment (as a negative number) and expected cash flows for each year. The calculator will compute IRR using the Newton-Raphson method and show whether the project meets your hurdle rate.

Investment Details

Cash Flows by Year

How IRR Works

The Internal Rate of Return (IRR) is the discount rate that makes the Net Present Value (NPV) of all cash flows equal to zero. In other words, it is the break-even rate of return for an investment.

NPV = CF0 + CF1/(1+IRR) + CF2/(1+IRR)2 + ... + CFn/(1+IRR)n = 0

Because this equation cannot be solved algebraically, IRR must be found through iterative methods. This calculator uses the Newton-Raphson method, which iteratively refines a guess until the NPV converges to zero (or close enough).

Step-by-Step IRR Calculation Process

  1. Start with an initial guess for IRR (typically 10%)
  2. Calculate NPV at that rate using the formula above
  3. Calculate the derivative of NPV with respect to the discount rate
  4. Refine the guess using Newton's formula: IRRnew = IRRold - NPV / NPV'
  5. Repeat until NPV is sufficiently close to zero (convergence)

Most IRR calculations converge within 10-20 iterations. If cash flows are unconventional (multiple sign changes) or do not cross zero, IRR may fail to converge or produce multiple solutions.

IRR Formula

The IRR is implicitly defined by the NPV equation. Given a series of cash flows CF0, CF1, ..., CFn at times 0, 1, ..., n, the IRR satisfies:

NPV = Σ CFt / (1 + IRR)t = 0

Where:

  • CFt = cash flow at time t (negative for outflows, positive for inflows)
  • IRR = internal rate of return (the unknown we solve for)
  • t = time period (0 for initial investment, 1, 2, 3... for subsequent years)

Worked Examples

Example 1: Simple Project

Scenario: You invest $10,000 upfront and receive $3,000 per year for 5 years.

  • Year 0: -$10,000
  • Year 1-5: +$3,000 each

IRR: Approximately 15.24%
Interpretation: The project returns 15.24% annually. If your hurdle rate is 10%, this project exceeds the threshold and should be accepted.

Example 2: Uneven Cash Flows

Scenario: Initial investment of $50,000 with varying returns over 4 years.

  • Year 0: -$50,000
  • Year 1: +$15,000
  • Year 2: +$20,000
  • Year 3: +$18,000
  • Year 4: +$12,000

IRR: Approximately 13.7%
Interpretation: The uneven cash flows still produce a positive IRR above most typical hurdle rates.

Example 3: Negative IRR

Scenario: A failing project with insufficient returns.

  • Year 0: -$20,000
  • Year 1: +$5,000
  • Year 2: +$5,000
  • Year 3: +$4,000

IRR: Approximately -12%
Interpretation: The project destroys value. Reject.

IRR vs NPV: Which Is Better?

Both IRR and NPV are used to evaluate investment projects, but they measure different things:

Criterion IRR NPV
What it measures Rate of return (percentage) Dollar value added
Decision rule Accept if IRR > hurdle rate Accept if NPV > 0
Calculation Iterative (Newton-Raphson) Direct formula
Multiple solutions? Possible with unconventional cash flows No, always unique
Project scale Does not reflect size of investment Reflects absolute dollar value
Best use case Comparing projects of similar size and risk Comparing projects of different sizes

Rule of thumb: Use NPV when projects differ in scale or when cash flows are unconventional. Use IRR for quick comparisons and when communicating percentage returns to stakeholders. When IRR and NPV conflict, trust NPV.

Frequently Asked Questions

What is Internal Rate of Return (IRR)?

IRR is the discount rate that makes the Net Present Value (NPV) of all cash flows equal to zero. In simple terms, it is the annualized rate of return an investment is expected to generate. If IRR exceeds your required rate of return (hurdle rate), the investment may be attractive.

How do you calculate IRR?

IRR is calculated iteratively by solving the equation NPV = CF0 + CF1/(1+IRR) + CF2/(1+IRR)2 + ... = 0. This calculator uses the Newton-Raphson method to find the discount rate that sets NPV to zero.

What is a good IRR percentage?

A good IRR depends on your hurdle rate (minimum acceptable return). For many businesses, an IRR above 10-15% is considered acceptable, but this varies by industry, risk level, and opportunity cost. An IRR higher than your weighted average cost of capital (WACC) or hurdle rate generally indicates the project adds value.

What is the difference between IRR and NPV?

IRR is the rate of return that sets NPV to zero. NPV is the present value of all cash flows at a specific discount rate. IRR tells you the return rate; NPV tells you the dollar value added. When evaluating projects, NPV is often preferred because it shows absolute value, while IRR can be misleading with non-conventional cash flows.

When is IRR not reliable?

IRR can be unreliable with non-conventional cash flows (multiple sign changes) because there may be multiple IRR solutions or no IRR at all. IRR also does not account for project scale or reinvestment rate assumptions. In such cases, NPV or Modified IRR (MIRR) may be more appropriate.

What is a hurdle rate?

A hurdle rate is the minimum acceptable rate of return for an investment. It represents the cost of capital, opportunity cost, or required return given the project's risk. If IRR exceeds the hurdle rate, the investment is typically considered acceptable.

Can IRR be negative?

Yes. A negative IRR means the investment loses value over time — the present value of outflows exceeds inflows. This indicates a loss and suggests the project should be rejected.

What does it mean if IRR cannot be calculated?

If there is no sign change in the cash flow series (all positive or all negative), no IRR exists because NPV never crosses zero. IRR also may not converge if cash flows are unconventional or if the iterative method fails to find a solution within the allowed iterations.

Related Tools

Privacy & Limitations

  • Client-side only. No data is sent to any server. All calculations run in your browser using JavaScript.
  • Assumes annual cash flows. This calculator models cash flows occurring once per year at the end of each period.
  • Does not account for taxes or fees. Results are pre-tax. Actual net returns will be lower.
  • IRR assumes reinvestment at IRR. IRR implicitly assumes cash flows are reinvested at the IRR rate, which may not be realistic. NPV assumes reinvestment at the discount rate.
  • Not financial advice. This tool is educational. Consult a qualified financial professional for investment decisions.

Related Tools

View all tools

IRR Calculator FAQ

What is Internal Rate of Return (IRR)?

IRR is the discount rate that makes the Net Present Value (NPV) of all cash flows equal to zero. In simple terms, it is the annualized rate of return an investment is expected to generate. If IRR exceeds your required rate of return (hurdle rate), the investment may be attractive.

How do you calculate IRR?

IRR is calculated iteratively by solving the equation: NPV = CF0 + CF1/(1+IRR) + CF2/(1+IRR)^2 + ... + CFn/(1+IRR)^n = 0. This calculator uses the Newton-Raphson method to find the discount rate that sets NPV to zero.

What is a good IRR percentage?

A good IRR depends on your hurdle rate (minimum acceptable return). For many businesses, an IRR above 10-15% is considered acceptable, but this varies by industry, risk level, and opportunity cost. An IRR higher than your weighted average cost of capital (WACC) or hurdle rate generally indicates the project adds value.

What is the difference between IRR and NPV?

IRR is the rate of return that sets NPV to zero. NPV is the present value of all cash flows at a specific discount rate. IRR tells you the return rate; NPV tells you the dollar value added. When evaluating projects, NPV is often preferred because it shows absolute value, while IRR can be misleading with non-conventional cash flows.

When is IRR not reliable?

IRR can be unreliable with non-conventional cash flows (multiple sign changes) because there may be multiple IRR solutions or no IRR at all. IRR also does not account for project scale or reinvestment rate assumptions. In such cases, NPV or Modified IRR (MIRR) may be more appropriate.

What is a hurdle rate?

A hurdle rate is the minimum acceptable rate of return for an investment. It represents the cost of capital, opportunity cost, or required return given the project's risk. If IRR exceeds the hurdle rate, the investment is typically considered acceptable.

Can IRR be negative?

Yes. A negative IRR means the investment loses value over time — the present value of outflows exceeds inflows. This indicates a loss and suggests the project should be rejected.

What does it mean if IRR cannot be calculated?

If there is no sign change in the cash flow series (all positive or all negative), no IRR exists because NPV never crosses zero. IRR also may not converge if cash flows are unconventional or if the iterative method fails to find a solution within the allowed iterations.

Request a New Tool
Improve This Tool