After you file

Capital gain is calculated as the total sale price minus the original cost of an asset.

Assets include stock investments or real estate property

 

It is reported in schedule D

 

Click on the link for more information

 

Capital Gains