IRR Calculator
Use this calculator to estimate the internal rate of return (IRR) for an investment. Enter your initial investment as a negative value, then add expected cash inflows for each period.
What is the internal rate of return (IRR)?
The internal rate of return is the discount rate that makes the net present value (NPV) of all cash flows from an investment equal to zero. In plain English: IRR tells you the annualized return implied by a project’s cash flows.
It is widely used in capital budgeting, private equity, real estate, and personal finance to compare investment opportunities with different cash flow patterns.
IRR formula (core idea)
You calculate IRR by solving for r in this equation:
NPV = Σ [CFt / (1 + r)t] = 0
- CFt = cash flow at time t
- r = internal rate of return
- t = period number (0, 1, 2, 3, ...)
Because this equation is usually nonlinear, IRR is rarely solved by hand with basic algebra. Instead, you use iteration (trial and error), a financial calculator, spreadsheet functions, or a numerical method like Newton-Raphson and bisection.
How do you calculate internal rate of return step by step?
1) List all cash flows in order
Start with period 0 (usually a negative outflow), then period 1, 2, 3, and so on.
Example:
- Year 0: -10,000
- Year 1: +3,000
- Year 2: +3,500
- Year 3: +4,000
- Year 4: +4,500
2) Set NPV equal to zero
Plug the cash flows into the NPV equation and set it to 0.
3) Solve for the rate
Try a discount rate and compute NPV. If NPV is positive, increase the rate. If NPV is negative, decrease the rate. Repeat until NPV is very close to zero.
4) Compare IRR to your required return
If IRR exceeds your hurdle rate (cost of capital), the project may be acceptable. If it falls below, it may not meet your return target.
Simple interpretation of IRR
- IRR > required return: project looks financially attractive.
- IRR = required return: project is roughly break-even in value terms.
- IRR < required return: project likely destroys value versus alternatives.
IRR vs NPV: which is better?
IRR is intuitive as a percentage, but NPV is often the better decision metric because it measures absolute value created in dollars. Two projects can have different IRRs and different scales, and the higher IRR does not always produce higher total value.
Best practice in corporate finance is to use both metrics together:
- NPV for value creation
- IRR for return efficiency and communication
Common IRR pitfalls you should know
Multiple IRRs
If cash flows change sign more than once (for example, negative, positive, negative), there may be multiple IRR solutions. In that case, IRR can be ambiguous.
No valid IRR
If all cash flows are positive or all are negative, IRR is not defined because NPV cannot cross zero in the usual way.
Reinvestment assumption
IRR can imply reinvestment at the IRR itself, which may be unrealistic for very high rates. Modified IRR (MIRR) can address this issue by using a more realistic reinvestment rate.
How to calculate IRR in Excel or Google Sheets
For regular periodic cash flows, use:
- =IRR(range)
For irregular dates, use:
- =XIRR(cashflow_range, date_range)
You can also provide an initial guess in many spreadsheet implementations if convergence is difficult.
Quick example conclusion
Using the sample numbers in the calculator above, the project produces an IRR above a typical 8% hurdle rate, which would usually be considered acceptable. But always double-check with NPV, risk, project duration, and cash flow certainty before making a final decision.
Final takeaway
If you’re asking, “How do you calculate internal rate of return?” the practical answer is:
- Map cash flows in time order.
- Set NPV to zero.
- Solve iteratively for the discount rate.
- Compare that rate to your required return.
IRR is powerful, but it works best when paired with NPV and sound judgment about risk, timing, and assumptions.