Cost Basis calculation - retirement accounts
I'm trying to understand the logic that Q uses in calculating cost basis, especially with regard to tax-deferred retirement accounts. Why does it include the cost of reinvestments made by distributions? Wouldn't these ultimately be considered gains or income when I eventually take the money out in retirement? Isn't my cost basis is just the money I put into the account(s) over the years. What am I missing here?