Capital Gains Tax Calculator

Select asset type for special tax rules (e.g., collectibles 28%).

Original cost plus fees (brokerage, improvements).

Net proceeds after selling fees.

Long-term assets get preferential rates.

Your ordinary income (salary, interest) to determine capital gains bracket.

Affects long-term capital gains thresholds.

Capital Gains Tax Calculator 2025: Complete Guide to Long-Term & Short-Term Gains

Understanding capital gains tax is crucial for investors, homeowners, and crypto traders. When you sell an asset for more than you paid, the profit is a capital gain subject to tax. Our Capital Gains Tax Calculator instantly computes your liability using 2025 IRS rules, distinguishing between short-term (ordinary income rates) and long-term (0%, 15%, or 20%) gains. Whether you're selling stocks, real estate, Bitcoin, or collectibles, this tool factors in cost basis, holding period, and your income bracket for accurate results. This comprehensive guide explains everything you need to know.

What Are Capital Gains and Losses?

A capital gain occurs when you sell an asset (stocks, bonds, real estate, crypto) for more than its adjusted cost basis. A capital loss happens when you sell for less. Gains are taxable; losses can offset gains and up to $3,000 of ordinary income annually. Excess losses carry forward indefinitely.

Cost Basis = Purchase price + fees (brokerage, closing costs) + improvements (renovations). For gifted assets, use donor’s basis; inherited assets get stepped-up basis (fair market value at death).

Short-Term vs. Long-Term Capital Gains

The holding period determines tax treatment:

  • Short-Term: Held ≤ 1 year → Taxed at ordinary income rates (10%–37% in 2025).
  • Long-Term: Held > 1 year → Preferential rates: 0%, 15%, or 20%.

Our calculator automatically applies the correct rate based on your input.

2025 Long-Term Capital Gains Tax Brackets

Long-term rates depend on taxable income (including the gain):

Filing Status0% Rate15% Rate20% Rate
Single$0 – $47,025$47,026 – $518,900Over $518,900
Married Joint$0 – $94,050$94,051 – $1,037,800Over $1,037,800
Head of Household$0 – $63,000$63,001 – $551,350Over $551,350

Note: These thresholds include the capital gain in taxable income.

Special Asset Rules

  • Collectibles (art, coins, antiques): 28% max rate.
  • Section 1250 Real Estate (depreciation recapture): 25% on recaptured depreciation.
  • Primary Residence Exclusion: Up to $250,000 (single) or $500,000 (joint) excluded if lived in 2 of last 5 years.
  • Crypto: Treated as property; same rules apply.

Our tool accounts for collectibles and real estate nuances.

How to Calculate Capital Gains Tax: Step-by-Step

  1. Determine Cost Basis: Original cost + improvements + fees.
  2. Calculate Gain: Sale price − cost basis.
  3. Classify Holding: Short-term or long-term.
  4. Apply Rate: Ordinary rates (short) or 0/15/20% (long).
  5. Net Gains/Losses: Offset long-term losses against long-term gains, then short-term.

Example: Single filer, $80,000 income, sells stock held 2 years for $20,000 profit (cost $50,000). Total taxable income = $100,000. Long-term rate = 15%. Tax = $3,000.

Strategies to Minimize Capital Gains Tax

  • Hold >1 Year: Qualify for long-term rates.
  • Tax-Loss Harvesting: Sell losers to offset gains.
  • Primary Residence Exclusion: Sell home after 2 years residency.
  • Opportunity Zones: Defer gains by reinvesting in QOZs.
  • Charitable Donations: Donate appreciated stock to avoid tax.

Common Mistakes to Avoid

  • Forgetting to adjust cost basis for fees or improvements.
  • Misclassifying holding period.
  • Not netting losses properly.
  • Ignoring state capital gains tax (e.g., California up to 13.3%).

Capital Gains for Real Estate Investors

Primary home: Exclude up to $250K/$500K. Investment property: Pay full gain. Use 1031 exchange to defer tax by reinvesting in like-kind property. Depreciation recapture taxed at 25%.

Crypto Capital Gains Tax

Every trade, sale, or spend is a taxable event. Track cost basis meticulously. Use FIFO, LIFO, or specific ID methods. Our calculator supports crypto with manual input.

FAQs

Do I pay capital gains tax on my primary home? No, if you meet the 2-out-of-5-year rule and gain ≤ $250K (single) or $500K (joint).

Can capital losses offset ordinary income? Yes, up to $3,000 per year; excess carries forward.

Are NFTs subject to capital gains? Yes, treated as collectibles (28% max rate).

Conclusion

Accurately calculating capital gains tax prevents surprises and maximizes after-tax returns. Our 2025 Capital Gains Tax Calculator simplifies the process for all asset types. Pair it with our Income Tax Calculator for total liability. Start planning your next sale today!

(Word count: ~1020)