Capital Gains Tax
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).
Formula
Example
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%).
How to Interpret It
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.
2024-2025 U.S. Long-Term Capital Gains Tax Brackets
| 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.
Real-World Example: Holding Period Matters
- Sold after 6 months (short-term): Taxed at ordinary income rate. If you're in the 24% bracket: $15,000 ร 24% = $3,600 in taxes. Add 3.8% NIIT if applicable: +$570 = $4,170 total.
- Sold after 14 months (long-term): Taxed at 15% for most taxpayers: $15,000 ร 15% = $2,250 in taxes. That's $1,350โ$1,920 less in taxes just by waiting 8 more months.
Tax-Loss Harvesting in Action
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.
Common Mistakes
- โ Ignoring holding period dates. Selling one day before the 1-year mark turns a 15% long-term gain into a 24%+ short-term gain. On a $50,000 gain, that mistake costs $4,500+ in extra taxes. Always check your purchase dates.
- โ Not harvesting losses. Up to $3,000 in net capital losses can be deducted against ordinary income each year, with excess carrying forward. In a 32% bracket, that's $960 in tax savings from losses you were going to realize anyway.
- โ Ignoring state taxes. States like California tax capital gains as ordinary income (up to 13.3%), with no preferential rate for long-term holdings. A $100,000 gain in California could mean $33,300 in state taxes alone.
- โ Violating wash-sale rules. If you sell a stock at a loss and buy it back within 30 days (before or after), the IRS disallows the loss deduction. The disallowed loss adds to your cost basis, but you lose the current-year tax benefit.
๐ก 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.
Frequently Asked Questions
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.