Get your taxes done using TurboTax

OK, I think I got it right -- please verify:

 

  • total the cost of all shares owned before the sale, divide by the number of all shares owned beforethe sale

(which I think is what you originally said!)