Finance calculators

IRR Calculator

Updated Nov 11, 2026 By Infinity Calculator Formulas Sources
Rate
Years
Months

Enter cash flows with exact dates. Negative values represent money invested; positive values represent money received.



Internal Rate of Return

24.21%

Total Cash Invested

$100,000

Total Cash Returned

$220,000

Net Profit

$120,000

Total Return

120.00%

Number of Periods

20

The Internal Rate of Return for this investment is 24.21%.
Period Cash Flow Cumulative Cash Flow

Introduction

The Internal Rate of Return (IRR) is one of the most important numbers in investing. It tells you the yearly growth rate that an investment is expected to earn. Think of it as a way to measure how well your money is working for you. If you put money into a project or investment, the IRR shows you the percentage of profit you can expect to earn each year over the life of that investment. A higher IRR means a higher rate of return on each dollar you invest, but not always more money in total, because IRR ignores the size of an investment.1

Our IRR Calculator makes it easy to find this number without doing complex math by hand. Simply enter your initial investment and the cash flows you expect to receive over time, and the calculator does the rest. Investors, business owners, and financial analysts use IRR to compare different investments and decide where to put their money. If the IRR is higher than your minimum required return, the investment may be worth pursuing. Use this free tool to make smarter, more informed investment decisions.

How to Use Our IRR Calculator

This IRR (Internal Rate of Return) calculator helps you find the annual growth rate of an investment. Enter your cash flows and investment details, and the calculator will output your IRR percentage, total invested, total returned, net profit or loss, and a visual chart of your cash flows. Choose from three modes based on your needs.

Fixed Cash Flow Mode: Use this tab when your cash flows are the same amount at regular intervals, like monthly or quarterly payments.

Initial Investment: Enter the dollar amount you paid or invested at the start. This is the money you put in on day one.

Holding Period: Enter how long you held the investment in years and months. For example, enter 5 years and 0 months for a five-year investment.

Periodic Cash Flow: Enter the dollar amount of each regular payment. This is the fixed sum you either add to or receive from the investment each period.

Cash Flow Direction: Choose whether each periodic cash flow is a deposit (more money you put in) or a withdrawal (income you received back). If you're tracking dividend income, for instance, you'd select withdrawal.

Cash Flow Frequency: Select how often the periodic cash flow occurs. Options include annually, semiannually, quarterly, monthly, semimonthly, biweekly, or weekly.

Payment Timing: Choose whether each payment happens at the end of the period or the beginning of the period. This affects how the IRR is calculated.

Ending Balance: Enter the final value of the investment at the end of the holding period. This is what the investment is worth or what you received when you sold or cashed out.

Irregular Cash Flow Mode: Use this tab when your cash flows change from year to year. Enter a different dollar amount for each year.

Initial Investment (Year 0): Enter the amount you invested at the very beginning, at Year 0.

Annual Cash Flows: Enter the cash flow amount for each year. Use positive numbers for money you received (inflows) and negative numbers for extra money you invested or lost (outflows). You can add more years or remove years you do not need.

Date-Based (XIRR) Mode: Use this tab when your cash flows happen on specific dates that do not follow a regular pattern. This mode calculates the XIRR, which accounts for exact timing.

Cash Flow Entries: For each entry, pick the exact date and enter the dollar amount. Use negative numbers for money you invested or paid out and positive numbers for money you received back. You can add or remove entries as needed.

Calculate Button: Once you have filled in all your inputs, click this button to run the calculation. The results will show your IRR percentage, total invested, total returned, net profit or loss, and a table of your cash flows with a running total.

What Is the Internal Rate of Return (IRR)?

The Internal Rate of Return, or IRR, is the annual rate of growth an investment is expected to earn. In simple terms, it tells you the percentage return your money makes over time when you account for both the timing and size of every cash flow: money going in and money coming out. An investment with a higher IRR is generally more attractive than one with a lower IRR, assuming all other factors are equal.

