Capital gains tax calculator: federal and state, 2026
Last reviewed:
Enter what you sold for, what you paid, how long you held it, your other income and your state. You get the federal tax, the net investment income tax, your state’s tax and what you keep, with every state on the map.
Calculator
Turn on JavaScript to see the tax on your gain.
2026 federal capital gains tax rates
Gains on assets held more than a year are long-term and get their own rates. The rate depends on your taxable income with the gain included, and the gain is stacked on top of your other income.
| Filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,450 to $545,500 | Over $545,500 |
| Married filing jointly | Up to $98,900 | $98,900 to $613,700 | Over $613,700 |
| Head of household | Up to $66,200 | $66,200 to $579,600 | Over $579,600 |
| Married filing separately | Up to $49,450 | $49,450 to $306,850 | Over $306,850 |
Short-term gains, on assets held a year or less, are taxed as ordinary income at up to 37%. On top of either, the net investment income tax adds 3.8% on the part of your income over $200,000 ($250,000 joint). That threshold is set in law and does not rise with inflation.
A few gains have higher caps: 25% for depreciation recaptured on real estate and 28% for collectibles such as art, coins and gold.
Capital gains tax by state: the map
Turn on JavaScript to see every state on the map. The table below has each state’s rule.
How each state taxes capital gains in 2026
Most states tax capital gains like wages, at their normal income tax rates. 8 have no tax on them, and 11 give long-term gains a break or their own rate: Arizona, Arkansas, Hawaii, Massachusetts, Montana, New Mexico, North Dakota, South Carolina, Vermont, Washington and Wisconsin.
| State | How capital gains are taxed | Top rate on long-term gains |
|---|---|---|
| Alabama | Ordinary income | 5% |
| Alaska | No tax on capital gains | 0% |
| Arizona | 25% of long-term gains excluded | 1.88% |
| Arkansas | 50% of long-term gains excluded | 1.95% |
| California | Ordinary income | 13.3% |
| Colorado | Ordinary income | 4.4% |
| Connecticut | Ordinary income | 6.99% |
| Delaware | Ordinary income | 6.6% |
| Florida | No tax on capital gains | 0% |
| Georgia | Ordinary income | 5.19% |
| Hawaii | Long-term gains capped at 7.25% | 7.25% |
| Idaho | Ordinary income | 5.3% |
| Illinois | Ordinary income | 4.95% |
| Indiana | Ordinary income | 2.95% |
| Iowa | Ordinary income | 3.8% |
| Kansas | Ordinary income | 5.58% |
| Kentucky | Ordinary income | 3.5% |
| Louisiana | Ordinary income | 3% |
| Maine | Ordinary income | 7.15% |
| Maryland | Ordinary income | 6.5% |
| Massachusetts | Long-term 5%, short-term 8.5%, plus the surtax over $1,083,150 | 9% |
| Michigan | Ordinary income | 4.25% |
| Minnesota | Ordinary income, plus 1% on investment income over $1,000,000 | 9.85% |
| Mississippi | Ordinary income | 4% |
| Missouri | Ordinary income | 4.7% |
| Montana | Own long-term rates: 3% and 4.1% | 4.1% |
| Nebraska | Ordinary income | 4.55% |
| Nevada | No tax on capital gains | 0% |
| New Hampshire | No tax on capital gains | 0% |
| New Jersey | Ordinary income | 10.75% |
| New Mexico | First $2,500 of gains excluded | 5.9% |
| New York | Ordinary income | 10.9% |
| North Carolina | Ordinary income | 3.99% |
| North Dakota | 40% of long-term gains excluded | 1.5% |
| Ohio | Ordinary income | 2.75% |
| Oklahoma | Ordinary income | 4.5% |
| Oregon | Ordinary income | 9.9% |
| Pennsylvania | Ordinary income | 3.07% |
| Rhode Island | Ordinary income | 5.99% |
| South Carolina | 44% of long-term gains excluded | 3.36% |
| South Dakota | No tax on capital gains | 0% |
| Tennessee | No tax on capital gains | 0% |
| Texas | No tax on capital gains | 0% |
| Utah | Ordinary income | 4.5% |
| Vermont | First $5,000 of gains excluded | 8.75% |
| Virginia | Ordinary income | 5.75% |
| Washington | Long-term gains only: 7% over a $290,000 deduction, 9.9% over $1,000,000 | 9.9% |
| West Virginia | Ordinary income | 4.82% |
| Wisconsin | 30% of long-term gains excluded | 5.35% |
| Wyoming | No tax on capital gains | 0% |
| District of Columbia | Ordinary income | 10.75% |
Top rates are for a single filer at the highest bracket, after any exclusion. Your own rate depends on your income, which the calculator handles. Washington taxes only long-term gains, through a separate excise tax, and exempts real estate and retirement accounts.
States with no capital gains tax
Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas and Wyoming do not tax capital gains. New Hampshire ended its tax on interest and dividends in 2025 and never taxed gains. Moving to one of them before a big sale can save state tax, but the state you leave may tax gains it considers earned while you lived there, and you need to truly change your residence.
Ways to pay less capital gains tax
- Hold for more than a year. The chart above shows how much the long-term rates save at your income.
- Use the 0% band. In a low-income year, such as early retirement, gains up to the top of the 0% band are tax-free federally.
- Harvest losses. Losses offset gains first, then up to $3,000 of other income a year, and the rest carries forward.
- Exclude a home sale. Most homeowners who lived in their home two of the last five years owe nothing on the gain up to the section 121 limit.
- Give appreciated shares to charity instead of cash, and hold assets your heirs will inherit: they get a stepped-up basis.
- Invest in tax-advantaged accounts. Trades inside a 401(k), IRA or HSA create no capital gains tax.
Questions people ask
What is the capital gains tax rate for 2026?
Long-term gains are taxed at 0%, 15% or 20% depending on taxable income. A single filer pays 0% up to $49,450 and 15% up to $545,500. Short-term gains are taxed as ordinary income at up to 37%. High earners also pay the 3.8% net investment income tax.
Which states have no capital gains tax?
Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas and Wyoming. Washington has no income tax but charges 7% on long-term gains over $290,000 in 2026, and 9.9% over $1 million.
Which state has the highest capital gains tax?
California, at up to 13.3% because it taxes gains as ordinary income. New York City residents can pay more once city tax is added, and Washington reaches 9.9% on gains over $1 million.
How is capital gains tax calculated?
Subtract what you paid (your cost basis, with fees) from what you sold for. If you held it more than a year, the gain is stacked on top of your other taxable income and taxed at 0%, 15% or 20% across the bands. Add the net investment income tax if your income is over the threshold, and your state’s tax.
Do I pay state tax on capital gains if I move?
You pay the state where you live when you sell. A state you left can still tax a gain it considers earned there, such as on real estate in that state, and states watch moves just before big sales.
How much capital gains tax do I pay on $100,000?
It depends on your income and state. A single filer with $85,000 of other income pays 15% federally on a $100,000 long-term gain ($15,000), plus state tax: about $9,300 in California and nothing in Texas.
Your next decision
- How is my crypto taxed?Gains, losses and staking income.
- How does my state tax my income?Income tax in all 50 states.
- Should I convert to a Roth in a low-income year?Fill low brackets on purpose.
Related: Crypto tax · ROI · Dividends · Rental property · State taxes · All investing and retirement decisions
Sources
- Internal Revenue Service, Revenue Procedure 2025-32 (tax year 2026 inflation adjustments). As of October 9, 2025.
- Internal Revenue Service, Topic no. 409, Capital gains and losses. As of November 26, 2026.
- Internal Revenue Service, Topic no. 559, Net investment income tax. As of November 26, 2026.
- Washington State Department of Revenue, Capital gains tax: standard deduction amounts. As of November 26, 2026.
- Washington State Department of Revenue, New tiered rates for Washington’s capital gains tax. As of July 1, 2025.
- Massachusetts Department of Revenue, Massachusetts tax rates. As of November 26, 2026.
- Montana Department of Revenue, HB 337: income tax changes. As of November 26, 2026.
- Hawaii Revised Statutes, HRS 235-51(f), alternative tax on capital gains. As of November 26, 2026.
- Arizona Legislature, A.R.S. 43-1022, subtractions from Arizona gross income (para. 22). As of November 26, 2026.
- Arkansas Department of Finance and Administration, AR1000D capital gains and losses (50% exclusion; A.C.A. 26-51-815). As of December 31, 2023.
- North Dakota Office of State Tax Commissioner, 2025 individual income tax booklet (40% long-term gain exclusion). As of December 31, 2025.
- South Carolina Department of Revenue, 2025 SC1040 individual income tax packet (44% net capital gain deduction). As of December 31, 2025.
- Wisconsin Department of Revenue, 2025 Schedule WD, capital gains and losses (30% exclusion). As of December 31, 2025.
- Vermont Department of Taxes, IN-153 instructions, capital gain exclusion. As of December 31, 2024.
- New Mexico Legislature, HB 252 (2024), capital gains deduction. As of March 5, 2024.
- Minnesota Revisor of Statutes, Minn. Stat. 290.033, net investment income tax. As of November 26, 2026.
- California Franchise Tax Board, Capital gains and losses. As of November 26, 2026.
Written by Abiot Y. Derbie, PhD. Federal rates and bands follow IRS Rev. Proc. 2025-32 and the 2026 tax tables; each state’s brackets and capital gains rule are loaded from data with their sources and tested. Our editorial policy explains how we source numbers and correct mistakes. This is an estimate, not tax advice. It uses the standard deduction, treats the gain as your only investment income for the net investment income tax, and leaves out local taxes, the alternative minimum tax and special assets such as real estate recapture and collectibles. Some states have narrow exclusions for in-state businesses or farms that are not modeled.