Get your taxes done using TurboTax

An interesting question.

Since you are

a) required to take the loss and

b) considered to have removed the entire excess (e.g. $6,000 for max contributors)

 

your basis in the stock should be your purchase price.

@taxes4739