1. The Taxation Architecture of Capital Assets

Under Title 26 of the United States Code (the Internal Revenue Code, IRC), almost everything an individual owns and uses for personal or investment purposes constitutes a capital asset. When an investor disposes of securities, equities, cryptocurrency, exchange-traded funds, mutual funds, or real estate for a price exceeding the asset's acquisition value, a taxable capital gain is realized.

The mathematical computation begins by defining the Capital Realized Gain or Loss (\(G\)):

$$G = \text{Gross Realized Proceeds} - \text{Adjusted Cost Basis}$$

Where:

  • Gross Realized Proceeds: Total monetary and fair market value consideration received from the buyer, net of direct transactional transfer expenses (such as brokerage commissions, legal fees, exchange fees, and documentary stamps).
  • Adjusted Cost Basis: The historical purchase price augmented by capitalized acquisition costs, dividend reinvestment units, and physical capital improvements (for real estate), reduced by non-taxable returns of capital and prior MACRS/straight-line depreciation deductions.

2. Short-Term vs. Long-Term Holding Period Classifications

The United States tax code enforces a strict dichotomy based on holding duration:

A. Short-Term Capital Gains (Holding Period \(\le 12\text{ Months}\))

Securities held for 365 days or fewer are categorized as short-term. They receive zero tax sheltering and are taxed at ordinary individual marginal income tax rates across the 7 federal brackets: 10%, 12%, 22%, 24%, 32%, 35%, and 37%.

B. Long-Term Capital Gains (Holding Period \(> 12\text{ Months}\))

Assets held for at least one year and one day enjoy statutory preferential capital gains brackets designed to incentivize long-term entrepreneurial risk and corporate capital formation: 0%, 15%, or 20% depending on total taxable income.

Filing Status 0% Long-Term Bracket 15% Long-Term Bracket 20% Long-Term Bracket
Single Filer Up to $47,025 $47,026: $518,900 Over $518,900
Married Filing Jointly Up to $94,050 $94,051: $583,750 Over $583,750
Head of Household Up to $63,000 $63,001: $551,350 Over $551,350

3. Surtaxes: The Net Investment Income Tax (NIIT 3.8%)

Enacted under the Affordable Care Act and codified in IRC Section 1411, high-earning individuals are subject to an additional 3.8% Net Investment Income Tax (NIIT) on investment gains, dividends, royalties, and passive rents. The surtax applies to the lesser of:

$$\text{NIIT Liability} = 0.038 \times \min\left( \text{Net Investment Income}, \max(0, \text{MAGI} - \text{Threshold}) \right)$$

Statutory Modified Adjusted Gross Income (MAGI) thresholds are unindexed for inflation:

  • Single / Head of Household: $200,000
  • Married Filing Jointly: $250,000
  • Married Filing Separately: $125,000

When an investor's overall income plus capital gains pushes them into the top federal bracket, the combined top marginal federal capital gains tax rate reaches 23.8% (20% base + 3.8% NIIT), excluding state and municipal taxes.

Worked Tax Case Study: Growth Stock Sale Arbitrage

Scenario: An investor filing Single earns $110,000 in ordinary salary. They purchased 500 shares of a technology ETF for $50,000. Exactly 18 months later, the shares are liquidated for $130,000.

Step 1: Compute Realized Capital Gain

$$G = \$130,000 - \$50,000 = \$80,000\text{ (Long-Term)}$$

Step 2: Determine Total Combined Income

$$\text{Total Income} = \$110,000\text{ (salary)} + \$80,000\text{ (gain)} = \$190,000$$

Step 3: Apply Long-Term Capital Gains Tax Brackets

Since the entire $190,000 falls comfortably within the Single 15% bracket ($47,026 to $518,900), the base federal capital gains tax is:

$$\text{Tax}_{\text{base}} = \$80,000 \times 0.15 = \$12,000$$

Step 4: Check NIIT Threshold

Total MAGI is $190,000, which remains below the $200,000 Single statutory threshold. Therefore, \(\text{NIIT} = \$0\).

Comparative Analysis: Had the investor sold the position at 11 months (short-term), the $80,000 would have been taxed at ordinary rates (a blend of 24% and 32%), generating approximately $19,600 in taxes. By waiting past the 1-year mark, the investor saved $7,600 in cash taxes.

4. Tax-Loss Harvesting Rules and Wash-Sale Restrictions

Astute portfolio managers minimize tax liabilities via tax-loss harvesting, deliberately realizing losses on depreciated assets to offset taxable realized gains elsewhere in the portfolio:

  • Offset Mechanics: Short-term losses offset short-term gains, while long-term losses offset long-term gains. Any remaining net loss in one category then offsets net gains in the opposing category.
  • Ordinary Income Deduction Cap: If net total capital losses exceed total capital gains for the calendar year, a maximum of $3,000 ($1,500 if married filing separately) can be deducted against ordinary taxable wages. Unused losses carry forward indefinitely to future tax years.
  • The 30-Day Wash-Sale Rule (IRC ยง 1091): Prevents taxpayers from claiming a tax loss if they acquire "substantially identical" stock or securities within a 61-day window (30 days before through 30 days after the date of the loss-generating sale). Disallowed losses are appended back to the cost basis of the newly acquired replacement security.

5. Special Exclusions: Real Estate Section 121 and Section 1031

Residential real estate investors benefit from major statutory shelters not available to equities:

  • Section 121 Primary Residence Exclusion: Taxpayers can exclude up to $250,000 of capital gains ($500,000 for married couples filing jointly) from the sale of their primary home if they owned and occupied the residence for at least two of the five years preceding the sale date.
  • Section 1031 Like-Kind Exchange: Commercial real estate and rental property owners can indefinitely defer 100% of capital gains and depreciation recapture taxes by rolling all gross sale proceeds into a replacement like-kind investment property within 180 calendar days.

6. Frequently Asked Questions

Are cryptocurrencies taxed as capital assets or currency?

Under IRS Notice 2014-21, virtual currencies (such as Bitcoin and Ethereum) are legally classified as property. Every crypto-to-crypto trade, token swap, or purchase of goods using crypto triggers a taxable capital gains realization event based on the token's cost basis.

Do state taxes apply to capital gains?

Yes. Most US states tax capital gains as ordinary state income (ranging from 0% in states like Texas and Florida to over 13% in California). Only a minority of states offer preferential rates for long-term gains.

How do inherited assets receive a "step-up" in basis?

Under IRC Section 1014, when a beneficiary inherits capital assets upon the owner's death, the cost basis is automatically "stepped up" to the fair market value on the date of death, permanently extinguishing all unrealized capital gains accumulated during the decedent's lifetime.