IRR Function
IRR tells you the annual return rate of an investment given its cash flows (initial cost + periodic returns). If IRR exceeds your required return, the investment is worthwhile.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| values | An array or range of cash flows. Must include at least one negative value (investment/cost) and one positive value (return/income). | Required |
| guess | An estimated starting value for the iterative calculation. Default is 0.1 (10%). Usually unnecessary. | Optional |
Basic Example
Calculate the annual return rate of a $100,000 investment that returns $25,000 each year for 5 years
=IRR({-100000, 25000, 25000, 25000, 25000, 25000})The initial investment of -$100,000 (negative = cost) and 5 years of $25,000 returns (positive = income) yield an IRR of ~7.94%.
Advanced Examples
Example 1: Real estate investment IRR
Property investmentEvaluate a property purchase with varying annual rental income and a final sale
=IRR(B2:B8)Example 2: IRR with irregular cash flows
Venture capitalCalculate return for an investment with highly variable yearly returns
=IRR({-200000, 0, 50000, 80000, 150000, 300000})Example 3: Compare IRR vs required return
Investment decisionUse IF to compare IRR against a hurdle rate for investment decisions
=IF(IRR(B2:B7)>C1, "Invest", "Reject")How IRR Works
IRR uses an iterative algorithm to find the discount rate that makes the Net Present Value (NPV) of all cash flows exactly zero. Think of it this way: if you discount every future cash flow back to today at the IRR rate, the total exactly equals your initial investment. The calculation starts with the guess value (default 10%) and iteratively adjusts until NPV ≈ 0. Cash flows must be equally spaced in time (annual, monthly, etc.) and include at least one negative (cost) and one positive (return) value.
Important Notes & Limitations
IRR assumes equally-spaced time periods. For irregular timing, use XIRR instead.
IRR can produce multiple valid rates if cash flows change sign more than once (non-conventional cash flows).
IRR doesn't account for the scale of the investment — a 50% IRR on $1K is different from 50% on $1M.
The iterative calculation may fail to converge if the guess is far from the actual rate.
Common Errors & Fixes
#NUM!IRR cannot find a solution after 20 iterations, or values contain no negative/positive numbersFix: Provide a guess closer to the expected rate, or ensure values include at least one negative and one positive value.
Multiple IRRsCash flows change sign more than once (e.g., cost, profit, then cost again)Fix: For non-conventional cash flows, use MIRR (Modified IRR) which gives a single, meaningful rate.
Misleading IRRIRR ignores investment scale and reinvestment rate assumptionsFix: Use NPV alongside IRR for better decision-making. NPV accounts for scale and is more reliable.
Download Practice File
IRR
irrPractice IRR with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the IRR function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps