What is XIRR?
It is the annualized return of an investment with cash flows on irregular dates. It finds the one yearly rate at which your deposits, withdrawals and final value balance out.
Free calculator
Find the yearly return on an investment you added to or withdrew from along the way. Enter each deposit and withdrawal with its date, then what the investment is worth now, and the calculator gives the annualized return, known as XIRR.
A second tab works out the time-weighted return, which removes the effect of when you added or took out money. The starting values are a fictional example.
Runs in your browser. Nothing you enter is sent or stored.
XIRR is the single yearly rate that makes all your cash flows balance. Money you put in counts as negative, money you took out and the final value count as positive, and each amount is discounted by how long after the first date it happened.
The calculator searches for the rate at which those discounted amounts add up to zero. It counts time in days and treats a year as 365 days, the same convention spreadsheets use, so the result should match the XIRR function in a spreadsheet given the same dates and amounts.
Time-weighted return (TWR) measures how the investments themselves performed, ignoring how much money was in them at each point. The second tab is a time weighted return calculator: it splits the period at every deposit or withdrawal, works out the return of each stretch, and links them together.
For each cash flow it needs the portfolio's value just before the money moved. That is the extra input TWR requires and XIRR does not.
Use XIRR for your own result. It reflects your timing: a large deposit just before a rise lifts it, and one just before a fall lowers it. It answers "what yearly return did my money earn?"
Use TWR to judge the investments or to compare with a fund or an index, which report time-weighted figures. It answers "how did the holdings perform, whatever I added or withdrew?"
| Date | What happened | Value just before |
|---|---|---|
| Jan 15, 2024 | Deposit of $10,000 | — |
| Jul 1, 2024 | Deposit of $5,000 | $10,800 |
| Mar 1, 2025 | Withdrawal of $2,000 | $16,900 |
| Dec 31, 2025 | Final value $15,500 | — |
| XIRR | 9.42% a year | |
| Time-weighted return | 20.17% over 716 days, 9.82% a year |
These are the calculator's starting values on each tab. The three periods returned 8.00%, 6.96% and 4.03%: 1.0800 × 1.0696 × 1.0403 = 1.2017. The two measures differ because the second deposit was in the portfolio for only part of the time.
It is the annualized return of an investment with cash flows on irregular dates. It finds the one yearly rate at which your deposits, withdrawals and final value balance out.
XIRR is money-weighted: it depends on how much you had invested and when. Time-weighted return removes that, so it shows how the investments performed regardless of your deposits and withdrawals.
It uses the same method and the same 365-day year, so with the same dates and amounts the result should agree to the decimals shown.
Enter what the investment is worth on the last date, as if you had sold it. If you already sold everything, enter the sale as the final value.
No. The calculation runs in your browser. Nothing you type is sent to Fillfolio or stored.
This calculator gives estimates from the values you enter. It is not investment or tax advice.