A capital gain happens when you sell an investment for more than you paid. A capital loss is when you sell it for less.
The tax rate depends on how long you held the investment:
- Short-term: Held for one year or less
- Long-term: Held for more than one year
These gains or losses affect your taxes, and your brokerage reports them to the IRS.