# Internal Rate of Return (IRR)
## Definition
IRR is the discount rate at which the Net Present Value (NPV) of a project is exactly zero. Equivalently, it is the rate of return at which:
> Present value of cash inflows = Present value of cash outflows
IRR is the project's own intrinsic rate of return, found by trial and error.
## Why trial and error?
There is no direct algebraic formula for IRR with uneven cash flows, so we guess two discount rates, compute NPV at each, and then interpolate to pin down the exact rate.
## Steps to calculate IRR
Step 1 — Find two bracketing rates (trial & error).
Discount the cash flows at a trial rate and observe the NPV, then adjust:
- If NPV > 0 → the rate is too low → increase the discount rate.
- If NPV < 0 → the rate is too high → decrease the discount rate.
Keep going until you have one rate giving a positive NPV (Lower rate, L) and one giving a negative NPV (Higher rate, H). The true IRR lies between them.
Step 2 — Interpolate between the two rates.
```
IRR = L + [ NPV_L / (NPV_L − NPV_H) ] × (H − L)
```
Where:
- `L₹ = Lower rate
- `H₹ = Higher rate
- `NPV_L₹ = NPV at the lower rate (positive)
- `NPV_H₹ = NPV at the higher rate (negative)
> Note: `NPV_H₹ is negative, so `NPV_L − NPV_H₹ becomes `NPV_L + |NPV_H|₹ — the full spread of NPVs across the two rates.
## Decision use
IRR is later used as a benchmark: a project is acceptable when its IRR exceeds the required rate of return (cost of capital).