Capital Gains

FundamentalGeneral Investing4 min read

Quick Definition

The profit realized when an investment is sold for more than its purchase price, subject to taxation at rates that vary based on holding period and income level.

Key Takeaways

  • Capital gains = profit from selling an investment above your purchase price (cost basis)
  • Long-term gains (held >1 year) are taxed at 0%, 15%, or 20% — far lower than short-term rates of up to 37%
  • Holding investments for at least 1 year and 1 day is one of the simplest tax optimization strategies
  • Capital losses can offset capital gains plus up to $3,000/year of ordinary income
  • Unrealized gains are not taxed — you control when to trigger a taxable event by choosing when to sell

What Is Capital Gains?

A capital gain occurs when you sell an investment for more than you paid for it. The difference between the purchase price (cost basis) and the sale price is the gain. Capital gains are one of the two primary ways investors make money — the other being income (dividends, interest, rent).

Short-Term vs. Long-Term Capital Gains: The distinction between short-term and long-term capital gains is one of the most important tax concepts for investors:

Holding PeriodTax ClassificationTax Rate (2026)
≤ 1 yearShort-term capital gainTaxed as ordinary income (10–37%)
> 1 yearLong-term capital gain0%, 15%, or 20% (based on income)

2026 Long-Term Capital Gains Tax Rates:

Filing Status0% Rate15% Rate20% Rate
SingleUp to ~$48,350$48,350–$533,400Over $533,400
Married Filing JointlyUp to ~$96,700$96,700–$600,050Over $600,050

Additionally, high earners pay a 3.8% Net Investment Income Tax (NIIT) on top of capital gains rates.

Cost Basis Methods: When selling partial positions, you must determine which shares you're selling:

  • FIFO (First In, First Out): Sell oldest shares first (default)
  • Specific Identification: Choose exactly which shares to sell (most tax-efficient)
  • Average Cost: Use the average price of all shares (common for mutual funds)

Capital Gains Strategies:

  • Tax-loss harvesting: Sell losers to offset gains, reducing tax liability
  • Hold for >1 year: Transform short-term gains (up to 37% tax) into long-term gains (0–20%)
  • Step-up in basis at death: Heirs inherit assets at current market value, eliminating unrealized gains
  • Opportunity zones: Defer and potentially reduce capital gains taxes by investing in qualified zones
  • Charitable giving: Donate appreciated assets to avoid capital gains entirely and receive a deduction

Unrealized vs. Realized Gains:

  • Unrealized gain: The profit exists on paper but hasn't been locked in — you haven't sold yet, so no tax is owed
  • Realized gain: You sold the asset; the profit is now taxable in that tax year
  • This distinction is crucial: you control WHEN to trigger a taxable event

Capital Losses: When you sell an investment for less than you paid, that's a capital loss. You can use capital losses to:

  1. Offset capital gains dollar-for-dollar
  2. Deduct up to $3,000/year of net capital losses against ordinary income
  3. Carry forward unused losses to future tax years indefinitely

Capital Gains Example

  • 1You buy 100 shares of Apple at $150/share ($15,000 total). After 14 months, you sell at $200/share ($20,000). Your capital gain is $5,000, taxed at the long-term rate of 15% ($750 tax) because you held over 1 year. If you had sold at 11 months, the same $5,000 gain would be taxed at your ordinary income rate — potentially $1,850 at the 37% bracket
  • 2An investor harvests $10,000 in capital losses from underperforming positions and uses them to offset $10,000 in capital gains from winning positions, resulting in $0 net taxable gain for the year — saving up to $2,000 in taxes