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.
Calculate your gains here, then use TurboTax to file accurately. Handles real estate sales, stock gains, and 1031 exchanges — step-by-step guidance included.