IRR Calculator
Enter cash flows in order (Year 0 first). Use negative values for investments and positive values for returns.
What is IRR?
IRR stands for Internal Rate of Return. It is the discount rate that makes the net present value (NPV) of an investment equal to zero. In simpler terms, IRR tells you the annualized return your project or investment is expected to generate based on its cash inflows and outflows.
Investors use IRR to compare opportunities with different cash flow patterns. If one project has an IRR of 14% and another has 9%, the first one often looks more attractive (assuming risk and timing are comparable).
Formula to Calculate IRR
The IRR is the value of r that satisfies this equation:
Where:
- CFt = cash flow at time period t
- r = internal rate of return (IRR)
- t = time period number
- n = total number of periods
Because r appears inside exponents, there is usually no simple algebraic closed-form solution. That is why IRR is typically computed using iterative numerical methods (like Newton-Raphson or bisection), which this calculator does automatically.
Interpretation of IRR
- If IRR is higher than your required rate of return (hurdle rate), the project may be acceptable.
- If IRR is lower than your hurdle rate, the project may destroy value relative to alternatives.
- When comparing multiple options, higher IRR is usually better, but risk and scale still matter.
Step-by-Step Example
Suppose an investment has these annual cash flows:
- Year 0: -10,000
- Year 1: +3,000
- Year 2: +4,200
- Year 3: +6,800
To calculate IRR, we solve:
A calculator or spreadsheet iterates until the left side is approximately zero. For this example, the IRR is around the mid-teen percentage range. Try the exact values above in the calculator to get the precise estimate.
IRR in Excel and Google Sheets
Spreadsheet tools are common for investment return calculations:
- Excel:
=IRR(values, [guess]) - Google Sheets:
=IRR(values)
If your cash flows occur on irregular dates, use XIRR instead of IRR, because regular IRR assumes equal spacing between periods.
Common Mistakes When Using the IRR Formula
- Ignoring multiple IRRs: If cash flow signs change more than once, there may be multiple valid IRR solutions.
- Using IRR alone: A high IRR on a tiny project may create less total value than a lower IRR on a larger project.
- Wrong timing assumptions: IRR assumes periodic cash flows (monthly, yearly, etc.).
- No sign change: You need at least one negative and one positive cash flow for a meaningful IRR.
IRR vs NPV, ROI, and Payback Period
IRR vs NPV
NPV gives value in dollars, while IRR gives value in percentages. In capital budgeting, many professionals prioritize NPV for decision quality and use IRR as a secondary communication metric.
IRR vs ROI
ROI is simple total return over cost and often ignores timing. IRR explicitly accounts for when cash flows happen, which is usually more realistic.
IRR vs Payback
Payback period measures how quickly invested money is recovered, but ignores later cash flows and time value of money. IRR includes both.
Final Takeaway
The core formula to calculate IRR is an NPV equation set to zero. Since this equation rarely solves cleanly by hand, financial tools use iterative methods. Use IRR to evaluate efficiency of returns, but pair it with NPV, risk analysis, and strategic context before making final investment decisions.