Calculators7 min readUpdated: 2026-10-12

What Is Capital Gains Tax?

Definition

Capital gains tax is a mandatory government levy assessed on the profitable realization of a capital asset (such as stocks, bonds, precious metals, cryptocurrency, or real estate) when sold for more than its purchase price.

What Is Capital Gains Tax? Defin...: Technical Breakdown

Capital gains tax is triggered strictly upon the realization (sale or taxable disposition) of an appreciated asset. As long as an asset increases in paper value without being sold, the investor experiences an unrealized (paper) gain, which incurs zero tax liability under United States federal and state tax codes. The tax treatment of realized gains hinges on the holding period. Assets owned for one year or less (365 days or fewer) trigger short-term capital gains, which are taxed at ordinary income tax rates spanning 10% to 37%. Assets held for longer than one year qualify for preferential long-term capital gains tax rates of 0%, 15%, or 20%, depending on the filer's total taxable income. This preferential structure exists deliberately in fiscal policy to incentivize long-term capital formation, entrepreneurial risk-taking, and patient economic investment. In addition to baseline statutory rates, high-earning individuals face the 3.8% Net Investment Income Tax (NIIT) established under Internal Revenue Code (IRC) Section 1411 on investment income exceeding statutory Modified Adjusted Gross Income (MAGI) thresholds ($200,000 for single filers; $250,000 for married couples filing jointly). State-level income taxes also apply in most US jurisdictions, with states like California assessing capital gains at ordinary income rates up to 13.3%.

Key Technical Specifications

  • Realized Gain Formula: Net Capital Gain = Selling Price - (Adjusted Cost Basis + Transaction Fees).
  • Adjusted Basis Adjustments: Cost basis increases with capital improvements, legal fees, and brokerage commissions; decreases with depreciation deductions (such as MACRS real estate depreciation).
  • Holding Period Boundary: Exactly 365 days or less qualifies as short-term; 366+ days (or 367 in leap years) qualifies as long-term under IRS Publication 550.
  • Section 121 Primary Residence Exclusion: Up to $250,000 (single) or $500,000 (married filing jointly) in capital gains from a primary home sale are 100% tax-free if lived in for 2 of the prior 5 years.
  • Net Investment Income Tax (NIIT): 3.8% surtax levied on the lesser of net investment income or MAGI above $200k (Single) / $250k (MFJ).

1. Federal Long-Term Capital Gains Tax Brackets and Thresholds

Unlike progressive ordinary income brackets where each tier applies to a marginal slice, capital gains 'stack' on top of ordinary taxable income: 1. The 0% Long-Term Bracket: Single filers with total taxable income up to approximately $47,025 (and married couples up to $94,050) pay 0.00% in federal capital gains tax. 2. The 15% Long-Term Bracket: Applies to taxable incomes from $47,026 up to $518,900 (Single) / $583,750 (MFJ). This represents the broad middle and upper-middle class investment bracket. 3. The 20% Long-Term Bracket: Applies to all capital gains pushing taxable income beyond $518,900 (Single) / $583,750 (MFJ). 4. Section 1250 Depreciation Recapture: Real estate investors face a flat 25% federal cap on gains attributable to prior depreciation deductions taken against rental property.
Tax Strategy Tip: Tax-loss harvesting allows investors to offset unlimited capital gains with realized capital losses, plus up to $3,000 of ordinary income annually, carrying forward unused losses indefinitely.

2. Short-Term vs Long-Term Capital Gains Comparative Analysis

The following matrix contrasts the operational and financial differences between short-term trading and long-term asset holding:
AttributeShort-Term Capital GainsLong-Term Capital GainsStrategic Impact
Holding Period Requirement≤ 1 Calendar Year (365 days)> 1 Calendar Year (366+ days)Requires discipline to cross 12-month mark
Federal Tax Rates10% to 37% (ordinary income brackets)0%, 15%, or 20% (preferential)Up to 17% lower top federal tax rate
Net Investment Income TaxApplies (3.8% surtax over MAGI threshold)Applies (3.8% surtax over MAGI threshold)Combined top federal rate: 40.8% vs 23.8%
Wash-Sale Rule (30 Days)Strictly enforced on replacement sharesStrictly enforced on replacement sharesCannot repurchase identical security within 30 days
Offset Against Capital LossesDollar-for-dollar offset against short lossesDollar-for-dollar offset against long lossesNet losses offset up to $3,000 ordinary income

What Is Capital Gains Tax? Defin... Misconceptions

❌ Myth: “You must pay capital gains tax every year your stock portfolio increases in value.”

✅ Reality: Capital gains tax is only triggered when you sell or trade an asset. Unrealized gains incur zero tax liability regardless of portfolio growth.

❌ Myth: “Selling a cryptocurrency for another cryptocurrency is non-taxable.”

✅ Reality: The IRS classifies cryptocurrency as property under Notice 2014-21; trading Bitcoin for Ethereum is treated as a taxable disposition of Bitcoin at fair market value.

❌ Myth: “Reinvesting dividends automatically shields them from current-year taxation.”

✅ Reality: Reinvested dividends are considered constructively received income in the year paid and are taxable regardless of whether cash was withdrawn.

Tools for What Is Capital Gains Tax? Defin...

Apply this concept directly using our free client-side browser utilities:

Concepts for What Is Capital Gains Tax? Defin...