Internal Rate of Return (IRR) Calculator
Use this calculator to estimate the IRR of an investment based on your initial cost and expected future cash flows.
What Is the Formula to Calculate Internal Rate of Return?
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 plain language, IRR tells you the annualized return rate implied by an investment's inflows and outflows.
Where:
- CFt = cash flow at time period t
- r = internal rate of return (the value you solve for)
- t = 0 is usually the initial investment (normally a negative number)
Why IRR Usually Requires Iteration
Unlike simple return formulas, there is no direct algebraic shortcut for most IRR problems. Because the equation includes powers of
(1 + r), you usually solve IRR using:
- trial-and-error,
- interpolation between two discount rates, or
- numerical methods such as Newton-Raphson or bisection.
Spreadsheet functions like IRR() and XIRR() also use iterative methods under the hood.
Approximate IRR Formula (Interpolation Method)
If you know two discount rates where one NPV is positive and the other is negative, you can estimate IRR with linear interpolation:
This estimate is useful for quick financial analysis, but software-based iteration is generally more accurate.
Step-by-Step Example
Suppose an investment has:
- Initial investment: -$10,000
- Year 1 to Year 4 cash inflows: $3,000, $3,500, $4,000, $4,500
You solve for r such that:
The result is an IRR close to 16.7% (approximate), meaning this project's expected annualized return is around that level.
How to Interpret IRR
1) Compare IRR to your required return
If IRR is greater than your hurdle rate (for example, cost of capital or required rate of return), the project may be acceptable.
2) Use IRR with NPV, not alone
IRR is intuitive, but NPV tells you absolute dollar value created. Many analysts evaluate both metrics before making a final decision.
3) Be careful with non-conventional cash flows
If cash flow signs switch more than once (negative-positive-negative), multiple IRRs may exist. In that case, consider modified IRR (MIRR) and NPV profiles.
IRR vs ROI vs NPV
- IRR: annualized discount rate that sets NPV = 0
- ROI: total percentage gain/loss without time value of money
- NPV: present-value dollar amount of value created
For long-term projects with uneven cash flows, IRR and NPV are generally more informative than simple ROI.
Practical Tips for Better IRR Analysis
- Model conservative, base, and optimistic cash flow scenarios.
- Include maintenance costs, replacement costs, and terminal value if relevant.
- Stress test your assumptions (sales, margins, timing).
- Always compare against risk-adjusted hurdle rates.
Final Thoughts
The formula to calculate internal rate of return is straightforward conceptually, but solving it typically needs an iterative method. Use the calculator above for fast estimates, then validate decisions with NPV, risk analysis, and realistic assumptions.