Capital Gains Tax Calculator 2026 — Short & Long-Term Rates
2026Calculate short-term and long-term capital gains tax on stocks, real estate, and investments. Includes NIIT. Free, instant results based on 2026 IRS brackets.
By Konstantin Iakovlev · Updated September 2026 · Source: IRS Rev. Proc. 2025-32 — 2026 inflation-adjusted tax items
Capital Gain
$100,000.00
Long-Term Rate
15%
Net Proceeds
$135,000.00
Federal Tax on Gains
$15,000.00
NIIT (3.8%)
$0.00
Total Tax on Gains
$15,000.00
Capital Gains Tax Breakdown
| Sale Price | $150,000.00 |
| Cost Basis (Purchase Price) | - $50,000.00 |
| Capital Gain | $100,000.00 |
| Type: Long-Term | Preferential rates |
| Ordinary Income | $75,000.00 |
| AGI (Income + Gains) | $175,000.00 |
| Federal Tax on Gains (15% marginal) | $15,000.00 |
| Total Tax | $15,000.00 |
| Effective Tax Rate on Gains | 15.00% |
| Net Proceeds After Tax | $135,000.00 |
Selling your home or something you inherited? Different rules cut the gain: home sale tax calculator · step-up in basis calculator
Use the Capital Gains Tax Calculator 2026 — Short & Long-Term Rates above to calculate your results. Enter your values and see instant results — all calculations run in your browser.
Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.
How It Works
Federal tax on an investment gain depends heavily on how long you owned the asset before selling it in 2026. Long-term gains keep their preferential treatment at 0%, 15%, and 20%, with the rate set by where your income falls. Short-term gains get no such break; they fold into your ordinary income and can be taxed at rates reaching 37%.
Sorting the gain comes first. Anything held a year or less counts as short-term, anything held longer as long-term, and the appropriate rate is then applied against your total taxable income and filing status. High earners also face the 3.8% Net Investment Income Tax, charged on the gain or on the part of income above $200,000 ($250,000 for joint filers, $125,000 married filing separately), whichever is smaller. The 0%, 15% and 20% thresholds are the inflation-adjusted figures for 2026; the NIIT thresholds are fixed in the law and are not indexed for inflation.
One detail trips up a lot of sellers: the holding period is measured to the day. Unloading an asset even 24 hours before the one-year mark flips it from long-term to ordinary rates and can swing the bill sharply. The optional state field adds only a rough figure: it applies one rate per state to the whole gain, so check your state's own brackets and rules before relying on it.
Calculating Tax on $50,000 Stock Gain for Married Filing Jointly
- 1 A married couple filing jointly realizes a $50,000 long-term capital gain from selling stock, with a combined taxable income of $120,000 in 2026.
- 2 Their total income including the gain ($170,000) falls within the 15% long-term capital gains bracket for married filing jointly (between $98,900 and $613,700 for 2026).
- 3 The long-term capital gains tax equals $50,000 × 15% = $7,500, with no additional Net Investment Income Tax since their income is below the $250,000 threshold.
- 4 Their federal tax on the gain is $7,500, an effective rate of 15%, so they keep $42,500 of the $50,000 profit. The calculator's Net Proceeds line shows the full sale price minus that $7,500.
Source: IRS Rev. Proc. 2025-32 — 2026 inflation-adjusted tax items · Last updated: September 2026
Frequently Asked Questions
What are the 2026 long-term capital gains tax rates?
How long do I need to hold an asset for long-term capital gains treatment?
Are capital gains taxed differently than regular income?
You might also need
Federal Income Tax Calculator 2026 — Free IRS Tax Estimator
Calculate your 2026 federal income tax, bracket, effective rate, FICA, and take-home pay. Free, instant results based on official IRS rates and brackets.
Child Tax Credit Calculator 2026
Calculate your Child Tax Credit and Other Dependent Credit. See phase-out thresholds and net credit amount for your income.
Earned Income Tax Credit (EITC) Calculator 2026
Check if you qualify for the EITC and calculate your credit amount based on income, filing status, and number of children.