Free Tools
1099tax.appcapital-gains-tax-calculator
2026 Capital Gains Tax Calculator
Estimate the tax on selling an asset — long-term vs short-term rates, depreciation recapture, NIIT, and your state line.
Estimate only — not tax advice. Rates, brackets, and state rules vary; consult a qualified professional.
How it works
Three steps, sixty seconds
01
Enter your sale
Purchase price, improvements, depreciation, sale price, selling costs, and how long you held the asset.
02
We apply 2026 rules
Adjusted basis, realized gain, long-term or short-term rates, unrecaptured §1250 recapture, NIIT, and state tax.
03
See your tax
Total estimated tax, effective rate, and your net proceeds after tax.
FAQ
Capital gains tax questions, answered
Capital gains guide
Capital Gains Tax in 2026: A Friendly Walkthrough
Reviewed for the 2026 tax year by the 1099tax.app team. These tools give estimates, not tax or legal advice.
What this tool calculates and who it’s for
When you sell something for more than you paid, whether stock, a rental house, land, a business interest or crypto, the profit is a capital gain, and it’s taxed. How much depends on how long you owned it, what else you earned that year, and whether you claimed depreciation.
This calculator estimates the total tax on a sale (federal capital gains tax, depreciation recapture, the 3.8% Net Investment Income Tax, and a rough state amount) and shows what you’ll keep after tax.
It’s for:
- Retirees selling investments or downsizing out of a rental property.
- Investors deciding whether to sell now or wait until a holding passes the one-year mark.
- Landlords who need to understand depreciation recapture before listing a property.
- Families settling an estate who want a ballpark figure before talking with a professional.
How it works and the 2026 rules
Step 1: Figure your adjusted basis and gain
Adjusted basis = what you paid + capital improvements − depreciation taken or allowable.
Gain = sale price − selling costs − adjusted basis.
Repairs don’t add to basis. Improvements do, like a new roof, an addition or a remodeled kitchen. Keep the receipts.
Step 2: Short-term or long-term?
- Held one year or less: short-term. Taxed at ordinary rates, 10% to 37%.
- Held more than one year: long-term. Taxed at 0%, 15% or 20%.
The 2026 long-term rates (IRS Rev. Proc. 2025-32)
These are based on your total taxable income, with the gain included:
| Filing status | 0% up to | 15% up to | 20% above |
|---|---|---|---|
| Single | $49,450 | $545,500 | $545,500 |
| Married filing jointly | $98,900 | $613,700 | $613,700 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
| Head of household | $66,200 | $579,600 | $579,600 |
Your ordinary income fills the brackets first. The gain sits on top.
Special rates
- Unrecaptured Section 1250 gain: the part of a real estate gain that comes from depreciation. It’s taxed at up to 25%.
- Collectibles, such as art and coins, and the taxable part of a gain on qualified small business stock (Section 1202): up to 28% (IRS Topic No. 409).
Net Investment Income Tax (NIIT)
An extra 3.8% applies to the smaller of your net investment income or the amount your modified AGI exceeds $200,000 (single), $250,000 (married filing jointly) or $125,000 (married filing separately). Head of household uses $200,000. These thresholds are set in law and aren’t adjusted for inflation (IRS, Net Investment Income Tax).
Helpful exclusions
If you sell your main home and owned and lived in it for at least 24 months of the last 5 years, and didn’t use the exclusion on another home in the past 2 years, you can generally exclude up to $250,000 of gain ($500,000 for married couples filing jointly), per IRS Publication 523. Net capital losses can offset gains, plus up to $3,000 a year of other income ($1,500 married filing separately). Any unused loss carries forward (IRS Topic No. 409).
A worked example
A single retiree has $60,000 of other taxable income (after the standard deduction) and sells stock held for three years:
- Purchase price: $20,000
- Sale price: $70,000
- Brokerage fees: $500
- Gain: $70,000 − $500 − $20,000 = $49,500, long-term
Taxable income with the gain is $109,500. Ordinary income already uses up the 0% zone (which ends at $49,450), so the whole gain falls in the 15% bracket.
- Federal capital gains tax: $49,500 × 15% = $7,425
- NIIT: modified AGI is about $125,600, under $200,000, so $0
Now change one fact: the retiree’s other taxable income is only $30,000. Then $19,450 of the gain is taxed at 0% (up to $49,450), and the remaining $30,050 at 15%, which is $4,508. Timing a sale for a lower-income year can save real money.
A rental example: You sell a rental for $400,000 with $20,000 of selling costs. You bought it for $250,000 and took $60,000 of depreciation. Adjusted basis is $190,000, so the gain is $190,000. Of that, $60,000 is unrecaptured §1250 gain taxed at up to 25%. The other $130,000 is taxed at 0/15/20%. NIIT may also apply.
How to read your result
- Adjusted basis and realized gain: check these first. A wrong basis throws off everything else.
- Rate lines: you’ll see how much of the gain fell in each bracket, plus any recapture.
- NIIT: shows up only if your income is over the threshold.
- Effective rate: total tax ÷ gain. This is often lower than your top bracket.
- Net proceeds after tax: what you actually keep.
Common mistakes
- 1.Selling at 11 months instead of 12+. One day can turn a 15% rate into 24% or more.
- 2.Forgetting improvements. They raise your basis and lower your gain.
- 3.Thinking unclaimed depreciation doesn’t count. The IRS recaptures depreciation “allowed or allowable,” even if you never claimed it.
- 4.Overlooking inherited basis. Inherited property usually gets a basis equal to its value on the date of death, often wiping out decades of gain.
- 5.Ignoring NIIT on a big one-time sale. A single large gain can push you over the threshold.
- 6.Missing loss harvesting. Selling losing positions in the same year can offset gains.
Frequently asked questions
Does the gain push my other income into a higher bracket?
How does selling my house work?
Is crypto taxed the same way?
Can I avoid tax on a rental sale?
Does my state tax capital gains?
Which forms do I file?
Sources
- IRS, Topic No. 409, Capital Gains and Losses: https://www.irs.gov/taxtopics/tc409
- IRS, Rev. Proc. 2025-32 (2026 thresholds): https://www.irs.gov/pub/irs-drop/rp-25-32.pdf
- IRS, Net Investment Income Tax: https://www.irs.gov/individuals/net-investment-income-tax
- IRS, Publication 523, Selling Your Home: https://www.irs.gov/publications/p523
- IRS, Publication 544, Sales and Other Dispositions of Assets: https://www.irs.gov/publications/p544
- IRS, Instructions for Schedule D: https://www.irs.gov/instructions/i1040sd
Want this handled, not estimated?
A big sale is often a once-in-a-decade event, and the tax depends on records you may not have looked at in years: original purchase price, improvement receipts, depreciation schedules, inherited basis. A qualified tax professional can rebuild and track your basis, time the sale and harvest losses where it helps, and file your Form 8949, Schedule D and 4797 correctly, so you keep as much of the sale as the law allows.
These tools give estimates, not tax or legal advice.
Related tools
Estimate only — not tax advice. Rates, brackets, and state rules vary; consult a qualified professional.