Use this free IRR calculator to determine the Internal Rate of Return for an investment or project. Enter your initial investment, as well as the cash flows you expect to receive each period. The calculator will display the IRR, the Net Present Value (NPV), and the payback period. You can also input data for irregular cash flows (XIRR) or calculate a Modified Internal Rate of Return (MIRR). No registration is required.
Period 1 first. Separate with commas, spaces or new lines, and skip thousands separators. Use a minus sign for more money paid in.
Used for net present value only.
Estimates only. IRR is the rate that makes the present value of all cash flows equal zero. It assumes each cash flow is reinvested at that same rate. When cash flows switch between in and out more than once, there can be more than one IRR.
Internal Rate of Return (IRR)
XIRR, if dates have been entered
Net Present Value (NPV) at the applied discount rate
Modified Internal Rate of Return (MIRR), if a financing rate and a reinvestment rate have been entered
Payback period
Total inflows, total outflows, and net profit
Cumulative cash flow chart
The internal rate of return (IRR) is the discount rate at which the present value of all cash flows equals zero. Simply put, it is the annual return generated by an investment, accounting for both the magnitude and the timing of each cash flow. All else being equal, a higher IRR indicates a more attractive investment.
Companies use the IRR to compare different projects. Investors apply this metric to real estate, private equity, and any other investment that involves multiple cash flows over time.
The IRR is the percentage r that satisfies the following equation:
0 = CF₀ + CF₁ ÷ (1 + r) + CF₂ ÷ (1 + r)² + … + CFₙ ÷ (1 + r)ⁿ
Here, CF₀ is the initial investment (negative), CF₁ through CFₙ are the subsequent cash flows, and n is the number of periods.
For more than two cash flows, there is no simple algebraic solution. Calculators and spreadsheet programs determine r through a process of trial and error, progressively narrowing in on the value until the NPV (net present value) is effectively zero.
Related formulas
NPV = Σ CFₜ ÷ (1 + r)ᵗ, where r is the required rate of return (discount rate)
XIRR: 0 = Σ CFᵢ ÷ (1 + r)^((dateᵢ − date₀) ÷ 365), for cash flows occurring on specific dates
MIRR = (terminal value of positive cash flows at the reinvestment rate ÷ present value of negative cash flows at the financing rate)^(1 ÷ n) − 1
Payback period: the time it takes for the cumulative cash flow to become positive
Example 1: Simple investment
You invest $10,000 today and receive amounts of $3,000, $4,000, $5,000, and $3,000 over the following 4 years.
| Year | Cash flow |
|---|---|
| 0 | −$10,000 |
| 1 | $3,000 |
| 2 | $4,000 |
| 3 | $5,000 |
| 4 | $3,000 |
Total amount received: $15,000, resulting in a net profit of $5,000.
IRR: approximately 18.03% per annum
NPV at a required rate of return of 8%: $2,381.38 (positive; the investment therefore exceeds the 8% threshold)
Example 2: A project with higher cash flows in a later stage
A company spends $50,000 and receives amounts of $15,000, $18,000, $20,000, and $22,000 over a period of 4 years.
IRR: approximately 17.19%
NPV at 8%: $11,368.29
NPV at 10%: $8,564.99
NPV at 15%: $2,382.96
Net present value (NPV) decreases as the discount rate increases. The internal rate of return (IRR) is the percentage at which the NPV equals zero.
Payback period: the cumulative cash flow is −$35,000 after year 1, −$17,000 after year 2, and +$3,000 after year 3. The payback period is $17,000 ÷ $20,000 = 0.85 into the third year; or approximately 2.85 years.
Example 3: Irregular dates (XIRR)
You invest $10,000 on January 1, 2024. You receive $2,000 on July 1, 2024, $3,000 on March 1, 2025, and $7,000 on January 1, 2026.
XIRR: approximately 12.73% per year
XIRR uses the actual number of days between cash flows; it is therefore the appropriate choice when payments do not occur at regular intervals.
Example 4: Modified Internal Rate of Return (MIRR)
Based on the cash flows from Example 1: suppose you borrow money at an interest rate of 6% (financing rate) and reinvest the funds received at an interest rate of 8%.
Future value of positive cash flows at 8%: $16,844.74
MIRR: approximately 13.92%
The MIRR is lower than the IRR of 18.03% because the calculation does not assume that reinvestment is possible at the IRR rate itself.
Example 5: When IRR and NPV lead to different conclusions
Compare two projects, assuming a required rate of return of 8%.
| Cash flows | IRR | NPV at 8% | |
|---|---|---|---|
| Project A | −$10,000, then $6,000 a year for 3 years | 36.31% | $5,462.58 |
| Project B | −$10,000, then $0, $0, $20,000 | 25.99% | $5,876.64 |
Project A has the higher IRR, but Project B creates more value (a higher NPV) because it generates a good return over a longer period. When you have to choose between the two projects, the NPV generally provides the better basis for a decision.
Example 6: Multiple Internal Rates of Return (IRRs)
Cash flows of −$100, +$230, and −$132 result in two valid IRRs: 10% and 20%. This can occur when cash flows change sign more than once—for instance, when a project requires additional capital at a later stage. In such cases, it is preferable to use the NPV (net present value) or the MIRR (modified internal rate of return).
| IRR | NPV | |
|---|---|---|
| Result | A percentage return | A dollar value |
| Size of project | Ignores it | Shows it |
| Reinvestment assumption | Cash flows earn the IRR | Cash flows earn the discount rate |
| Multiple answers | Possible | One answer |
Use both. If the IRR is higher than your required rate of return, the NPV (net present value) will be positive, and the project will appear attractive.
ROI: total profit expressed as a percentage of costs. Does not take timing into account.
CAGR: a constant annual percentage from an initial value to a final value. Cannot handle multiple cash flows.
IRR: accounts for multiple cash flows and the timing of when they occur.
XIRR: IRR calculated using specific dates.
MIRR: IRR that accounts for realistic financing and reinvestment rates.
=IRR(values) for cash flows at regular intervals
=XIRR(values, dates) for cash flows on specific dates
=MIRR(values, finance_rate, reinvest_rate) for the Modified IRR
=NPV(rate, values) for the Net Present Value (NPV)
In spreadsheets, the first cash flow in the NPV() function is treated as an amount that occurs one period into the future. Therefore, include any cash flow that takes place today as a separate item: =CF₀ + NPV(rate, CF₁…CFₙ). Enter expenditures as negative numbers and receipts as positive numbers; failing to do so will cause the IRR function to return an error.
Reinvestment assumption: IRR assumes that you reinvest every cash flow at the IRR rate, which may not be realistic. MIRR corrects for this.
Multiple or no solutions: If cash flows change sign more than once, IRR can yield multiple results—or none at all.
Ignores scale: A small project might have a high IRR but generate very little financial value.
Reliance on estimates: Your cash flow projections may be inaccurate. Test best- and worst-case scenarios.
Ignores risk: Two investments with the same IRR can carry vastly different levels of risk.
Timing of cash flows: Cash flows that occur early on significantly boost the IRR.
NPV calculator: value of cash flows based on a required rate of return.
ROI calculator: total profit as a percentage of costs.
CAGR calculator: annual growth rate between two values.
Payback period calculator: time required to recover an investment.
Investment calculator: growth through periodic contributions.
Future value calculator: the future value of a one-time sum or periodic contributions.
The Internal Rate of Return (IRR) is the discount rate at which the present value of all cash flows equals zero. It represents the annual return on an investment, based on the magnitude and timing of the associated cash flows.
Set the NPV (net present value) of your cash flows to zero and calculate the corresponding percentage. When there are more than two cash flows, this is done through ‘trial and error’; therefore, use a calculator or a spreadsheet function such as =IRR().
That depends on the level of risk and the return you expect. A common benchmark is whether the IRR exceeds your hurdle rate or the cost of capital. Higher-risk investments should command a higher IRR.
ROI is the total profit divided by the costs, without taking the timing into account. IRR is an annual percentage that does account for the specific point in time when each cash flow occurs.
CAGR measures a steady growth from an initial value to a final value. IRR takes into account various cash flows entering and leaving the business.
XIRR is the IRR for cash flows occurring on specific dates. It takes into account the actual number of days between the cash flows.
The ‘modified internal rate of return’ (MIRR) uses a financing rate for negative cash flows and a reinvestment rate for positive cash flows. This avoids the unrealistic assumption that cash flows can be reinvested at the internal rate of return (IRR).
Yes. A negative IRR means that you get back less than you invested.
The IRR calculation requires at least one negative and one positive cash flow. Check the signs, and provide an estimate if the function fails to reach a result (convergence).
Use both. The IRR indicates the rate of return, while the NPV shows the value created in monetary terms. When they lead to different conclusions regarding which project is better, the NPV is generally the more reliable guide.
Yes, when cash flows change sign more than once. For example: −$100, +$230, −$132 results in IRRs of 10% and 20%.
Yes. It is free, requires no registration, and has no limitations.
It uses standard formulas and the cash flows you enter. The results are only as good as your forecasts.
A few of the most-used tools in each hub.
This calculator is intended solely for general informational purposes and does not constitute financial, investment, tax, or legal advice. The results depend on the cash flows you enter and do not provide any guarantees. Actual returns may differ from the projections. Please consult a qualified professional before making any investment or business decisions.