Make every day count · Free money tools for every American household
--:-- …--°

Capital gains tax calculator

Estimate federal and state tax on profits from selling stocks, funds, crypto or property for 2026.

Capital gains tax

Federal capital gains tax

–
Capital gain
Tax rate applied
Net investment income tax (3.8%)
State tax on the gain (estimate)
Profit after taxes

"Other taxable income" is your income after deductions. Selling your main home may be tax-free up to $250,000 of gain ($500,000 for married couples) if you qualify. Losses can offset gains.

How capital gains are taxed

A capital gain is the profit when you sell an investment or property for more than you paid (your cost basis). How it is taxed depends on how long you owned it:

2026 long-term capital gains rates

Higher earners may also owe the 3.8% net investment income tax on gains when modified AGI is above $200,000 (single) or $250,000 (joint). Most states tax capital gains as regular income, and a few have no income tax at all. The calculator stacks your gain on top of your other taxable income to find the right rates.

Frequently asked questions

Do I pay capital gains tax when I sell my house?

If you owned and lived in the home as your main residence for at least 2 of the last 5 years, you can usually exclude up to $250,000 of gain ($500,000 for married couples) from tax.

Can capital losses reduce my taxes?

Yes. Losses first offset gains. If losses are larger, you can deduct up to $3,000 a year from other income and carry the rest forward to future years.

Is crypto taxed like stocks?

Yes. The IRS treats cryptocurrency as property, so selling, trading or spending it can create a short-term or long-term capital gain or loss.

Markets & investing

Home & mortgage

Taxes & pay

Retirement & savings

Loans & debt

Money & business

Weather

Guides