<prompt> Human: My question is concerning selling an index fund in a taxable account. Ive never had one before, but Im looking into opening one at Vanguard. All my retirement accounts are taken care of so this will be just extra money in this account.On to my question, if I ever need to sell this fund, how is the cost basis calculated? Is this something I have to keep track of myself plan on dollar cost averaging with biweekly contribution and reinvesting dividends for at least a ten year time frame or will Vanguard keep record of it?Ive always invested in individual stocks, but sometimes it can take a month or so before I have enough saved to invest where commissions dont kill me. Investing in individual stocks keeps a clear cost basis, but with incremental investments and reinvested dividends over the course of many years, Im worried this is going to be a headache if I ever need to cash out.  <response>: This is tracked for you by all of the major brokerage houses. 