Capital Gains Tax Calculator

Calculate long-term (0%, 15%, 20%) and short-term capital gains tax for Head of Household

2025 Capital Gains Rates for HOH

Taxable IncomeLong-Term RateShort-Term Rate
Up to $63,0000%10% or 12%
$63,001 to $551,35015%22%, 24%, 32%, or 35%
Over $551,35020%37%

Long-Term Capital Gains

Assets held over 1 year. Taxed at preferential 0%, 15%, or 20% rates. Big tax advantage!

Short-Term Capital Gains

Assets held 1 year or less. Taxed as ordinary income at your regular tax bracket (10-37%).

Detailed Rate Breakdown

0% Capital Gains Bracket (Up to $63,000)

If your taxable income (after standard deduction) is under $63,000, long-term capital gains are tax-free!

Example:

• W-2 income: $50,000

• Standard deduction: -$22,500

• Taxable income: $27,500

• Room for 0% gains: $63,000 - $27,500 = $35,500

Can realize $35,500 in long-term capital gains TAX-FREE!

15% Capital Gains Bracket ($63,001 - $551,350)

Most middle and upper-middle income earners fall here. Still much better than ordinary income rates.

Example:

• W-2 income: $100,000

• Standard deduction: -$22,500

• Taxable income: $77,500

• Long-term gain: $50,000

• Total taxable income: $127,500 (still under $551,350)


Capital gains tax: $50,000 × 15% = $7,500

Compare to ordinary income: Would be $11,000 at 22% bracket

20% Capital Gains Bracket (Over $551,350)

High earners pay 20%, but still better than 37% top ordinary income rate.

Example:

• W-2 income: $400,000

• Long-term gain: $200,000

• Total taxable income: $577,500 (over $551,350 threshold)


Capital gains tax: $200,000 × 20% = $40,000

Compare to ordinary income: Would be $74,000 at 37% bracket

Net Investment Income Tax (NIIT): Additional 3.8%

High earners pay extra 3.8% Medicare surtax on investment income (including capital gains) if MAGI exceeds $200,000 for HOH.

Filing StatusNIIT ThresholdTax on Excess
Head of Household$200,0003.8%
Single$200,0003.8%
Married Filing Jointly$250,0003.8%

Example: NIIT Applies

HOH with $180k wages + $50k long-term gains:


• MAGI: $230,000 (exceeds $200k threshold)

• Excess over threshold: $30,000

• NIIT: Lesser of (a) net investment income or (b) excess MAGI

• Net investment income: $50,000 (the capital gain)

• Excess MAGI: $30,000

• NIIT applies to: $30,000 (lesser amount)


NIIT owed: $30,000 × 3.8% = $1,140

Plus 15% capital gains tax on full $50k = $7,500. Total tax: $8,640

Maximum Combined Rate:

20% (capital gains) + 3.8% (NIIT) = 23.8% top federal rate on long-term gains for highest earners. Still much better than 37% + 3.8% = 40.8% on ordinary income!

Short-Term vs Long-Term: Side-by-Side

Holding PeriodTax Rate$10k Gain Tax$50k Gain Tax
≤ 1 year (Short-term)22-37% ordinary$2,200-$3,700$11,000-$18,500
> 1 year (Long-term, 0% bracket)0%$0$0
> 1 year (Long-term, 15% bracket)15%$1,500$7,500
> 1 year (Long-term, 20% bracket)20%$2,000$10,000

Key Takeaway: Holding just one day longer than 1 year can save you thousands in taxes! Short-term $50k gain at 37% = $18,500 tax. Long-term 15% = $7,500. Savings: $11,000!

Capital Gains Calculation Examples

Scenario 1: Low Income - 0% Rate

HOH, part-time worker, $35,000 wages


• Wages: $35,000

• Standard deduction: -$22,500

• Taxable income before gains: $12,500

• Long-term capital gain: $40,000 (held stock 2 years)


Capital Gains Tax:

• Total taxable income: $52,500 (under $63k threshold)

• All $40k gain at 0% rate: $0 tax


Ordinary Income Tax:

• $12,500 at 10-12%: ~$1,400


Total Federal Tax: $1,400 (3.5% effective rate!)

Scenario 2: Middle Income - 15% Rate

HOH, $90,000 salary + $30,000 stock sale (held 18 months)


• Salary: $90,000

• Standard deduction: -$22,500

• Taxable ordinary income: $67,500

• Long-term capital gain: $30,000

• Total taxable income: $97,500


Tax Calculation:

• Ordinary income tax on $67,500: ~$9,950

• Capital gains tax: $30,000 × 15% = $4,500


Total Federal Tax: $14,450

If gain were short-term at 22%: $6,600 → save $2,100

Scenario 3: High Income - 20% + NIIT

HOH, $350k salary + $100k long-term gain (stock options)


• Salary: $350,000

• Standard deduction: -$22,500

• Taxable ordinary income: $327,500

• Long-term capital gain: $100,000

• Total taxable income: $427,500

• MAGI: $450,000 (exceeds $200k and $551,350)


Tax Calculation:

• Ordinary income tax on $327,500: ~$78,000

• Capital gains tax: $100,000 × 20% = $20,000

• NIIT: $100k × 3.8% = $3,800 (all over $200k threshold)


Total Federal Tax: $101,800

Effective rate on gain: 23.8% (20% + 3.8%)

Special Capital Gains Rules

Collectibles (28% Rate)

Art, antiques, coins, precious metals (gold, silver) taxed at 28% max rate, not 20%. No preferential treatment even if held long-term.

Qualified Small Business Stock (QSBS)

Section 1202 exclusion: Can exclude 50%, 75%, or 100% of gain from qualifying small business stock held 5+ years. Massive tax break for startup investors.

Primary Residence Exclusion

Exclude $250,000 gain on home sale (must live there 2 of last 5 years). For HOH who owned home with ex-spouse before divorce, can still qualify.

Wash Sale Rule

If you sell stock at loss, can't buy "substantially identical" stock 30 days before or after. Loss disallowed, added to cost basis of new purchase.

💡 Capital Gains Tax Strategies

1. Hold Over 1 Year

Single most important rule. Waiting just one day past 1-year mark can cut your tax rate in half (from 37% to 20% for high earners).

2. Tax-Loss Harvesting

Sell losing positions to offset gains. $10k gain + $10k loss = $0 taxable. Can deduct $3k excess losses against ordinary income annually.

3. Fill 0% Bracket

If income under $63k (HOH), realize gains tax-free! Retirees or low-income years: Strategic time to sell winners.

4. Donate Appreciated Stock

Instead of selling and donating cash, donate stock directly to charity. Avoid capital gains tax and get full FMV deduction.

5. Opportunity Zones

Invest gains in Qualified Opportunity Fund: Defer tax, reduce by 10% if held 5+ years, eliminate tax on QOF gains if held 10 years.

6. Estate Planning

Assets get "step-up" in basis at death. Heirs receive cost basis = FMV at date of death, avoiding all built-in gains. Hold appreciated assets until death if possible.