How to Calculate Internal Rate of Return (IRR) with Cash Flows
Determine the profitability of your investments by calculating their Internal Rate of Return (IRR).
IRR Calculator
Results
What is the Internal Rate of Return (IRR)?
The Internal Rate of Return (IRR) is a fundamental metric used in capital budgeting and financial analysis to estimate the profitability of potential investments. It represents the **discount rate** at which the Net Present Value (NPV) of all the cash flows (both inflows and outflows) from a particular project or investment equals zero. In simpler terms, it's the effective annual rate of return that an investment is expected to yield.
Who Should Use IRR?
- Investors: To compare the potential returns of different investment opportunities.
- Businesses: To decide which projects to undertake by comparing their IRR to the company's cost of capital or hurdle rate.
- Financial Analysts: For detailed project valuation and feasibility studies.
Common Misunderstandings:
- IRR vs. ROI: While related, IRR accounts for the time value of money, whereas simple Return on Investment (ROI) does not.
- Absolute Value: IRR is a rate, not an absolute dollar amount. A high IRR doesn't always mean a large profit if the initial investment is small.
- Multiple IRRs: Non-conventional cash flows (where the sign of cash flows changes more than once) can sometimes result in multiple IRRs or no real IRR, making NPV a more reliable metric in such cases.
- Unitless Nature: The IRR itself is a percentage rate, but it's derived from cash flows that are typically in a specific currency. The interpretation is always a rate, not a currency amount.
IRR Formula and Explanation
The core concept behind IRR is finding the discount rate that makes the Net Present Value (NPV) of an investment equal to zero. The general formula for NPV is:
NPV = ∑t=0n [ CFt / (1 + r)t ]
Where:
- CFt = Cash Flow during period t
- r = Discount Rate (this is what we are solving for as IRR)
- t = Time period (0, 1, 2, …, n)
- n = Total number of periods
- CF0 is typically the initial investment (a negative value)
To find the IRR, we set NPV = 0 and solve for r:
0 = CF0 + [ CF1 / (1 + IRR)1 ] + [ CF2 / (1 + IRR)2 ] + … + [ CFn / (1 + IRR)n ]
This equation cannot usually be solved directly for IRR algebraically, especially with more than two cash flows. Therefore, financial calculators and software use iterative numerical methods (like the Newton-Raphson method or Bisection method) to approximate the IRR. These methods involve making an initial guess for the IRR and refining it until the NPV is sufficiently close to zero.
Variables Table
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| CF0 | Initial Investment (Outflow) | Currency (e.g., USD, EUR) | Positive Number (entered as positive, treated as outflow) |
| CFt (t > 0) | Cash Flow in period t (Inflow/Outflow) | Currency (e.g., USD, EUR) | Any real number (positive for inflow, negative for outflow) |
| n | Total number of periods | Unitless (Count) | Integer ≥ 1 |
| r (IRR) | Internal Rate of Return | Percentage (%) | Typically -100% to high positive percentages |
| Guess Rate | Initial guess for IRR | Percentage (%) | e.g., 0.10 (10%) |
Practical Examples
Example 1: Simple Project Investment
A company is considering a project that requires an initial investment of $50,000 and is expected to generate the following cash flows over the next 4 years:
- Year 1: $15,000
- Year 2: $20,000
- Year 3: $25,000
- Year 4: $15,000
Inputs:
- Initial Investment: 50000 (USD)
- Cash Flows: [15000, 20000, 25000, 15000]
Calculation using the IRR Calculator:
Plugging these values into the calculator yields an IRR of approximately 16.93%.
Interpretation: The project is expected to yield an annual return of roughly 16.93%. If the company's cost of capital or hurdle rate is below this, the project would likely be considered financially attractive.
Example 2: Investment with Negative Future Cash Flow
An entrepreneur invests $20,000 in a startup. The first year generates $10,000, but due to unexpected costs, the second year has a negative cash flow of -$5,000. The third year recovers with a $15,000 inflow.
- Initial Investment: $20,000
- Year 1: $10,000
- Year 2: -$5,000
- Year 3: $15,000
Inputs:
- Initial Investment: 20000 (USD)
- Cash Flows: [10000, -5000, 15000]
Calculation using the IRR Calculator:
Using the calculator, the IRR is found to be approximately 27.79%.
Interpretation: Despite a negative cash flow in the second year, the overall project IRR is quite high, indicating strong potential profitability, especially considering the significant inflow in the final year.
How to Use This IRR Calculator
- Initial Investment: Enter the total cost required to start the investment or project. This is typically an outflow, so enter it as a positive number in the 'Initial Investment (Outflow)' field.
- Number of Future Cash Flows: Specify how many periods (e.g., years, quarters) the investment is expected to generate cash.
- Future Cash Flows: For each period identified in step 2, enter the expected net cash flow. Enter positive values for cash inflows (money received) and negative values for cash outflows (money spent in that period). The calculator will automatically create input fields for these.
- Guess Rate (Optional): Provide an initial guess for the IRR. This can help the calculation converge faster, especially for complex cash flow patterns. A common starting point is 0.10 (for 10%). If unsure, you can leave it at the default or omit it, and the calculator will use a default guess.
- Calculate: Click the "Calculate IRR" button.
- Interpret Results:
- IRR (%): This is the primary result – the expected annualized rate of return.
- NPV at IRR: This should ideally be very close to zero. It's a confirmation that the calculated IRR is correct.
- Sum of Future Cash Flows: The total of all positive and negative inflows/outflows after the initial investment.
- Total Net Cash Flow: Sum of Initial Investment (as negative) and all Future Cash Flows.
- Compare: Compare the calculated IRR to your required rate of return (hurdle rate or cost of capital). If IRR > Hurdle Rate, the investment is generally considered acceptable.
- Reset: Click "Reset" to clear all fields and return to default values.
- Copy Results: Click "Copy Results" to copy the calculated values and their labels to your clipboard.
Key Factors That Affect IRR
- Timing of Cash Flows: Earlier cash flows have a greater impact on IRR due to the time value of money. An investment generating larger positive cash flows sooner will have a higher IRR.
- Magnitude of Cash Flows: Larger cash inflows (or smaller outflows) generally lead to a higher IRR, assuming the timing remains constant.
- Initial Investment Size: A smaller initial investment, relative to the cash inflows, will result in a higher IRR. Conversely, a large initial outlay can depress the IRR even if total profits are high.
- Number of Cash Flow Sign Changes: A standard investment has one initial outflow (negative) and subsequent inflows (positive). If the cash flows change signs multiple times (e.g., positive, then negative, then positive again), it can lead to multiple IRRs or no meaningful IRR, making NPV analysis more reliable.
- Project Lifespan (n): The duration over which cash flows are generated impacts the IRR. Extending the project life with positive cash flows can increase IRR, while adding negative cash flows towards the end can decrease it.
- Assumed Reinvestment Rate: A key assumption of IRR is that intermediate positive cash flows are reinvested at the IRR itself. This may not be realistic, as actual reinvestment opportunities might offer lower rates. Modified Internal Rate of Return (MIRR) addresses this by allowing a specified reinvestment rate.
- Inflation and Risk: While not directly input, these factors influence the expected cash flows and the company's hurdle rate, indirectly affecting the decision made based on IRR. Higher perceived risk or inflation usually necessitates a higher hurdle rate for comparison.