Midway through a conversation with a friend a couple of years ago, he asked me how my investments were performing.

â€śGoodâ€ť I said.

â€śSo whatâ€™s your rate of return?â€ť he asked.

Me: *Blinking*.

Isnâ€™t that the whole point of index investing? By not focusing on my actual rate of return and instead accepting the market returns, I knew I should expect to do better than a large majority of my peers chasing the stock market up and down.

Yet, I really had no idea how my particular returns were performing.

You can rely on the returns published by the funds each year, but thatâ€™s the time-weighted return and not the actual return that you’re getting.

In other words, if you take a look at the Vanguard Total Stock Market Index Fundâ€™s (VTSAX) performance, youâ€™ll see that it returned 12.56% in 2014, 0.39% in 2015 and 12.66% in 2016.

But this isnâ€™t the dollar-weighted return that youâ€™d actually see since youâ€™ve been buying into the fund at various times (and possibly selling as well).Â Some of those purchases were at dips in the market while others were at high points. How can you figure out how your portfolio is actually doing?

While obsessively tracking your returns is not necessary, you should still know how to check in and see how youâ€™re doing from time to time. This is particularly true if youâ€™ve got an investment in something like a real-estate crowdfunding platform or peer-to-peer lending (e.g. Prosper) where you might not have good data on your actual returns.

Itâ€™s surprisingly easy to calculate your returns and keep track of this stuff. All of you have to know is the amount of money that youâ€™ve invested and the dates you made those investments (or any withdrawals youâ€™ve made). After that, a spreadsheet program like Excel or Google Sheets can handle the rest.

## Easy Tutorial to Calculate Your Returns Using XIRR

**Step 1)** First, record the amounts of your cashflow in column A of the spreadsheet. Any contributions are positive numbers and any withdrawals are negative numbers. The last entry should be a negative number and represents the account balance as of the day youâ€™re doing a calculation. In other words, you need to tell the spreadsheet program that today youâ€™re withdrawing the entire balance of the account.

Hereâ€™s an example of how that looks:

**Step 2)** Next, add the dates of the cashflows toÂ column B of the spreadsheet. Again, the last entry should be the current date. To do this, use the spreadsheet DATE function which looks like this =DATE(2016,10,15) in the format of YEAR, MONTH, DAY (so the date in the example isÂ October 15, 2016).

Hereâ€™s an example of how that looks:

**Step 3)** Now, all you need to do is add the XIRR function to calculate the dollar-weighted return of your investment. The function looks like this =XIRR(A2:A11, B2:B11, 5%), where A2:A11 looks at the cashflow column and B2:B11 looks at the date column. In this example 5% is the estimated return. You can leave it blank if you want.

Hereâ€™s an example of the calculation:

Nice, youâ€™ve earned a 21.93% dollar-weighted ** annualized** return over the nearly two years of this investment. Whether you enter a time period of a few months or many years, the 21.93% answer means the return is equivalent to an annual return of 21.93%.

So, to summarize how you do an XIRR calculation:

- The first entry (equal to the initial investment) must have the earliest date.
- Investments are entered as positive amounts and withdrawals as negative amounts.
- The current/final portfolio is entered as a negative amount in the last item.
- Do not include entries like reinvested dividends or capital gains as those are not new contributions but part of your return. Only include cash that flows in and out of the account (e.g. dividends that are withdrawn would count as outflows).
- The return generated by XIRR is an annualized return over the period defined by the dates.

## Calculating Annual Returns (2015, 2016, etc.)

If youâ€™d like to see how your returns did each calendar year, the calculation is only a little more complicated.

First, youâ€™ll need the value of your investment on the last calendar day of each year. The first entry is a negative number (i.e. youâ€™re telling the function that youâ€™re withdrawing the money) and the second entry, with the same date, is a positive number (i.e. youâ€™re basically starting all over again with the calculation for that year by telling the spreadsheet that your portfolio started with that amount).

Hereâ€™s how that would look (notice how we didnâ€™t change the overall XIRR calculation, since all we did was add endpoints for 2015 and starting points for 2016):

Now, to get the calculations for each year youâ€™d add an XIRR calculation where you start with the first date in the year youâ€™re calculating and end with the last day of the year that we added in the step above.

It would look like this:

If you play around with the function, youâ€™ll get the hang of itÂ pretty quickly and whatâ€™s great is all that you have to do is record contributions or withdrawals. You donâ€™t have to take into account fees, commissions, dividends, capital gains or anything else (so long as those dividends and capital gains are reinvested). The XIRR function will factor those into the calculation since your final balance will necessarily either be reduced (in the case of fees/commissions) or increased (dividends/capital gains) by those amounts.

XIRR is a strong and surprisingly easy function that can help you calculate your returns going forward (or historically if you take the time to enter any contributions/withdrawals).

**Let’s talk about it.** Have you used the XIRR function before? Do you keep track of your dollar-weighted returns?

Joshua Holt A practicing private equity M&A lawyer and the creator of Biglaw Investor, Josh couldnâ€™t find a place where lawyers were talking about money, so he created it himself. He spends 10 minutes a month on Personal Capital keeping track of his money and his latest deal involved purchasing office space on the EquityMultiple real estate crowdfunding platform.

Thanks for the step by step, BLI. I’ve read about using XIRR before, but haven’t actually seen the screenshots or done it myself.

I don’t see a good reason to start tracking my mutual funds this way, but I can see the utility in tracking some alternative investments this way, like my microbrewery investments or any crowdfunded RE deals I may enter into.

Best,

-PoF

You nailed it. I brought this up because there will be a future post about an alternative investment that I track using this method. It’s definitely the way I’d track your microbrewery investment too, although you’ll have to remember to count any free beers as “withdrawals” :-).

It’s also surprisingly easy to track mutual funds this way but I don’t use it much either. I know all of my historical balances at year end thanks to my spreadsheet that tracks my networth, so sometimes I’ve put together calculations for a given year just to see how I’m doing.

Monitoring this let’s you see the effect of dollar cost averaging. It’ll also let you see how you’re market timing is working out (or more likely not working out). DALBAR publishes a study that compares market returns with those actually achieved by investors which XIRR shows. The results are alarming.

Hi, may i know if xirr is the same as calculating annualised return over x years? I have been trying to find annualised return of my investment with dividend and rsp. I’m not sure if xirr can be considered as an annualised return.

Or could you give an example on how to calculate xirr or annualised return that involves dividend and dollar cost averaging investment?

Yes, that’s right. You can annualize the rate of return over x years using the xirr function.