I am trying to calculate the cost basis of a mutual fund held in an investment account (rather than a tax-sheltered account), for tax purposes.
Date Trade Units Unit Price Amount
---------------------------------------------------------
2013-12-16 Purchase 881.0573 11.35 10,000.00
2013-12-20 Distribution 14.0908 11.34 159.79
2014-01-02 Purchase 8.7566 11.42 100.00
2014-02-03 Purchase 8.6957 11.50 100.00
2014-03-03 Purchase 8.4388 11.85 100.00
2014-04-01 Purchase 8.3822 11.93 100.00
2014-04-11 SALE -63.7213 11.77 750.00
Now, I believe the way you do the math is fairly straight-forward. Distributions, in this specific case, are reinvested and so simply reduce the cost basis. So, we'd sum up all of the purchases, in this case $10,400. We'd sum up the units prior to the sale, in this case 929.4214.
That means the cost per unit is $10,400 / 929.4214, or $11.1898/unit. I sold 63.7213 units, which means the cost basis was $713.03, and so I owe capital gains on my profit, $750 - 713.03, or a profit of $36.97.
I don't think it makes any difference, but I'm located in Canada.
Have I done the above math correctly?