Calculate your 2026 capital gains tax: 0%, 15%, or 20% long-term rates. Free tool shows exact owed by income bracket and holding period.
If you sold stocks, crypto, a rental property, or a business this year, your capital gains tax bill depends on three things: how long you held the asset, your total taxable income, and whether the gain is short-term or long-term. For 2026, long-term capital gains are taxed at 0%, 15%, or 20% — while short-term gains are taxed as ordinary income at rates up to 37%. That single distinction can cost or save you tens of thousands of dollars.
By Ziv Shay — Last updated April 20, 2026
Quick answer: Hold an appreciated asset for more than 365 days before selling, and you'll likely pay between 0% and 20% federal tax on the profit. Sell in under a year, and your gain is taxed at your marginal income rate (up to 37%) plus potentially 3.8% in Net Investment Income Tax (NIIT).
To calculate what you'll owe, you need four numbers:
Formula: Capital Gain = Sale Price − Cost Basis − Selling Expenses. Then apply the appropriate rate based on holding period and income.
Long-term rates (assets held >1 year) are based on taxable income, not a separate "gains income" number. The IRS stacks your long-term gains on top of your ordinary income to determine which bracket they fall into.
Short-term gains (held ≤1 year) are taxed at your ordinary federal rate. Here are the 2026 brackets:
Let's say you sold Nvidia stock for a $50,000 profit. Here's what you'd owe federal tax in four scenarios (single filer, no other deductions beyond the $15,000 standard deduction):
Taxable income before gain: $25,000. Adding the $50,000 gain brings you to $75,000 — crossing into the 15% long-term bracket at $48,350. First $23,350 of gain is taxed at 0%, remaining $26,650 at 15%. Tax owed: $3,998.
Taxable income: $105,000 + $50,000 = $155,000. All $50,000 of gain sits in the 15% long-term bracket. Tax owed: $7,500.
The $50,000 is taxed as ordinary income, stacking on top of $105,000. It spans the 24% bracket entirely. Tax owed: $12,000. Plus 3.8% NIIT on $50,000 = $1,900 extra. Total: $13,900.
Holding that same position four extra months would save this investor $6,400 in federal tax.
If your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), you owe an additional 3.8% on the lesser of your net investment income or the amount over the threshold. This applies to both short- and long-term gains, interest, dividends, and rental income.
Practical impact: a high earner in the 20% long-term bracket pays an effective 23.8% federal rate on gains. Short-term gains for the same person can hit 40.8% federal before state tax.
Nine states have no income tax and therefore no state capital gains tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington (has a 7% tax on gains over $262,000), and Wyoming.
High-tax states stack meaningfully on top of federal:
A California resident in the top bracket selling a short-term stock position can face a combined federal + state + NIIT rate north of 54%.
If you held qualified small business stock for 5+ years, you may exclude up to $10 million (or 10× your basis) in gains from federal tax entirely. This is the single biggest tax break in the US code for founders and early employees.
Sell your primary home after living in it 2 of the last 5 years and exclude $250,000 (single) or $500,000 (married) of gain. For most homeowners, this eliminates capital gains tax on their house entirely.
Real estate investors can defer capital gains by rolling proceeds into a "like-kind" investment property within 180 days. Still available in 2026, but only for real estate — not stocks, crypto, or collectibles.
Invest gains into a Qualified Opportunity Fund within 180 days to defer federal tax until 2026 and potentially eliminate tax on future appreciation if held 10+ years.
Long-term gains on collectibles (art, coins, gold, wine) are taxed at a flat 28% — higher than the normal 20% max. Crypto is treated as property: same short-term / long-term distinction as stocks, no special rates.
Capital losses offset capital gains dollar-for-dollar. If your total losses exceed gains, you can deduct up to $3,000 against ordinary income ($1,500 if married filing separately), carrying unused losses forward indefinitely.
Wash sale rule warning: If you buy the "substantially identical" security within 30 days before or after the sale, the loss is disallowed and added to the basis of the replacement. This rule applies to stocks but not yet to crypto as of 2026 — though Congress has proposed extending it.
If your capital gain creates a tax bill over $1,000 not covered by withholding, the IRS expects quarterly estimated payments. Deadlines for 2026 gains: April 15 and June 15 2026, September 15 2026, and January 15 2027. Miss them and you'll owe an underpayment penalty plus interest at the current federal short-term rate + 3%.
Planning a major sale? Our home affordability calculator and net worth by age calculator can help you model how a large gain reshapes your financial picture.
Yes, for taxable brokerage accounts. The IRS taxes realization, not withdrawal — the moment you sell, the gain is triggered regardless of what you do with the cash. Exceptions: 1031 exchanges (real estate), Opportunity Zone investments, and transactions inside tax-advantaged accounts like IRAs and 401(k)s.
Brokerages file Form 1099-B reporting every sale, and exchanges like Coinbase file 1099-MISC or 1099-DA starting in 2026. For real estate, the closing agent files Form 1099-S. Unreported gains trigger automated CP2000 notices typically 12-18 months after the tax year ends.
Realized gains happen when you sell the asset — taxable. Unrealized gains are paper profits on assets you still hold — not taxable in 2026 (no "wealth tax" exists federally). This is why holding long-term appreciated stock, rather than selling and rebuying, is so tax-efficient.
Yes, up to $3,000 per year ($1,500 if married filing separately). Losses first offset gains of the same type (short vs long), then offset the other type, then offset up to $3,000 of ordinary income. Anything left carries forward to future years with no expiration.
Inherited assets receive a "step-up in basis" — your cost basis becomes the fair market value on the date of death, not what the deceased originally paid. Sell immediately and you'll owe little or no capital gains tax. This is one of the most powerful tax benefits in the US code and a key consideration in estate planning.
Yes. Both short- and long-term gains flow into your Modified Adjusted Gross Income (MAGI), which determines Medicare IRMAA surcharges and ACA marketplace subsidy eligibility. A one-time large gain can push premiums up by thousands for the following year — a detail many retirees miss when selling appreciated property or concentrated stock.
Capital gains tax in 2026 rewards patience and planning. The difference between a 37% short-term rate and a 15% long-term rate is an extra 22 cents on every dollar of profit — enough to justify holding that extra month in almost every situation. Before selling any significant position, run the numbers through all three layers: federal long-term rate, NIIT surcharge, and state tax. Then ask whether loss harvesting, charitable gifting, or timing the sale to a lower-income year could cut the bill further.
This content is for educational purposes only and does not constitute financial or tax advice. Tax law is complex and fact-specific. Consult a qualified CPA or tax attorney before making decisions involving significant capital gains.
The content on this page is for informational purposes only and should not be considered financial advice. Rates, terms, and offers are subject to change. We may earn a commission through affiliate links at no extra cost to you. See our full disclaimer.
© 2024–2026 AIHowToInvest.com | About | Contact | Privacy | Terms | Disclaimer