Skip to content

Internal Rate of Return (IRR) Calculator

Calculate the Internal Rate of Return (IRR), net cash flow and the net present value (NPV) at a discount rate of your choice from the initial investment and periodic cash flows.

Version 1

Things to keep in mind:

  • IRR implicitly assumes interim inflows are reinvested at the IRR itself, which is often unrealistic. Use it together with NPV and payback.
  • Irregularly dated flows (XIRR) are not supported; all periods are equal in length and at most 10 periods can be entered.
  • Cash flows that change sign several times may produce multiple or meaningless IRRs.
  • Taxes, inflation and risk are ignored; this is not investment advice.

Calculator

Cash flow periods

The period length is your choice (year, month, …); the IRR is per that same period.

TRY

Cash outflow at the start; enter as a negative number (e.g. -1000). IRR needs at least one negative and one positive flow.

TRY

Net cash inflow (+) or outflow (−) at the end of that period. Leave unused periods at 0; trailing zeros do not change the result.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

TRY

Net cash inflow (+) or outflow (−); 0 if unused.

NPV check

Per-period discount rate (cost of capital). Used only for the "NPV at this rate" output; the IRR does not depend on it.

Modified internal rate of return (MIRR)

When off, MIRR uses the discount rate as both the finance and the reinvestment rate.

After the first calculation, the result updates automatically when you change a value.

Result

Enter the values and press Calculate to see the result here.

About this tool

The Internal Rate of Return (IRR) is the discount rate that makes the net present value (NPV) of an investment equal to zero; in other words, the compounded return per period. A project is attractive when its IRR exceeds the cost of capital or your required return. Besides the IRR, the tool gives an NPV check and the modified internal rate of return (MIRR).

Formula

  • IRR: 0 = CF0 + CF1/(1+IRR) + CF2/(1+IRR)² + … + CF10/(1+IRR)¹⁰. It cannot be solved in closed form, so the tool finds the IRR numerically (bisection).
  • NPV check: Σ CFk / (1 + discount)^k, k = 0…10.
  • MIRR: (inflows compounded to the last period at the reinvestment rate ÷ outflows discounted to today at the finance rate)^(1 / n) − 1, where n is the period of the last non-zero flow. With "Use separate rates for MIRR" off, both rates equal the discount rate.
  • Results are rounded HALF_UP to 2 decimals.

Input

Period 0 is usually the negative investment outflow; periods 1-10 are the net inflow or outflow at the end of each period. Leave unused periods at 0. If periods are years the IRR is annual; monthly flows give a monthly rate.

Example

An investment of -1,000 followed by inflows of 300, 400 and 500; discount rate 10%. Total inflows are 1,200, net flow 200 and the IRR is about 8.90%. At a 10% discount rate the NPV is -21.04, so the project misses a 10% hurdle. For MIRR the inflows are compounded at 10% to the last period: 300 × 1.10² + 400 × 1.10 + 500 = 1,303; the cube root of 1,303 / 1,000 gives a MIRR of 9.22%. If inflows never repay the investment the IRR is negative.

How to read the result

Compare the IRR with your cost of capital or required return; if it is higher, the NPV at that discount rate is positive. Because IRR assumes interim inflows are reinvested at the IRR itself, it can be optimistic for high-return projects; MIRR uses a more realistic reinvestment assumption and always gives a single rate. Use the results together with NPV and payback rather than on their own.

How to use

  1. Enter the period 0 investment as a negative number (e.g. -1000).
  2. Enter the net inflow or outflow for each following period; leave unused periods at 0.
  3. Optionally enter your cost of capital as the discount rate for the NPV check.
  4. Click Calculate and compare the IRR with your discount rate or required return.

Notes

Results are rounded HALF_UP to 2 decimals. Cash flows are assumed to occur at period ends and to be equally spaced (same logic as Excel IRR). The IRR is searched between -99.9999% and 100,000%. At least one negative and one positive flow are required. With several sign changes multiple IRRs may exist; the tool returns one of them. MIRR = (inflows compounded to the last period at the reinvestment rate / outflows discounted to today at the finance rate)^(1 / n) − 1, where n is the period of the last non-zero flow (as Excel MIRR, excluding trailing zero flows). Without both positive and negative flows MIRR shows 0.

Sources

Frequently asked questions

6 questions
  1. IRR is the discount rate at which the NPV of the investment equals zero, i.e. the project's compounded return per period. For yearly periods it is the annual return.

Next step

Related tools to continue your calculation.

  • Net Present Value (NPV) Calculator

    Discount the future cash flows of an investment or project to get its net present value (NPV), the total present value and the profitability index.

    Calculate
  • Profitability Index & NPV Calculator

    Discount yearly cash inflows to find the net present value (NPV) and profitability index (PI) and see whether a project is acceptable (up to 10 years).

    Calculate
  • Payback Period Calculator

    Find how many periods it takes for net cash inflows to recover your initial investment; up to 10 periods of uneven cash flows are supported.

    Calculate
  • Discounted Payback Period Calculator

    Discount cash inflows to present value to find the discounted payback period (fractional periods), the NPV at the horizon and any unrecovered amount.

    Calculate
  • Return on Investment (ROI) Calculator

    Calculate an investment's net profit, return on investment (ROI), benefit/cost ratio and the compound annualised return for your holding period.

    Calculate
All tools in Investment Profitability