What XIRR is, and how your annualized return is calculated
Total return tells you how much you made. It does not tell you how fast, and it treats money you added last month as if it had been invested all along. XIRR answers both. This guide shows what goes into it, works through an example, and explains the figure Portfolio Analytics shows for a portfolio less than a year old.
Total return and its blind spot
Total return adds up everything a portfolio has made, the gain on what you still hold, the profit from sales and the dividends received, and divides it by what you put in. It is a good answer to "how much", and the Metrics screen shows it as Total return.
It says nothing about time. A 16.5% return earned in one year and the same 16.5% earned in five years read the same. And when you add money along the way, total return counts every dollar as if it had been there from the start, which makes a portfolio you keep adding to look slower than it really is.
What XIRR measures
XIRR is the yearly rate your money would have had to earn, compounded, to turn every amount you put in, on the day you put it in, into every amount you took out plus what the portfolio is worth today. Each amount counts only for the time it was actually invested.
That makes it a money-weighted return: it reflects your own timing. If you added a lot just before a rise, your XIRR is higher than the investments' own return over the same period, and lower if you added just before a fall.
What goes into it
Portfolio Analytics builds the calculation from the transactions you recorded:
- Each buy is money in: the shares times the price, plus the fee, on the day of the trade.
- Each sale is money out: the shares times the price, minus the fee.
- Each dividend is money out, as the amount you actually received after any tax withheld and fees.
- Today's market value of what you still hold closes the series, as if you sold everything today.
Years are counted as 365 days, from the first transaction. The rate is found by trial and refinement (the Newton–Raphson method, with a slower but sure fallback if that does not settle), the same way a spreadsheet's XIRR function does it.
When there is no answer, for example a portfolio with a single transaction and nothing held, the app shows a dash rather than 0%, because 0% would be a figure it does not have.
A worked example
Two purchases of $1,000 each, six months apart, one dividend, and the value a year after the first purchase:
| Date | What happened | Amount |
|---|---|---|
| 2 Jan 2025 | Buy | −$1,000 |
| 1 Jul 2025 | Buy | −$1,000 |
| 1 Dec 2025 | Dividend received | +$30 |
| 2 Jan 2026 | Value of the holdings | +$2,300 |
- Total return: ($2,300 + $30 − $2,000) ÷ $2,000 = 16.5%.
- XIRR: 22.3% a year.
XIRR is higher because the second $1,000 was invested for only six months. Earning part of the gain on money that was there for half the time is a faster rate than total return suggests.
Put both $1,000 purchases on 2 January 2025 instead, and XIRR falls to 16.5%: with all the money invested for exactly one year, the two measures agree.
You can check this in any spreadsheet: put the four amounts in one column and the four dates in the next, and use the XIRR function on them. It gives the same 22.3%.
Portfolios in more than one currency
Amounts in different currencies cannot simply be added. When a portfolio holds, say, euro and dollar shares, every amount is converted into one currency at today's exchange rates before the rate is worked out, and the figure is shown with ≈ in front. It is an approximation: it does not replay how the exchange rate moved between each trade and today. A portfolio in a single currency is calculated exactly, with no conversion.
Why a return under a year is not annualized
Turned into a yearly rate, a short period can produce absurd numbers. Compounded over a year, a few weeks of good luck read as a yearly return of thousands of percent: one real portfolio showed +330,827% after a month. The GIPS performance standards, which investment firms follow, say returns for periods of less than one year must not be annualized.
So Portfolio Analytics shows the Annualized return only once your first transaction is a year old. Before that, its place is taken by the projection below, clearly labelled as one.
The projected annualized return
Members asked for something to watch before the year is up, so from 30 days to a year the same place shows a Projected annualized figure instead, labelled as a projection.
It takes your return so far, money-weighted exactly as above, divides it by the number of days since your first transaction and multiplies it by 365, in a straight line, without compounding. 2% in one month reads as about 24% a year. The compounded rate for the same month would be about 27%, and it grows much faster than that for larger short-term moves; the straight line keeps the projection readable.
It is a projection, not a forecast: it says what the year would look like if the rest of it went like the part so far. Under 30 days nothing is shown, because even a straight line over a few days says very little. Once the first transaction is a year old, the projection gives way to the real annualized return.
Where to find it
- The Metrics screen, beside Total return, for the portfolio you have selected.
- The All Portfolios card on the Overview, one figure per portfolio and one for all of them together.
Both are worked out from your transactions, so they are only as complete as your history. If your broker's statements go back further than what you have recorded, importing them gives a truer figure.