Capital Gains Tax Calculator

Estimate federal capital gains tax on investment sales

What is this? This calculator estimates how much tax you'll owe when you sell an investment — stocks, real estate, or crypto. It handles short-term gains (held <1 year, taxed as income) vs. long-term gains (held >1 year, lower tax rates), and shows the effect of tax-loss harvesting.

Who it's for: Investors selling stocks or property, people considering tax-loss harvesting to offset gains, or anyone trying to estimate taxes before making an investment exit.
Sale Details
oninput="calculate()"
oninput="calculate()"
oninput="calculate()"
Your Income (for bracket determination)
oninput="calculate()"
Tax-Loss Harvesting (offset gains with losses)
NIIT note: If MAGI + net investment income exceeds $200K (single) or $250K (married), you owe 3.8% NIIT on the lesser of net investment income or the excess over threshold.
Results
Capital Gain
Federal Tax
State Tax
Total Tax
Effective Rate
Net Proceeds
🏆 Trusted by 50,000+ real estate investors monthly
Our tax tools are free. We earn a commission when you use our partner links — at no extra cost to you.
🏦 Finance Your Next Deal After the Sale — Kiavi
Just locked in capital gains? Put that equity to work. Kiavi offers hard money loans for real estate investors ready to buy their next property.
💼 Get a Loan Quote →
📋 File Your Capital Gains Right — TurboTax
Calculate your gains here, then use TurboTax to file accurately. Handles real estate sales, stock gains, and 1031 exchanges — step-by-step guidance included.
📋 File with TurboTax →
🏦 Ready to Refinance Your Next Property? Better Mortgage
From BRRRR to commercial — Better Mortgage's streamlined platform serves real estate investors looking to refinance or finance their next acquisition.
🏦 See Rates →
📥 Next Deal Analyzer Toolkit — BRRRR + Rental ROI + Fix-and-Flip Templates · from $14 → Buy Templates →

Affiliate disclosure: quikcalc.net is reader-supported. We earn a commission when you click partner links — at no extra cost to you.

Estimates only. Not tax advice. Consult a CPA or use TurboTax or TaxAct for accurate filing.

📬 Free Weekly Investment Report
New deal analysis, market updates, and calculator features — every Monday for active real estate investors.
✓ Free forever · No spam · Unsubscribe anytime

⬆️ Step Up Your Deal Analysis

Run Professional Property Analysis in 60 Seconds

DealCheck gives investors the edge with comps, ARV estimates, rehab costs, and wholesaling fees — all in one place.

Analyze Deals Like a Pro →
🏠 Property Management

DoorLoop — All-in-One Rental Property Management

Tenant screening, lease agreements, rent collection, and maintenance tracking — built for landlords and rental investors who self-manage.

💰 $250/qualified referral  ·  $50/demo + $200/subscriber  ·  90-day Amazon gift card
Join DoorLoop — Free for Landlords →

Disclosure: Affiliate link. We earn a referral fee when you sign up through DoorLoop via Impact.com. [nofollow sponsored]