Get your taxes done using TurboTax

Total contributions made to the account  and  the cost basis or value of the account are NOT the same thing.   If you take an early distribution from the ROTH you can tax free up to the amount of your contributions.  If you did not keep all the form 5498 the brokers sent you all these years and/or the broker didn't keep the records then you will need to figure this out yourself.