Capital Gains Calculator
Calculate capital gains tax on your investment sales. Understand the difference between short-term and long-term capital gains. Plan tax-efficient investment strategies and estimate your tax liability.
Important Disclaimer
NOT TAX ADVICE: This calculator is for educational and informational purposes only. It does not constitute tax, financial, or legal advice. Tax laws are complex and subject to change.
Consult a Professional: Always consult with a qualified tax professional, CPA, or financial advisor for personalized tax advice and guidance specific to your situation. Results are estimates based on 2024 tax brackets and may not reflect your actual tax liability.
Investment Details
Improvements, commissions, fees, etc.
Tax Information
Your taxable income excluding this gain
Your state capital gains tax rate
Short vs Long-Term Gains
Automatically distinguish between short-term (taxed as ordinary income) and long-term gains (preferential rates)
Tax Bracket Analysis
See how capital gains affect your tax bracket and calculate combined tax liability including NIIT
Tax Loss Planning
Identify opportunities for tax loss harvesting to offset capital gains and optimize your tax situation
Frequently Asked Questions
What's the difference between short-term and long-term capital gains?
Short-term gains (held ≤1 year) are taxed as ordinary income (10-37%). Long-term gains (held >1 year) are taxed at preferential rates (0%, 15%, 20% based on income). Long-term capital gains are significantly more tax-efficient, often saving 15-25% in taxes.
How is capital gains tax calculated?
Capital gain = Sale price - Purchase price - Cost basis adjustments. Tax = Capital gain × Your tax rate. For long-term gains, use your applicable rate (0%, 15%, or 20% based on income). Our calculator handles both types automatically.
What income determines my capital gains tax rate?
For 2024 single filers: 0% rate up to $47,025; 15% rate from $47,026-$518,900; 20% rate over $518,900. Your filing status and total taxable income determine your rate. Our calculator applies correct rates automatically.
Can I offset capital gains with capital losses?
Yes! Capital losses offset capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 in losses against ordinary income annually. Excess losses carry forward indefinitely. Our calculator models this tax loss harvesting.
Do I pay state capital gains tax?
Most states tax capital gains as ordinary income. A few states (California, New York, Illinois) have additional taxes. Our calculator can include estimated state tax rates to give you the complete picture.
What is the Net Investment Income Tax (NIIT)?
NIIT is an additional 3.8% tax on net investment income for high earners. It applies when your income exceeds: $200,000 (single), $250,000 (married filing jointly), $125,000 (married filing separately), or $200,000 (head of household). Our calculator automatically includes NIIT when applicable.