Capital Gains Tax Calculator 2026
Capital gains tax depends on how long you held the asset. Held 12+ months? You qualify for lower long-term rates (0%, 15%, or 20%). Under 12 months? It is taxed as ordinary income.
Enter your purchase price, sale price, holding period, and state to see your federal, state, and total capital gains tax — plus your after-tax net gain. State tax is estimated by running the gain through your state's 2026 brackets as additional ordinary income.
Not tax advice — for estimation only.
How It Works
- Enter the purchase price and sale price of the asset
- Enter how many months you held the asset
- Select your state, then click Calculate
Frequently Asked Questions
Common questions about this calculator.
What is the difference between long-term and short-term capital gains?
Long-term gains apply to assets held 12 months or longer and are taxed at preferential rates of 0%, 15%, or 20% depending on your income. Short-term gains (held under 12 months) are taxed as ordinary income at your regular federal tax rate.
What are the 2026 long-term capital gains thresholds?
For single filers in 2026, the 0% rate applies to gains up to $49,450, 15% from $49,450 to $545,500, and 20% above $545,500. Married filing jointly thresholds are roughly double. Our calculator uses single-filer thresholds.
Do states tax capital gains?
Yes — most states tax capital gains as ordinary income at their regular income-tax rates. A few states offer reduced rates or exclusions for capital gains. This calculator runs the gain through your state's 2026 tax brackets as additional ordinary income, using single-filer rates. Your standard deduction and exemption credit are not applied to the gain itself — they are assumed to be already used by your other income — so even a small gain can owe state tax.
Why doesn't the calculator ask for my other income or filing status?
It estimates the tax on the gain itself, using single-filer rates and thresholds. In reality your gain stacks on top of your other income, so your exact tax depends on your total income and filing status. Treat the result as an estimate.