The difference between what you paid for an asset (including buying costs) and what you got when you sold it (less selling costs).
The difference between what you paid for an asset (including buying costs) and what you got when you sold it (less selling costs).