Technically, the IRR is the discount rate that makes the net present value (NPV) of all cash flows equal to zero.1 Think of it this way: if you discount every future dollar you receive (or pay) back to today's value using the IRR, the total of those discounted values will perfectly cancel out your initial investment. This makes IRR especially useful because it reduces a complex series of payments and returns down to a single, easy-to-compare percentage.

How IRR Is Calculated

There is no simple formula you can solve by hand. Instead, IRR is found through trial and error.1 A computer tests different rates until it finds the one where NPV equals zero. The underlying equation is:

0 = CF₀ + CF₁ / (1 + r)¹ + CF₂ / (1 + r)² + … + CFₙ / (1 + r)ⁿ

Where CF represents each cash flow, r is the IRR, and n is the number of periods. This calculator uses the Newton-Raphson method, which repeats a step that moves each guess closer to the rate where NPV equals zero. It usually finds the rate quickly, but it can fail to find one.7

The Three Modes Explained

Fixed Cash Flow mode is best when you make or receive the same dollar amount on a regular schedule, like quarterly contributions to a real estate fund or monthly rental income. You set one cash flow amount, choose how often it repeats, and enter the ending balance.

Irregular Cash Flow mode works when your cash flows change from year to year but still happen once per year. A business project whose cash flows differ from year to year is one example.1

Date-Based (XIRR) mode handles cash flows that happen on specific, irregular dates. XIRR finds the internal rate of return for a schedule of cash flows that is not necessarily periodic, discounting each one by its exact date on a 365-day year.3 That makes it the most precise option for real-world investments where deposits and withdrawals don't follow a neat schedule.

When to Use IRR

  • Comparing investments: If you're choosing between two rental properties, two business projects, or two fund opportunities, IRR shows which one earns the higher rate on each dollar invested. It does not show which one adds more money in total. When you can pick only one and both last about the same number of years, compare their net present value (NPV) too and favor the higher NPV, even when its IRR is lower.5 When they last for different lengths of time, comparing their NPVs alone does not settle it.5
  • Setting a hurdle rate: A company should accept a project whose IRR is greater than its cost of capital and reject one whose IRR is less.1 Many companies call this minimum acceptable IRR a hurdle rate.
  • Evaluating portfolio performance: IRR accounts for the timing of your contributions and withdrawals. Comparing your IRR against the annual percentage yield (APY) of a savings account or CD helps you see whether your investments are outperforming safer alternatives.

Limitations to Keep in Mind

IRR assumes that every cash flow you receive is reinvested at the same rate as the IRR itself, which is not always realistic.1 For very high IRR results, the actual outcome may be lower if you cannot reinvest at that rate. This matters when you rank several investments against each other, not when you only decide whether to accept a single one.1 When comparing projects of very different sizes, also look at net present value (NPV), because IRR ignores differences in size.15 The Modified Internal Rate of Return (MIRR) compounds the cash flows at the cost of capital instead of at the IRR, which solves the reinvestment problem.2 Like IRR, though, MIRR does not tell large projects from small ones, so it can be used to accept or reject a project but not to rank projects.2

Additionally, some cash flow patterns (where the sign switches between positive and negative multiple times) can produce more than one mathematical IRR.1 In those cases, MIRR gives a single answer.2 If the calculator says it is unable to compute IRR, check that your cash flows include at least one negative value (an investment) and at least one positive value (a return).4


Formulas used

