Get your taxes done using TurboTax

i think you're missing something.   the cost basis of your original purchase + the tax basis of all reinvested dividends for current and all prior years

 

proceeds/ total shares sold = sales price per share

number of shares held long-term times sales price per share = long-term proceeds less tax basis of shares = long-term gain/loss

total sales price less portion allocated to long-term sales = short-term sales proceeds less their tax basis = story-term gain/loss

 

View solution in original post