How Capital Gains Taxes Work
A capital gain is the profit realized when an asset (such as stocks, mutual funds, real estate, or business assets) is sold for more than its original acquisition cost. The tax assessed on this profit is called the capital gains tax.
Calculating capital gains tax requires identifying your Cost Basis (usually the original purchase price plus improvements or transaction fees) and subtracting it from your Net Sales Price (sales price minus selling commissions).
Tax treatment depends on the asset type and how long you owned it before selling.