simpletaxcalculator

Capital Gains Tax Calculator

Estimate your federal and state capital gains tax for 2026. Enter your purchase price, sale price, holding period, and income to calculate your tax liability. Covers long-term and short-term rates, NIIT, and all 50 state rates.

$
$

After standard/itemized deductions. Used to determine your bracket. 2026 standard deduction: $16,100 (single) · $32,200 (married jointly) · $24,150 (head of household)

$
Rates updated for May 2026

This calculator is for informational purposes only and does not constitute tax advice. Consult a qualified tax professional for your specific situation. Rates last verified May 2026.

Verify rates on IRS Topic No. 409 — Capital Gains and Losses

2026 federal long-term capital gains tax brackets

Source: IRS Revenue Procedure 2025-32. Thresholds are based on taxable income after deductions, not gross income.

RateSingleMarried JointlyHead of Household
0%Up to $49,450Up to $98,900Up to $66,200
15%$49,451$545,500$98,901$613,700$66,201$545,500
20%Over $545,500Over $613,700Over $545,500

High-income earners may also owe the 3.8% Net Investment Income Tax (NIIT) when MAGI exceeds $200,000 (single) or $250,000 (married jointly). Short-term gains on assets held 12 months or less are taxed at ordinary income rates of 10%–37%.

States with no capital gains tax

These states have no state capital gains tax.

Capital gains tax rates by state — 2026

Sorted highest to lowest. Most states tax capital gains as ordinary income. Select a state for a detailed breakdown and calculator.

StateTop rateTreatment
California13.3%(14.4% w/ surcharge)Taxed as ordinary incomeCalculate →
New York10.9%Taxed as ordinary incomeCalculate →
New Jersey10.75%Taxed as ordinary incomeCalculate →
Washington D.C.10.75%Taxed as ordinary incomeCalculate →
Oregon9.9%Taxed as ordinary incomeCalculate →
Minnesota9.85%Taxed as ordinary incomeCalculate →
Vermont8.75%Taxed as ordinary incomeCalculate →
Wisconsin7.65%Preferential rateCalculate →
Hawaii7.25%Preferential rateCalculate →
Maine7.15%Taxed as ordinary incomeCalculate →
Washington7%Special rulesCalculate →
Connecticut6.99%Taxed as ordinary incomeCalculate →
Delaware6.6%Taxed as ordinary incomeCalculate →
West Virginia6.5%Taxed as ordinary incomeCalculate →
South Carolina6.4%Taxed as ordinary incomeCalculate →
Rhode Island5.99%Taxed as ordinary incomeCalculate →
New Mexico5.9%Taxed as ordinary incomeCalculate →
Nebraska5.84%Taxed as ordinary incomeCalculate →
Idaho5.8%Flat rateCalculate →
Iowa5.75%Flat rateCalculate →
Maryland5.75%Taxed as ordinary incomeCalculate →
Virginia5.75%Taxed as ordinary incomeCalculate →
Kansas5.7%Taxed as ordinary incomeCalculate →
Georgia5.49%Flat rateCalculate →
Alabama5%Taxed as ordinary incomeCalculate →
Massachusetts5%Flat rateCalculate →
Illinois4.95%Flat rateCalculate →
Missouri4.8%Taxed as ordinary incomeCalculate →
Oklahoma4.75%Taxed as ordinary incomeCalculate →
Mississippi4.7%Taxed as ordinary incomeCalculate →
Utah4.55%Flat rateCalculate →
Montana4.5%Preferential rateCalculate →
North Carolina4.5%Flat rateCalculate →
Colorado4.4%Flat rateCalculate →
Michigan4.25%Flat rateCalculate →
Kentucky4%Flat rateCalculate →
Arkansas3.9%Taxed as ordinary incomeCalculate →
Ohio3.5%Taxed as ordinary incomeCalculate →
Pennsylvania3.07%Flat rateCalculate →
Indiana3.05%Flat rateCalculate →
Louisiana3%Taxed as ordinary incomeCalculate →
Arizona2.5%Flat rateCalculate →
North Dakota2.5%Taxed as ordinary incomeCalculate →

Frequently asked questions

What are the 2026 long-term capital gains tax rates?
For 2026, the federal long-term capital gains tax rates are 0%, 15%, and 20%, depending on your taxable income and filing status. Single filers pay 0% on income up to $49,450, 15% from $49,451 to $545,500, and 20% above $545,500. Married filing jointly pays 0% up to $98,900 and 20% above $613,700. These rates apply to assets held more than 12 months.
What is the difference between short-term and long-term capital gains?
Short-term capital gains apply to assets held 12 months or less and are taxed at ordinary income tax rates (10%–37%). Long-term capital gains apply to assets held more than 12 months and receive preferential federal rates of 0%, 15%, or 20%. The one-year holding threshold is one of the most important distinctions in US tax law.
What is the Net Investment Income Tax (NIIT)?
The NIIT is a 3.8% federal surtax on net investment income — including capital gains, dividends, and interest — for taxpayers whose Modified Adjusted Gross Income (MAGI) exceeds $200,000 for single filers or $250,000 for married filing jointly. These thresholds have not been adjusted for inflation since 2013, meaning more taxpayers are subject to the NIIT each year.
Which states have no capital gains tax?
Nine states have no state-level capital gains tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington (for gains under $262,000), and Wyoming. Note that New Hampshire repealed its Interest and Dividends Tax effective January 1, 2025, making it fully tax-free on capital gains.
Which state has the highest capital gains tax?
California has the highest state capital gains tax rate at 13.3% (14.4% with the 1% mental health surcharge on income over $1 million). California treats all capital gains as ordinary income with no preferential treatment for long-term gains. For high earners, combined federal and California tax on long-term gains can exceed 37%.
Do I pay capital gains tax when I sell my home?
Usually not fully. The IRS allows a home sale exclusion of up to $250,000 in gains for single filers and up to $500,000 for married couples filing jointly, provided you owned and lived in the home as your primary residence for at least 2 of the last 5 years. Gains above these thresholds are taxable as long-term capital gains if you held the home over a year.
What is the maximum combined federal and state capital gains tax rate?
For California residents, the combined maximum rate is approximately 37.1% on long-term gains for the highest earners — the 20% federal rate plus 3.8% NIIT plus 13.3% California state rate. With California's 1% mental health surcharge for income over $1M, the effective combined top rate reaches approximately 38.1%. New York City residents face combined rates of approximately 38.5% when factoring in the 3.876% NYC city income tax.
Are capital gains taxed differently for real estate vs stocks?
The basic long-term 0%/15%/20% federal rates apply to both. However, real estate has a special rule: the unrecaptured Section 1250 gain (depreciation recapture) is taxed at a maximum 25% federal rate, higher than the standard 20% maximum. Primary home sales also qualify for the $250,000/$500,000 exclusion. Qualified Opportunity Zone investments offer deferral and potential exclusion benefits.