Capital gains tax is the tax you pay on profits from selling investments. The rate depends on how long you held the asset — short-term (higher) vs long-term (lower).
You buy at $100, sell at $150 after 14 months. Long-term gain = $50. At 15% federal rate, tax = $7.50 per share. If sold after 6 months (short-term), taxed at ordinary income rate (potentially 24-37%).
Holding investments for >1 year cuts tax rates roughly in half. Tax-loss harvesting (selling losers to offset gains) can reduce taxes. Consider tax-advantaged accounts (401k, IRA) for tax-free compounding. Understanding the tax implications of every trade can save you thousands annually.
Long-term capital gains (assets held over 1 year) enjoy significantly lower tax rates than short-term gains:
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | $0–$48,350 | $48,351–$533,400 | Over $533,400 |
| Married Filing Jointly | $0–$96,700 | $96,701–$600,050 | Over $600,050 |
| Head of Household | $0–$64,750 | $64,751–$566,700 | Over $566,700 |
2025 brackets (for taxes filed in 2026). High earners may also pay 3.8% Net Investment Income Tax.
Say you bought 500 shares at $50 ($25,000) and sell at $80 ($40,000). Your capital gain is $15,000:
You have $10,000 in long-term gains from selling Apple. You also hold a losing position in another stock worth -$10,000. By selling the loser, you offset the entire Apple gain and pay $0 in capital gains tax. You can immediately repurchase a similar (but not "substantially identical") stock to maintain your market exposure. This strategy can save thousands per year.
💡 Pro Tip: Tax-Lot Accounting
Use specific identification ("tax lots") instead of FIFO when selling partial positions. If you bought shares at different prices over time, you can choose to sell the highest-cost lots first to minimize gains. Most brokerages let you select which lots to sell at the time of the trade. This one decision can save thousands in taxes over your investing career.
Calculate Capital Gains Tax instantly:
Try Stock Return Calculator →What is the long-term capital gains tax rate?
In the US, assets held over one year qualify for long-term capital gains rates: 0% (income under ~$47K), 15% (income $47K-$518K), or 20% (above $518K). An additional 3.8% net investment income tax applies for high earners. Short-term gains (held under 1 year) are taxed as ordinary income, which can be 37%.
How can I minimize capital gains tax?
Key strategies: (1) Hold investments over 1 year for long-term rates, (2) Tax-loss harvesting — sell losing positions to offset gains, (3) Use tax-advantaged accounts (IRA, 401k), (4) Donate appreciated shares to charity instead of cash — you avoid the capital gains tax entirely and get a full deduction.
Do I pay capital gains if I don't sell?
No. Unrealized gains (paper profits) are not taxed until you sell. This is why Warren Buffett's $100B+ fortune has minimal tax impact — he hasn't sold his Berkshire shares. This "tax deferral" is a powerful compounding advantage of buy-and-hold investing.