Capital Gains Tax
In short
Tax owed on profitable investment sales — rate depends on holding period
When you sell an investment for more than you paid, the profit is a capital gain and the government taxes it. Hold less than a year = higher rate (up to 37%). Hold more than a year = lower rate (0%, 15%, or 20%).
Capital gains tax applies to investment profits. Short-term gains (≤1 year) taxed at ordinary income rates; long-term gains get preferential rates. State taxes may apply on top. Offsetting gains with losses (tax-loss harvesting) can reduce your tax bill.
Formula
Tax Owed = Capital Gain × Applicable RateRelated concepts
- Short-Term Capital Gains — If you buy a stock and sell it within a year for a profit, the IRS taxes that gain at your regular income tax rate (up to 37%). That's much higher than the 15-20% rate for stocks held longer than a year.
- Long-Term Capital Gains — Hold a stock for more than a year before selling and you get a special lower tax rate — 0%, 15%, or 20% depending on your income. That's much better than paying your regular income tax rate on short-term gains.
- Tax-Loss Harvesting — If you're up $10,000 on Apple but down $3,000 on another stock, you can sell the loser to offset $3,000 of your Apple gains. You only pay tax on $7,000 instead of $10,000. The IRS lets you use losses to cancel gains.
- Tax Bracket — The US has a progressive tax system. You don't pay the top rate on all your income — just on each dollar above specific thresholds. Knowing your bracket helps you understand if gains will be taxed short-term or long-term preferential rates.