When you sell something (such as a share of stock) for more than you paid for it, you’re generally going to be taxed on the increase in value. This increase in value is known as a “capital gain.” The amount of gain is calculated as the proceeds received from the sale, minus your “adjusted cost basis.”