The internal rate of return (IRR) is the constant yearly return at which your deposits, each from its own date, would have grown into what you took out plus what your investment is worth today. Unlike a simple percentage gain, it accounts for when each sum was invested, which makes it the right measure when you add money over time. Enter your cash flows below to calculate it with the XIRR method.
Enter each deposit and withdrawal with its date, then what the investment is worth today. Amounts are positive: the type gives the direction. Any currency works, as long as every row uses the same one.
Annual return
Internal rate of return (IRR)
Simple return
Gain divided by the money put in, whatever the timing
Gain or loss
2,000 put in, 2,300 taken out or still invested
Add each deposit and withdrawal with its date and amount. Amounts are always positive: the type gives the direction.
Add what the investment is worth today as a "Current value" row, as if you sold everything on that date.
The calculator finds the yearly rate at which all the flows, discounted to the same date, add up to zero, and shows the simple return beside it.
The IRR is the annual rate of return at which the present value of all an investment's cash flows is zero: the money you put in, the money you took out and what the investment is worth today. Put simply, it is the constant yearly rate a savings account would have needed to pay to turn your deposits into the same result, on the same dates.
Write each cash flow with its date: deposits as negative amounts, withdrawals and the current value as positive ones. The IRR is the rate r for which the sum of each amount divided by (1 + r) raised to its age in years equals zero. There is no direct formula, so it is found by successive approximation: try a rate, see whether the sum is above or below zero, and adjust. This calculator does that for you.
€1,000 is invested on 1 January 2024, another €1,000 on 1 January 2025, and the investment is worth €2,300 on 1 January 2026. The simple gain is 15%, but the second €1,000 was only invested for one year. The IRR is about 9.7% a year: at that rate, the first €1,000 grows to about €1,203 and the second to about €1,097, which makes €2,300. It is the example the calculator opens with.
The IRR (money-weighted return) measures what you earned, including the effect of when you added or withdrew money. The time-weighted return (TWR) removes that effect and measures only how the investments performed, which is how funds report their returns. Use the IRR to judge your own results, and the TWR to compare your choice of investments with a fund or an index.
No: neither a simple nor a weighted average of IRRs gives the IRR of the whole, because each rate weighs different sums over different periods. Put the cash flows of all the investments into one list and calculate a single IRR. The portfolio tracker's overview does this when you combine several portfolios.
Excel's IRR function assumes the cash flows are evenly spaced, one per period. XIRR uses the actual date of each flow, as this calculator does. With irregular dates, as with most real investments, use XIRR: the two agree only when the flows are exactly one year apart.
An IRR needs at least one deposit and one amount coming back: a withdrawal or a current value. Over a few days, annualising magnifies small moves, so a 2% gain in a week becomes a very large yearly rate. And when withdrawals come between deposits, several rates can fit the same flows; the calculator then picks the one closest to zero that agrees with whether you gained or lost money.
No. The calculation runs in your browser: nothing you enter is sent or stored, and it is gone when you leave the page.
The free portfolio tracker computes your IRR from your transactions, along with your return by year, quarter and month, benchmarks and the sector and country mix of your holdings.
Discover the portfolio trackerHow Mon Petit Portfolio calculates IRR in your portfolios: IRR methodology
Partner offers
Wise
Transfer and convert money at the best exchange rates. Welcome offer for new customers.
Affiliate link: we may receive a commission if you open an account, at no extra cost to you. Not investment advice. Learn more
Found this useful? Support the project
Mon Petit Portfolio is free. Your support helps pay for hosting and new features.