What is the capital gains tax by state calculator?
In short
Capital gains tax combines a federal long-term rate (0%, 15%, or 20% based on income) with your state's rate. On a $100,000 gain with $120,000 of taxable income filing single, the federal rate is 15% ($15,000) plus a 5% state tax ($5,000) — $20,000 total, leaving $80,000 in net proceeds.
Combines the federal long-term capital gains rate with your state's rate to show your total capital gains tax and net proceeds after the sale.
How to use this calculator
- 1Enter your long-term capital gain (assets held over one year).
- 2Enter your taxable income to determine your federal LTCG bracket.
- 3Choose your filing status and enter your state's capital gains rate.
- 4See your federal tax, state tax, total tax, and net proceeds.
The formula
- fed%
- — Federal LTCG rate: 0%, 15%, or 20% by income
- state%
- — Your state's capital gains tax rate
- fed tax
- — gain × fed%
- state tax
- — gain × state%
Worked example
The scenario
$100,000 long-term gain, $120,000 taxable income, single filer, 5% state rate.
The result
Federal (15%): $15,000. State (5%): $5,000. Total tax: $20,000. Net proceeds: $80,000.
Common use cases
- Investors estimating tax on stock or fund sales by state.
- Comparing the after-tax outcome of selling in a high-tax vs no-tax state.
- Planning the timing of asset sales around income thresholds.
Limitations & assumptions
- Uses 2024 federal LTCG brackets — does not include the 3.8% Net Investment Income Tax.
- Some states tax capital gains as ordinary income with graduated brackets, not a flat rate.
- Does not model short-term gains, which are taxed as ordinary income.
Frequently asked questions
Disclaimer: KalkWise calculators are provided for general informational and educational purposes only and do not constitute financial, investment, tax, or legal advice. Results are estimates based on the figures you enter and the assumptions described above. Actual outcomes will vary. Consult a qualified professional before making financial decisions.