robtm
Level 10

Deductions & credits

Yes, any reinvested dividends or capital gains should be added to your cost basis when you sell.