The 2026 capital gains tax rate for most Americans is 0%, 15%, or 20% — significantly lower than ordinary income tax rates. Whether you pay the low rate or the high rate depends on two things: how long you held the asset and your total taxable income. This guide explains the complete calculation with a step-by-step framework, 2026 rate tables, state-by-state breakdown, and strategies to minimize your tax bill.

2026 Capital Gains Tax Rates: The Quick Answer

The 2026 long-term capital gains tax rate for a single filer:

Taxable Income (Single) Long-Term Capital Gains Rate
$0 – $48,350 0%
$48,351 – $533,400 15%
$533,401+ 20%

The 2026 long-term capital gains tax rate for married filing jointly:

Taxable Income (MFJ) Long-Term Capital Gains Rate
$0 – $96,700 0%
$96,701 – $600,050 15%
$600,051+ 20%

Short-term capital gains (assets held 12 months or less) are taxed as ordinary income — at your marginal federal bracket (10%, 12%, 22%, 24%, 32%, 35%, or 37%).

How to Calculate Your Capital Gains Tax: Step by Step

Step 1: Calculate Your Capital Gain

$$\text{Capital Gain} = \text{Sale Price} - \text{Purchase Price} - \text{Selling Costs}$$

For real estate, also subtract depreciation recapture (see below). For stocks and funds, the purchase price is your cost basis (what you paid plus commissions).

Example: You bought 100 shares of a stock at $50/share ($5,000 total) and sold at $120/share ($12,000 total) after 2 years. Selling costs = $10.

$$\text{Capital Gain} = $12,000 - $5,000 - $10 = $6,990$$

Step 2: Determine Short-Term vs. Long-Term

  • Short-term: Held 12 months or less → ordinary income rates
  • Long-term: Held more than 12 months → preferential 0/15/20% rates

The holding period starts the day after you acquire the asset and ends on the day you sell it. For inherited assets, gains are automatically treated as long-term regardless of holding period.

Step 3: Determine Your Taxable Income (Including the Gain)

Long-term gains are “stacked on top” of your ordinary income. Your ordinary income fills the brackets first, then long-term gains sit on top.

Example: Single filer, $45,000 in wages, $10,000 long-term capital gain.

  • Ordinary income bracket: wages $45,000 − $15,000 standard deduction = $30,000 taxable income (all in 12% bracket)
  • Long-term gains: $30,000 + $10,000 = $40,000 total taxable income
  • $40,000 is below $48,350 threshold → 0% capital gains rate on the $10,000 gain
  • Federal capital gains tax owed: $0

Step 4: Apply the Federal Capital Gains Rate

Multiply the long-term gain (or the portion that falls in each bracket) by the applicable rate.

Example: Single filer, $80,000 wages, $20,000 long-term capital gain.

  • Ordinary income: $80,000 − $15,000 standard deduction = $65,000 taxable income
  • Long-term gain stacked on top: $65,000 + $20,000 = $85,000 total taxable income
  • All $20,000 in long-term gain falls in the 15% bracket ($65,000 is already above $48,350)
  • Federal capital gains tax: $20,000 × 15% = $3,000

Step 5: Add Net Investment Income Tax (NIIT) If Applicable

If your modified AGI exceeds $200,000 (single) or $250,000 (married), you owe an additional 3.8% NIIT on the lesser of:

  • Your net investment income, OR
  • The amount your MAGI exceeds the threshold

Example: Single filer, $220,000 MAGI, $30,000 in long-term capital gains.

  • MAGI − threshold: $220,000 − $200,000 = $20,000
  • Net investment income: $30,000
  • NIIT applies to lesser amount: $20,000 × 3.8% = $760 additional tax
  • Federal long-term rate (15%) + NIIT = effective rate 16.8% on $20,000 of the gain

At incomes above $200,000, the effective federal long-term capital gains rates become 18.8% (15% + 3.8%) or 23.8% (20% + 3.8%).

Step 6: Add State Capital Gains Tax

State Capital Gains Treatment Effective Top Rate
Texas, Florida, Nevada, Washington, Alaska, South Dakota, Wyoming, Tennessee, New Hampshire No state income tax 0%
California Ordinary income Up to 13.3%
New York Ordinary income + NYC tax Up to 10.9%
Oregon Ordinary income Up to 9.9%
Minnesota Ordinary income Up to 9.85%
New Jersey Ordinary income Up to 10.75%
Colorado Flat rate 4.4%
Arizona Flat rate 2.5%
Illinois Flat rate 4.95%
Massachusetts Flat rate 5.0%
Pennsylvania Flat rate 3.07%

Capital Gains Tax Calculator: Quick Reference Examples

Scenario Filing Status Gross Income Capital Gain Federal CGT NIIT State (Texas) State (CA)
Small gain, middle income Single $60,000 $10,000 $1,500 (15%) $0 $0 $930 (9.3%)
Low income earner Single $35,000 $5,000 $0 (0%) $0 $0 $465
High earner Single $250,000 $50,000 $10,000 (20%) $1,900 $0 $6,650
Married couple, mid-range MFJ $120,000 $25,000 $3,750 (15%) $0 $0 $2,325
Very high earner Single $600,000 $100,000 $20,000 (20%) $3,800 $0 $13,300

Real Estate Capital Gains: Additional Considerations

Primary Home Exclusion

You can exclude up to $250,000 of capital gains ($500,000 married filing jointly) on the sale of your primary residence if:

  • You owned the home for at least 2 of the last 5 years
  • You lived in it as your primary residence for at least 2 of the last 5 years

Example: You bought your home for $300,000 and sold for $650,000 after 5 years — a $350,000 gain. Single filer can exclude $250,000; taxable gain = $100,000.

Depreciation Recapture

If you’ve rented out a property and claimed depreciation deductions, the IRS recaptures that depreciation at a maximum 25% rate when you sell — even if the overall gain qualifies for long-term treatment.

Example: Rental property bought for $250,000, accumulated $30,000 in depreciation deductions over 7 years, sold for $350,000.

  • Total gain: $350,000 − ($250,000 − $30,000) = $130,000
  • Depreciation recapture portion: $30,000 taxed at up to 25% = $7,500
  • Remaining gain: $100,000 taxed at long-term rate (0/15/20%)

1031 Exchange

A 1031 exchange allows you to defer capital gains tax on investment real estate by rolling the proceeds into a “like-kind” property within strict timelines:

  • 45 days to identify replacement property
  • 180 days to close on replacement property
  • Must use a qualified intermediary

Gains are deferred (not eliminated) — they carry forward into the new property’s cost basis.

Tax-Loss Harvesting

Tax-loss harvesting is the practice of selling investments at a loss to offset capital gains dollar-for-dollar:

  • Short-term losses offset short-term gains first (then long-term gains)
  • Long-term losses offset long-term gains first (then short-term gains)
  • Net losses can offset up to $3,000/year of ordinary income
  • Excess losses carry forward to future tax years indefinitely

Wash-sale rule: You cannot buy a “substantially identical” security within 30 days before or after selling at a loss. Violating this rule disallows the loss.

WealthVieu
Written by WealthVieu

WealthVieu researches and writes data-driven personal finance guides using primary sources including the IRS, Bureau of Labor Statistics, Federal Reserve, and Census Bureau.

The content on Wealthvieu is for informational purposes only and should not be considered financial, tax, or investment advice. Consult a qualified professional before making financial decisions. Full disclaimer · Editorial policy