Skip to main content

    Internal rate of return calculator

    IRR Calculator

    This IRR calculator finds the internal rate of return of an investment: the yearly rate at which its future cash flows are worth exactly what it costs, so the NPV is $0.00. Enter the initial investment and each year's cash flow, then compare the IRR with the return you require.

    Free to use. No account or sign-up needed.

    Your numbers

    What you pay at the start, in year 0.

    Cash flow by year

    Money coming in is positive. Use a minus sign for money going out, such as a later cost.

    Optional. The yearly return you need, such as your cost of capital, to compare with the IRR.

    Results

    ResultValue
    Internal rate of return (IRR)10.21%
    NPV at your 8% required return$7,077.53
    Total invested$100,000.00
    Total received$140,000.00
    Net cash flow$40,000.00

    These cash flows return 10.21% a year, above your 8% required return, and at 8% their NPV is $7,077.53.

    NPV at each rate

    Discount rateNPV
    0%$40,000.00
    5%$17,930.58
    8% (required return)$7,077.53
    10%$652.59
    10.21% (IRR)$0.00
    15%-$13,069.83
    20%-$24,112.65
    25%-$33,107.20
    30%-$40,515.44

    The IRR is the rate where the NPV equals $0.00.

    The IRR formula

    The internal rate of return, or IRR, is the yearly rate at which the net present value (NPV) of every cash flow is $0.00. At that rate, what an investment, a project or a property pays back, discounted to today, equals what it costs.

    The IRR formula is 0 = -initial investment + CF1 / (1 + IRR)^1 + CF2 / (1 + IRR)^2 + ... + CFn / (1 + IRR)^n, where CF1 to CFn are the cash flows at the end of years 1 to n.

    For most cash flows the formula cannot be solved directly, so calculators and spreadsheets try rates until the NPV reaches $0.00. To calculate IRR, this one searches from -99.99% to 10,000% and narrows down to the exact rate.

    A worked example

    Say a project costs $100,000 today, pays $20,000 a year for 4 years, then $60,000 in year 5 when what is left is sold.

    The NPV is $652.59 at 10% and -$13,069.83 at 15%, so the IRR lies between them, at 10.21%. Discounted at the IRR, the 5 cash flows are worth exactly the $100,000 cost.

    Against a required return of 8%, the IRR clears it, and the NPV at 8% is $7,077.53.

    A good IRR

    A good IRR is one above your required return, the yearly return you need from the money, often your cost of capital. When the money goes out first and only comes back after, an IRR above that rate means the NPV at that rate is above $0.00.

    The IRR says nothing about size. A small project can show a high IRR and add few dollars, while a larger one with a lower IRR adds more. The NPV in dollars answers that, so read the two together.

    To estimate a required return from a company's cost of debt and equity, use the WACC calculator.

    To see what cash flows are worth today in dollars at your discount rate, use the NPV calculator.

    Missing or multiple IRRs

    An IRR needs money going out and money coming back. Cash flows that all go one way, such as an investment with no money coming back, have no IRR.

    Cash flows that switch between money out and money in more than once can have two or more IRRs. -$10,000 today, $23,000 in year 1 and -$13,200 in year 2 have two IRRs, 10% and 20%, and the NPV is $0.00 at both.

    With more than one IRR, the calculator shows the one closest to 0% with a note, and the NPV at your required return shows whether the cash flows add value at the rate you need. When no rate from -99.99% to 10,000% brings the NPV to $0.00, the page says so.

    IRR, ROI and XIRR

    ROI compares one amount in with one amount out. The IRR works for cash flows a year apart, and XIRR for money that moves on exact dates.

    For one investment and one payout n whole years later, the IRR is the compound annual growth rate between them: $10,000 that grows to $16,105.10 in 5 years has an IRR of 10%.

    For the return on one amount in and one amount out, use the ROI calculator.

    For cash flows on exact dates, use the XIRR calculator.

    What the calculator assumes

    • Each row is one year, and its cash flow arrives at the end of that year. The initial investment is paid today.
    • Amounts count as you enter them. Taxes, fees and inflation are in only if you build them into the cash flows.
    • The IRR is a yearly rate.
    • With more than one IRR, the one closest to 0% shows.
    • The answer is a formula result from the numbers you enter, not a forecast. The numbers you enter can contain errors, and nothing here is investment advice.

    IRR calculator FAQ

    What is the internal rate of return?

    The internal rate of return, or IRR, is the yearly rate at which an investment's cash flows have an NPV of $0.00. In the example, $100,000 today that returns $20,000 a year for 4 years and $60,000 in year 5 has an IRR of 10.21%.

    How do you calculate IRR?

    Try discount rates until the NPV of the cash flows reaches $0.00. In the example, the NPV is $652.59 at 10% and -$13,069.83 at 15%, so the IRR lies between them, at 10.21%. Spreadsheets and this calculator narrow the search to the exact rate.

    What is the IRR formula?

    0 = -initial investment + CF1 / (1 + IRR)^1 + ... + CFn / (1 + IRR)^n, where CF1 to CFn are the cash flows at the end of years 1 to n. The IRR is the rate that makes the sum $0.00, found by trying rates.

    What is a good IRR?

    One above your required return, such as your cost of capital. The example's 10.21% clears an 8% required return, with an NPV of $7,077.53 at 8%. Read the IRR with the NPV, because a high IRR on a small amount can add few dollars.

    Can an investment have more than one IRR?

    Yes, when its cash flows switch between money out and money in more than once. -$10,000 today, $23,000 in year 1 and -$13,200 in year 2 have two IRRs, 10% and 20%. The calculator shows the one closest to 0% with a note.

    Why is there no IRR for my cash flows?

    Either the cash flows all go one way, with no money going out or none coming back, or no rate from -99.99% to 10,000% brings the NPV to $0.00. Money going out needs a minus sign.

    Does the IRR calculator work for monthly cash flows?

    Each row is a year and the IRR is a yearly rate, so it fits cash flows a year apart. For monthly cash flows or money that moves on exact dates, the XIRR calculator works from each date.

    Is this IRR calculator free?

    Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Portfolio Tracker, which follows the returns of your own holdings.

    Track what your own holdings return and backtest a portfolio on real prices with a free GNG account.

    Sign Up Free

    This calculator is for education and is not investment advice. Results are estimates that depend on the numbers you enter. Read our disclosures.