Capital Gains Tax Calculator
Calculate your capital gains tax liability for stocks, real estate, and other investments. Compare short-term vs long-term rates.
Total Capital Gain
-
Capital Gains Tax Owed
-
After-Tax Proceeds
-
Effective Tax Rate on Gain
-
What is Capital Gains Tax Calculator?
A capital gains tax calculator estimates the tax you'll owe when you sell investments, real estate, or other assets for a profit.
How It Works
Enter your purchase price, sale price, holding period, and filing status. The calculator determines if your gain is short-term or long-term and applies the appropriate tax rate.
The Formula
Capital Gain = Sale Price - Cost Basis
Short-term (<1 year): Taxed as ordinary income
Long-term (>=1 year): Taxed at 0%, 15%, or 20% based on incomeThe tax rate on capital gains depends on how long you held the asset. Short-term gains are taxed at your ordinary income rate. Long-term gains benefit from lower rates (0%, 15%, or 20%) depending on your taxable income.
Examples
Example: $15,000 gain on stocks held 3 years
Single filer, $85k income, $10k invested -> $25k
Your $15,000 gain is long-term (held >1 year). With $85k income, your LTCG rate is 15%. You owe $2,250 in tax. After-tax proceeds: $22,750. Effective rate: 15%.
Pros & Cons
Pros
- ✓Plan for tax liability before selling
- ✓Compare short vs long-term holding strategies
- ✓Understand your after-tax returns
- ✓Make smarter investment timing decisions
Cons
- ✗Simplified tax calculation
- ✗Doesn't include NIIT (3.8%)
- ✗State capital gains not included
- ✗Individual circumstances may vary
Common Mistakes to Avoid
- !Selling before the 1-year LTCG threshold
- !Not accounting for state taxes
- !Forgetting about wash sale rules
- !Ignoring step-up in basis for inherited assets
Expert Tips
- ★Hold assets for at least 1 year for lower rates
- ★Use tax-loss harvesting to offset gains
- ★Consider tax-advantaged accounts first
- ★Time sales for low-income years if possible
Frequently Asked Questions
What's the difference between short-term and long-term capital gains?
How do I avoid capital gains tax?
Does capital gains tax apply to primary home sales?
When do I pay capital gains tax?
Related Calculators
Was this helpful? Share it with others: