A capital gains tax is a tax imposed on the profit earned from the sale of an asset that has increased in value since its acquisition. It is a tax specifically levied on capital gains, which are the positive difference between the purchase price (or cost basis) of an asset and its selling price. The tax is applicable to the difference in value between the purchase and sale price, not the total sale proceeds. The capital gains tax rate depends on the holding period of the asset and the taxpayer’s income level. It is typically categorized into two main types: