Skip to main content

Calcu.fit

IRR calculator: Determine the internal rate of return

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.

IRR calculator
Currency

Cash flows

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.

Internal rate of return
–

Invested vs profit

Period by period

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.

How to use this IRR calculator

  1. Enter the initial investment as a negative number (money flowing out), for example, −10,000.
  2. Then, enter the subsequent cash flows in the correct order. Use positive numbers for incoming amounts and negative numbers for outgoing amounts.
  3. Select the time period: year, month, or specific dates.
  4. For cash flows with associated dates (XIRR), enter a date next to each amount.
  5. Specify a discount rate (your desired rate of return) if you wish to calculate the NPV (net present value).
  6. Click ‘Calculate’.

What you will see in your results

  • 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

What is IRR?

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 formula

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

IRR Examples

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.

YearCash 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 flowsIRRNPV at 8%
Project A−$10,000, then $6,000 a year for 3 years36.31%$5,462.58
Project B−$10,000, then $0, $0, $20,00025.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 vs. NPV

 IRRNPV
ResultA percentage returnA dollar value
Size of projectIgnores itShows it
Reinvestment assumptionCash flows earn the IRRCash flows earn the discount rate
Multiple answersPossibleOne 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.

IRR versus other return metrics

  • 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 in Excel and Google Sheets

  • =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.

Limitations of the IRR

  • 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.

Tips for using IRR

  • Be realistic when estimating cash flows, and take costs, taxes, and fees into account.
  • Compare the IRR against your required rate of return (the ‘hurdle rate’).
  • Look at the NPV (net present value) when comparing projects of different sizes or durations.
  • Use the XIRR for cash flows that do not occur at regular intervals.
  • Test various scenarios rather than relying on a single forecast.
  • Use the MIRR when the assumption regarding reinvestment appears unrealistic.
  • Include the terminal value (such as a sale price) as the final cash flow.
  • Do not rely solely on the IRR when making significant decisions.

IRR calculator versus other tools

  • 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.

Frequently Asked Questions (FAQ)

What is IRR?

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.

Disclaimer

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.