Get your taxes done using TurboTax

if you are using "FIFO" basis, the cost basis of those 100 shares is $25 per share. 

 

if you are using average cost basis or are identifying specific lots, you'd have to figure out the value of ALL the dividends that were reinvested. 

 

Once you choose one method you can't ever change to the other.