What is Capital Gains?
A capital gain is the profit when you sell an asset — stock, crypto, a house, a collectible — for more than you paid for it.
How it works
How long you held it decides the rate. Own it a year or less and the gain is short-term, taxed like ordinary income. Own it longer and it's long-term, taxed at 0%, 15%, or 20% depending on your income. The gain is the sale price minus your cost basis.
A quick example
What people get wrong
Gains inside a 401(k), IRA, or HSA aren't taxed when you sell — only taxable brokerage accounts trigger capital-gains tax. That's a big reason to hold your most-traded positions in tax-advantaged accounts.