After you file

Before paying you have to calculate the actual capital gains tax using correct amounts.

Sometimes IRS uses a basis of zero which results in a huge tax.

 

@GESM11