PaydayDesk

Capital Gains Tax Calculator

Enter what you sold it for and what you paid. Your 2026 federal tax appears as you type.

The sale
Up to $250,000 is tax-free ($500,000 jointly). Add improvements and selling costs to the cost basis.
Before deductions. Leave out this sale.
Federal tax on the gain$6,667.50
Effective rate on the gain13.3%
Capital gain$50,000
Tax-free (home sale exclusion)
0% band$5,550
15% band$44,450 at 15%: $6,667.50
20% band
Taxed as income, at
Net investment income tax (3.8%)
Gain after federal tax$43,332.50
Loss used against 2026 income
Tax it saves
Loss carried to 2027

Capital gains tax rates for 2026

A gain on something you held more than one year is long-term, taxed at 0%, 15% or 20%. Held one year or less, it is short-term, taxed like wages at your bracket rate, from 10% to 37%.

The long-term rate depends on your taxable income, gain included:

2026 long-term capital gains rates, by taxable income
RateSingleMarried filing jointlyMarried filing separatelyHead of household
0%Up to $49,450Up to $98,900Up to $49,450Up to $66,200
15%$49,451 to $545,500$98,901 to $613,700$49,451 to $306,850$66,201 to $579,600
20%Over $545,500Over $613,700Over $306,850Over $579,600

What counts as a gain

The gain is what you sold for minus your cost basis: what you paid, with fees. Collectibles such as art or coins can be taxed up to 28%, and the part of a building's gain that comes from depreciation up to 25%; the calculator uses the usual rates.

These are the federal rates for your 2026 return, filed in 2027. Most states tax the gain as ordinary income, a few tax long-term gains less, and Washington taxes only long-term gains above $290,000, at 7% (9.9% past $1 million). See the state income tax calculator.

Capital gains tax from $10,000 to $1 million

A single filer with $60,000 of wages pays $14,167.50 on a $100,000 long-term gain and $50,247.50 on $300,000, of which $6,080.00 is the 3.8% tax. Sold within a year, the same $100,000 costs $22,114.00.

2026 federal tax, single filer with $60,000 of wages, 3.8% tax included
GainHeld over 1 year1 year or less
$10,000$667.50$1,550.00
$25,000$2,917.50$4,850.00
$50,000$6,667.50$10,350.00
$100,000$14,167.50$22,114.00
$250,000$40,847.50$70,794.25
$300,000$50,247.50$90,194.25
$500,000$87,847.50$167,794.25
$1,000,000$206,767.50$369,860.25

How the gain is taxed

Your gain sits on top of your other income. The standard deduction comes off the other income first, then the gain fills the 0% band, then the 15% band.

Example: a single filer with $60,000 of wages sells stock for $80,000 that cost $30,000, after two years. Taxable wages are $43,900, so the first $5,550 of the $50,000 gain is taxed at 0% and the other $44,450 at 15%: $6,667.50 of tax, 13.3% of the gain.

Sold within a year, the same gain is taxed at 12% and 22%: $10,350. Holding past one year saves $3,682.50.

A married couple filing jointly with $100,000 of income and a $40,000 long-term gain pays 0% on $31,100 and 15% on $8,900: $1,335. Your bracket on other income is in the tax bracket calculator.

The 3.8% tax, losses and your home

The net investment income tax adds 3.8% on gains once your income passes $200,000 ($250,000 married filing jointly, $125,000 married filing separately). It applies to the smaller of the gain and the income above that line.

Example: a single filer with $150,000 of wages and a $500,000 long-term gain pays 15% on $411,600, 20% on $88,400 and 3.8% on $450,000: $96,520 in all.

A loss lowers your other income by up to $3,000 a year ($1,500 married filing separately). The rest carries forward to later years. A single filer earning $60,000 with a $10,000 loss deducts $3,000, saves $360, and carries $7,000 forward. With only $5,000 of income, the standard deduction already wipes out the tax, so the whole $10,000 carries forward.

Selling your main home? Up to $250,000 of gain ($500,000 jointly) is tax-free if you owned it and lived there 2 of the last 5 years: tick My main home. Add what you spent on improvements (a new roof, an addition) and the selling costs to what you paid. A loss on your home can't be deducted.

Example: a single filer with $60,000 of wages sells for $500,000 a home bought for $200,000. Of the $300,000 gain, $250,000 is tax-free and $50,000 is taxed: $6,667.50. Married filing jointly, the whole gain is tax-free.

FAQ

What is the capital gains tax rate for 2026?

0%, 15% or 20% on assets held more than one year. A single filer pays 0% up to $49,450 of taxable income and 15% up to $545,500. Short-term gains are taxed at 10% to 37%.

How much capital gains tax will I pay on $100,000?

With $60,000 of wages as a single filer, $14,167.50 on a long-term gain: 0% on $5,550 and 15% on $94,450. Short-term, $22,114.00. A married couple filing jointly with $100,000 of income pays $10,335.00.

How much capital gains tax will I pay on $300,000?

Single with $60,000 of wages, $50,247.50 on a long-term gain: 15% on $294,450 plus $6,080.00 of the 3.8% tax. If it is your main home, $250,000 is tax-free and you pay $6,667.50; married filing jointly, nothing.

How do I calculate my capital gains tax?

Subtract what you paid, with fees and improvements, from what you sold for. Put the gain on top of your taxable income: the part under $49,450 (single) is taxed at 0%, the part up to $545,500 at 15%, the rest at 20%. Held one year or less, it is taxed at your bracket rate.

How long do I have to hold to pay the lower rate?

More than one year, counted from the day after you bought. One year or less is short-term, taxed like your wages.

How much of a capital loss can I deduct?

Up to $3,000 a year against other income, $1,500 if married filing separately. Any loss left carries forward to the next years.

Related tools

Add this calculator to your site

Free for any website. Paste this code into an HTML block where the calculator should appear.

Preview