Capital Gains Tax Calculator
Estimate short-term vs long-term capital gains tax, detected automatically.
How to Use
- Enter the purchase and sale prices.
- Choose short-term or long-term.
- Enter your other taxable income.
- Select your filing status and review the tax.
Calculation Method
Gain = sale − purchase. Short-term gains (held ≤ 1 year) are taxed at ordinary income rates, stacked on top of your other income. Long-term gains (held > 1 year) use the preferential 0% / 15% / 20% rates based on your taxable income.
The Net Investment Income Tax (3.8%) may also apply at higher incomes and is not included here.
Data source: IRS (2026 capital gains breakpoints).
Examples
Falls in the 15% long-term bracket.
Frequently Asked Questions
Related Tools
Federal Income Tax Calculator
Estimate your federal income tax, effective and marginal rate, and take-home pay.
Calculate →Tax Bracket Calculator
Find your marginal and effective tax rate and see every bracket.
Calculate →State Income Tax Calculator
Calculate state income tax for California, New York, Illinois, Texas and Florida.
Calculate →Disclaimer
This calculator provides estimates for informational and educational purposes only. SmartTaxCalcs does not provide tax advice. Your actual tax liability may differ based on your specific situation, recent law changes, and circumstances not modeled here (e.g., AMT, NIIT, special credits). We strongly recommend consulting a qualified tax professional (CPA, Enrolled Agent, or tax attorney) before filing or making financial decisions.
Data source: IRS Revenue Procedure / state Departments of Revenue. Last data update: May 19, 2026.