Financial
Capital Gains Tax Calculator
Calculate federal and state capital gains tax on investments, real estate, and business sales. Covers short-term vs. long-term rates, Net Investment Income Tax (NIIT), and net proceeds.
Original purchase price + improvements
Commissions, fees, closing costs (reduce taxable gain)
Wages, business income before this gain
Net Proceeds After Tax28.3% effective rate on gain
$71,700
Taxable gain: $100,000 | Total tax: $28,300
Tax Breakdown (Long-term Capital Gain)
Sale Price$200,000
Cost Basis− $100,000
Taxable Gain$100,000
Federal Long-term CGT− $15,000
State Tax (CA — Ordinary income rate (no preferential rate))− $13,300
Total Tax− $28,300
Net Proceeds$71,700
Ways to Reduce Your Capital Gains Tax
- • Tax-loss harvesting: Offset gains by selling losing investments in the same tax year
- • Primary residence exclusion: Exclude up to $250K ($500K married) on home sale gains if you lived there 2 of last 5 years
- • 1031 exchange: Defer real estate gains by reinvesting in like-kind property
- • Charitable donation: Donate appreciated assets directly to avoid capital gains entirely
- • Installment sale: Spread gain recognition over multiple years to stay in lower brackets
Bookmark this calculator
Save it for one-tap access or share it with someone who needs it.
Rate this calculator
Ask about Capital Gains Tax Calculator