Retirement & Investing calculator
Capital Gains Tax Calculator
Enter what you paid, what you sold for and your other income to see the federal, NIIT and state tax on the gain, and the proceeds left after tax.
Tax years 2026 and 2027 · IRS Rev. Proc. 2025-32 and 2026-35 · Reviewed November 2026
Estimated tax on the sale
$12,000*
Long-term gain, taxed at up to 15% federal. You keep $88,000 of the proceeds.
*Estimate based on the figures you entered and tax years 2026 and 2027, IRS Rev. Proc. 2025-32 and 2026-35.
Want exact numbers for your situation?
A uTaxes CPA or enrolled agent can review it with you. The first consultation is free.
*This estimates tax treatment only and is not investment advice. It uses simplified assumptions about your other income, holding period and state tax, and does not model loss carryovers, the alternative minimum tax or wash sales. Review a sale, conversion or withdrawal with a tax professional before you act; these transactions usually cannot be undone. The results are for informational and directional guidance only. Actual results may vary. uTaxes does not in any way warrant the results from using this calculator.
How this calculator works
Your gain is the sale price minus selling costs and your cost basis. A long-term gain, on an asset held more than a year, is stacked on top of your other taxable income and each slice is taxed at 0%, 15% or 20% depending on where it lands. For 2026 the 0% rate reaches $49,450 of taxable income for single filers and $98,900 for joint filers, and the 20% rate starts above $545,500 and $613,700. A short-term gain is simply added to your income and taxed at ordinary rates.
For a primary home the calculator subtracts the exclusion of up to $250,000, or $500,000 on a joint return, and assumes you meet the test of owning and living in the home for 2 of the 5 years before the sale. The 3.8% net investment income tax applies once income passes $200,000 single or $250,000 joint. It is estimated here from your other taxable income plus the gain, which slightly understates your modified adjusted gross income.
Not modeled: the 28% maximum rate on collectibles, the 25% rate on depreciation recapture for real estate you rented out, losses carried over from earlier years, the wash sale rule, a partial home exclusion, the alternative minimum tax, and state rules that tax gains differently from other income.
Related tools
Common questions
Short answers to what people ask most about this topic.
How much is capital gains tax in 2026?
Long-term gains are taxed at 0%, 15% or 20%. In 2026 a single filer pays 0% on gains that fall within the first $49,450 of taxable income and 20% on gains above $545,500; for joint filers the figures are $98,900 and $613,700. Everything in between is taxed at 15%.
Short-term gains, on assets held one year or less, are taxed at your ordinary income rates. Higher earners may also owe the 3.8% net investment income tax, and most states tax gains as regular income.
Do I pay capital gains tax when I sell my house?
Often not. If you owned the home and used it as your main home for at least 2 of the 5 years before the sale, you can exclude up to $250,000 of gain, or $500,000 if you file jointly. Only the gain above that amount is taxed.
Keep records of what you paid and of improvements such as an addition or a new roof, since they raise your basis and reduce the gain. Any depreciation you claimed for a home office or rental use is taxed even when the exclusion applies.
What happens if I sell an investment at a loss?
A capital loss first offsets capital gains from the same year. If losses exceed gains, up to $3,000 of the excess can be deducted against other income, and the rest carries forward to future years without expiring.
The wash sale rule disallows a loss on stock or securities if you buy the same or a substantially identical investment within 30 days before or after the sale. A loss on a personal home or car is not deductible at all.
Talk to uTaxes
Want a professional to run your numbers?
Our CPAs and enrolled agents handle tax filing, bookkeeping and payroll for individuals and small businesses. The first consultation is free.
Related services
Keep exploring
All resourcesTools
Tax Prep Checklist
A printable checklist of every document to gather before you file.
Reference
Tax Brackets & Rates
Federal brackets, standard deductions and capital gains rates for 2026 and 2027.
Reference
Tax Deadlines
Every federal filing and payment date for the 2027 calendar, by who it applies to.
This page is general information, not tax, legal or financial advice. Tax rules change and depend on your situation; talk to a qualified professional before acting on it.