IRR Calculator (Internal Rate of Return)

Find the internal rate of return (IRR) of an investment from its upfront cost and up to six yearly cash flows.

$
Paid today, at the start of year 1. Enter it as a positive amount.
$
Net cash in (positive) or out (negative) at the end of each year. Leave unused years at 0.
$
$
$
$
$
%
Your cost of capital. A conventional project is attractive if its IRR exceeds it.
Your rate is remembered on this device.

Results

Internal rate of return (IRR)
14.09 %
Compared with 9.00% hurdle rate
IRR exceeds the hurdle rate: accept
NPV at the hurdle rate
$2,835.62

Estimate only. This tool is for informational and educational purposes. Results depend on your inputs and simplifying assumptions, and are not a substitute for professional engineering, design or financial advice. Always verify with a qualified professional and applicable codes before purchasing, building or making decisions.

How it’s calculated

The internal rate of return is the discount rate at which an investment's net present value is exactly zero. There is no closed-form formula, so the calculator scans rates from −99% to 10,000% for every sign change in NPV and then narrows each one down by bisection, which always converges.

Find r such that: −Investment + CF1 ÷ (1 + r) + CF2 ÷ (1 + r)² + … + CF6 ÷ (1 + r)⁶ = 0

The investment is at year 0 (today, not discounted) and each later cash flow arrives at the end of its year.

Example (OpenStax Principles of Finance 16.3): a $16,000 embroidery machine returning $2,000, $4,000 and then $5,000 a year for four years has an IRR of 14.09%. If the business can raise money for less than 14%, the machine should be bought.

If cash flows switch between positive and negative more than once there can be several IRRs (at most one per sign change). OpenStax's Olympic facility example (−$350M, +$950M, −$620M) has two, about 9.18% and 62.25%. The calculator then lists them all and bases its accept/reject guide on NPV at your hurdle rate instead.

Frequently asked questions

How is IRR related to NPV?

NPV at a discount rate equal to the IRR is zero. For a normal project (cost first, inflows later), NPV is positive at any rate below the IRR and negative above it.

Why does it say there is no IRR?

If total inflows never catch up with the cost, or all flows have the same sign, NPV never reaches zero and IRR does not exist.

Should I pick the project with the highest IRR?

Not always. IRR ignores project size and assumes reinvestment at the IRR. When ranking mutually exclusive projects, prefer the one with the higher NPV.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator