IRR calculator
List the cash flows – the investment as a negative number, then the returns for each period – and the IRR calculator finds the internal rate of return. It also shows the net present value at your discount rate, the modified IRR and how long it takes to get your money back.
Source: OpenStax Principles of Finance, 16.2 Net Present Value (NPV) Method (Rice University). Updated: .
How it is calculated
IRR and NPV formula
NPV = Σ CFt ÷ (1 + r)t: each cash flow is discounted to today at rate r and summed. The internal rate of return is the rate that makes NPV exactly zero. There is no closed formula; the calculator solves it numerically and warns when there is more than one solution.
Example
A machine costs 10,000 and returns 3,000, 4,000, 5,000 and 2,000 over four years. At an 8% discount rate:
| Year | Cash flow | Present value at 8% | Cumulative |
|---|---|---|---|
| 0 | −10,000 | −10,000.00 | −10,000.00 |
| 1 | 3,000 | 2,777.78 | −7,222.22 |
| 2 | 4,000 | 3,429.36 | −3,792.87 |
| 3 | 5,000 | 3,969.16 | 176.29 |
| 4 | 2,000 | 1,470.06 | 1,646.35 |
NPV is 1,646.35, so the IRR (15.32%) is above the 8% hurdle. Payback takes 2.6 years, discounted payback just under 3 years.
MIRR
IRR assumes returns are reinvested at the IRR itself. The modified IRR reinvests them at your discount rate: MIRR = (future value of inflows ÷ present value of outflows)1/n − 1 – here 12.19% instead of 15.32%.
In Excel
=IRR(A1:A5) gives the IRR, =NPV(8%,A2:A5)+A1 the NPV (Excel’s NPV discounts from the first value, so add the initial investment separately), =MIRR(A1:A5,8%,8%) the MIRR. For irregular dates use XIRR. For real estate, include the purchase with closing costs at period 0 and the sale proceeds in the last period.
Frequently asked questions
How do you calculate IRR?
Find the discount rate at which the net present value of all cash flows is zero. By hand this means trial and error; the calculator and Excel’s IRR function solve it numerically.
What is a good IRR?
One that beats your cost of capital or the return you could get elsewhere at similar risk. If IRR is above your discount rate, NPV is positive.
What is the difference between IRR and NPV?
NPV is a money amount at a given discount rate; IRR is the rate at which NPV is zero. For choosing between projects of different size, NPV is the more reliable guide.
How do I calculate monthly IRR?
Enter monthly cash flows and choose “monthly”. The calculator shows the monthly IRR and annualizes it as (1 + monthly IRR)12 − 1.
Why can there be more than one IRR?
When cash flows change sign more than once – for example a large cleanup cost at the end – the NPV equation can have several roots. Use NPV or MIRR in that case.
Sources and legal basis
- OpenStax Principles of Finance, 16.2 Net Present Value (NPV) Method (Rice University)
- OpenStax Principles of Finance, 16.3 Internal Rate of Return (IRR) Method
- OpenStax Principles of Finance, 16.4 Alternative Methods (discounted payback, MIRR)
- Microsoft Support – IRR-Funktion (Beispiel −70.000 … 26.000 → 8,66 %)
- Microsoft Support – MIRR-Funktion (Beispiel 10 % / 12 % → 12,61 %)
As of:
Related tools
- ROI calculatorROI calculator: return on investment, profit and annualized ROI for any holding period, plus a DuPont mode splitting ROI into profit margin and asset turnover.
- Break-even calculatorBreak-even point calculator for small businesses: units and sales dollars to break even from fixed costs, price and variable cost, plus a target profit.
- Compound interest calculatorCompound interest calculator with monthly contributions, yearly increases and annual, quarterly or monthly compounding – plus a year-by-year growth table.
- APR calculatorWork out the APR of a loan from the interest rate, term and fees: US APR (Regulation Z) and UK/EU APR side by side, with monthly payment and total cost.
- Customer lifetime value calculatorCalculate customer lifetime value (CLV/LTV) from order value, purchase frequency, lifespan or churn and margin – with CAC, LTV:CAC ratio and payback period.
- A/B test calculatorA/B test calculator: compare conversion rates of two variants and get the uplift, p-value, confidence interval and the sample size your test really needs.