secure moneyMATH

Capital Gains Tax Calculator by State

Calculate your combined federal and state capital gains tax for 2025. Select your state to see your total tax on investment gains.

0–20%

Federal LTCG Rate

3.8%

NIIT Surtax

9

No-Tax States

23.8–37.1%

Combined Range

Taxed as Income
No State Tax
Preferential Rate
Excise Tax

All 50 States

How Capital Gains Tax Works

Capital gains tax applies to the profit from selling a capital asset — stocks, bonds, real estate, cryptocurrency, or collectibles — for more than you paid. The tax rate depends on how long you held the asset and your income level.

Long-Term vs Short-Term

Long-term gains (assets held more than 1 year) are taxed at preferential federal rates of 0%, 15%, or 20%. Short-term gains (1 year or less) are taxed as ordinary income at rates up to 37%.

2025 Federal Long-Term Capital Gains Brackets

The federal rate on your long-term gain depends on your total taxable income (your regular income plus the gain). The tax is only charged on the gain itself, but your total income determines which rate applies.

RateSingleMarried Filing JointlyHead of Household
0%Up to $48,350Up to $96,700Up to $64,750
15%$48,351 – $533,400$96,701 – $600,050$64,751 – $566,700
20%Over $533,400Over $600,050Over $566,700

Source: IRS Revenue Procedure 2024-40. These thresholds are based on total taxable income (regular income + capital gains combined).

Net Investment Income Tax (NIIT)

High earners may owe an additional 3.8% federal surtax on investment income. It applies when your MAGI (Modified Adjusted Gross Income — for most people, this equals your adjusted gross income) exceeds $200,000 (single) or $250,000 (married filing jointly). These thresholds are set by law and are not adjusted for inflation.

State Capital Gains Tax

Most states tax capital gains as ordinary income using their state income tax brackets. Nine states have no state capital gains tax. A few states offer preferential rates or deductions for certain types of gains.

This calculator provides estimates for educational purposes only. It is not financial, tax, or legal advice. Your actual results may vary.