Capital gains tax calculator 2026

Short-term vs long-term Β· Federal + state Β· All filing statuses Β· 2026 IRS rates

Income tax Paycheck Cap gains 401k
Advertisement
728Γ—50
Capital gain amount
$
Holding period
Annual income (other income)
$
Filing status
State
Long-term capital gains tax
$7,500
βœ“ 2026 IRS rates
$42,500 net
Effective rate: 15%
You keep 85%
Federal CGT 15%
State tax 0%
Advertisement
300Γ—90
Tax breakdown
πŸ“ˆ
Capital gain
100% $50,000
πŸ›οΈ
Federal CGT (15%)
15% $7,500
πŸ“
California state tax
0% β€”
πŸ’°
Net gain after tax
85% $42,500
Long-term vs short-term comparison
Long-term rate (held >1 year) 15%
Short-term rate (held ≀1 year) 22%
Tax saved by holding longer $3,500
πŸ’° Income tax
Results are estimates for educational purposes only. Capital gains tax may vary based on your complete tax situation, including carryover losses. Consult a qualified tax professional.

How US capital gains tax works in 2026

Capital gains tax is what you pay when you sell an investment β€” stocks, bonds, real estate, crypto, or any other capital asset β€” for more than you paid for it. The profit is called a capital gain, and the tax rate depends on how long you held the asset.

The most important distinction in US capital gains tax is the holding period: assets held for more than one year qualify for the preferential long-term rates. Assets held for one year or less are taxed as ordinary income at your regular federal tax bracket β€” which can be as high as 37%.

2026 long-term capital gains tax rates

RateSingle filer incomeMarried filing jointly
0%Up to $47,025Up to $94,050
15%$47,026 – $518,900$94,051 – $583,750
20%Over $518,900Over $583,750

Note: These thresholds apply to your total taxable income including the capital gain, not just the gain itself.

The 0% rate β€” more people qualify than you think

If your total taxable income (including the gain) falls within the 0% bracket, you pay zero federal capital gains tax on long-term gains. For a single filer with $30,000 in other income, you could realize up to $17,000 in long-term capital gains completely tax-free. This is one of the most underused tax planning opportunities available.

Net Investment Income Tax (NIIT)

Higher-income investors also face the Net Investment Income Tax β€” an additional 3.8% surtax on net investment income. It applies when your Modified Adjusted Gross Income (MAGI) exceeds $200,000 for single filers or $250,000 for married filing jointly. This effectively raises the top long-term rate to 23.8% (20% + 3.8%).

State capital gains tax

Most states tax capital gains as ordinary income. California has the highest rate β€” up to 13.3% β€” and notably does not offer preferential rates for long-term gains. Nine states have no income tax and therefore no capital gains tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming.

Frequently asked questions

Yes. Capital losses offset capital gains dollar-for-dollar. If you have $50,000 in gains and $20,000 in losses, you only pay tax on $30,000. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income per year. Remaining losses carry forward to future tax years indefinitely.
Yes. The IRS treats cryptocurrency as property, not currency. Every time you sell, trade, or use crypto to buy something, it's a taxable event. The same short-term vs long-term rules apply β€” crypto held more than one year qualifies for the lower long-term rates.
You can exclude up to $250,000 in home sale gains ($500,000 if married filing jointly) if you owned and used the home as your primary residence for at least 2 of the last 5 years. Any gains above the exclusion are taxed at long-term capital gains rates if you held the home more than a year.
Advertisement
728Γ—90