Internal Rate of Return (IRR) 1
\sum_{t=0}^{N} \frac{CF_t}{(1 + r)^{t}} = 0
XIRR (Date-Based IRR) 3
\sum_{i=0}^{N} \frac{CF_i}{(1 + r)^{(d_i - d_0) / 365}} = 0
Annualized IRR from Periodic Rate 6
IRR_{\text{annual}} = (1 + r_{\text{periodic}})^{f} - 1
Net Profit
\text{Net Profit} = \text{Total Cash Returned} - \text{Total Cash Invested}
Total Return
\text{Total Return (\%)} = \frac{\text{Net Profit}}{\text{Total Cash Invested}} \times 100
Newton-Raphson Iteration 7
r_{n+1} = r_n - \frac{NPV(r_n)}{NPV'(r_n)}

Frequently asked questions

What is a good IRR for an investment?

A "good" IRR depends on the type of investment. For most projects, an IRR above 10% to 15% is considered good. Real estate investors often aim for 15% or higher. The key rule is that the IRR should be higher than your cost of capital or minimum required return.1 If a savings account pays 5%, your investment should have an IRR well above that to justify the extra risk.

What is the difference between IRR and ROI?

ROI (Return on Investment) shows your total profit as a percentage of what you invested, but it ignores time.6 IRR gives you an annualized rate of return and accounts for when each cash flow happens. For example, earning 50% over 1 year is very different from earning 50% over 10 years. IRR captures that difference, while a basic ROI calculation does not.

What is the difference between IRR and XIRR?

IRR assumes cash flows happen at equal time intervals, like once a year or once a quarter.4 XIRR uses exact calendar dates for each cash flow, so it handles irregular timing.3 Use the Date-Based (XIRR) tab in this calculator when your deposits and withdrawals do not follow a regular schedule. XIRR is more accurate for real-world situations.

Can IRR be negative?

Yes. A negative IRR means the investment lost money. It tells you that the cash flows you received were not enough to make up for what you put in. For example, if you invested $100,000 and only got back $80,000 in total over several years, the IRR would be negative.

What is the difference between end of period and beginning of period payments?

This setting controls when each payment is assumed to happen. End of period means the cash flow occurs at the close of each interval, and it is this calculator's default. Beginning of period means it occurs at the start. When the investment earns a positive return, choosing beginning of period raises the IRR if the regular payments are income you receive, because you get the money sooner. It lowers the IRR if they are deposits, because you put the money in sooner.

What is a discounted cash flow?

A discounted cash flow is the present value of a future payment. It shows what a cash flow is worth in today's dollars at a chosen discount rate, such as your cost of capital. Cash flows far in the future are worth less today, because money you have now can be invested and grow. The sum of all discounted cash flows equals zero when you use the IRR, which is exactly how IRR is defined.1

Does IRR account for taxes and fees?

Not automatically. The IRR is based only on the cash flows you enter. To get an after-tax IRR, subtract taxes and fees from each cash flow before entering them into the calculator. This gives you a more realistic picture of your true return.

How is IRR different from CAGR?

CAGR (Compound Annual Growth Rate) measures the smooth annual growth between a starting value and an ending value.6 It ignores any cash flows in between. IRR accounts for every deposit and withdrawal along the way. If you made no additional contributions or withdrawals, IRR and CAGR will give the same result. If you did, IRR is the more accurate measure.


Sources

  1. Dahlquist J, Knight R. Principles of Finance, 16.3 Internal Rate of Return (IRR) Method. OpenStax. 2022;Section 16.3. Accessed September 27, 2026.
  2. Dahlquist J, Knight R. Principles of Finance, 16.4 Alternative Methods. OpenStax. 2022;Section 16.4, Modified Internal Rate of Return (MIRR). Accessed September 27, 2026.
  3. XIRR function. Microsoft Support. Accessed September 27, 2026.
  4. IRR function. Microsoft Support. Accessed September 27, 2026.
  5. Dahlquist J, Knight R. Principles of Finance, 16.5 Choosing between Projects. OpenStax. 2022;Section 16.5, Choosing between Mutually Exclusive Projects (Table 16.11). Accessed November 11, 2026.
  6. Dahlquist J, Knight R. Principles of Finance, 15.1 Risk and Return to an Individual Asset. OpenStax. 2022;Section 15.1, holding period return and effective annual rate (equation 15.5). Accessed November 11, 2026.
  7. Strang G, Herman E. Calculus Volume 1, 4.9 Newton's Method. OpenStax. 2016;Section 4.9, equation 4.8 and Failures of Newton's Method. Accessed November 11, 2026.