2026 Capital Gains Tax Rates: Federal Brackets, NIIT & Examples

The headline capital gains bracket is only part of the tax picture. Holding period, NIIT, state tax, IRMAA, and the type of asset can change the real after-tax cost.

For 2026, most long-term investment gains fall into the 0%, 15%, or 20% federal capital-gains rate bands. The rate is determined by your filing status and total taxable income, not simply by the size of the gain. A sale can also affect the 3.8% Net Investment Income Tax, state taxes, and later Medicare premiums.

The important question is not just “What bracket am I in?” It is: How much of this sale lands in each tax layer, and what else changes because I sold? This guide walks through the 2026 federal rules with examples you can check before making a sale.

The first fork in the roadSame investment gain. Two different tax treatments.
HELD ONE YEAR OR LESS
Short-term
Generally taxed at ordinary federal income-tax rates, up to 37% for 2026.
HELD MORE THAN ONE YEAR
Long-term
Most qualifying gains use the 0%, 15%, or 20% federal rate bands.

Your actual result also depends on taxable income, asset type, and additional taxes. Holding period alone does not determine the final bill.

  • Held one year or less: Net short-term gains generally face ordinary federal income-tax rates.
  • Held more than one year: Most net long-term gains qualify for the 0%, 15%, or 20% preferential rate structure.
  • Stacking matters: Ordinary taxable income generally fills the lower taxable-income space before preferential gains are layered on top.
  • The 0% rate is not always a zero-cost decision: A taxable gain may still affect ACA subsidies, NIIT, Medicare IRMAA or state tax, depending on your circumstances.
On This Page
  1. Calculate a 2026 capital-gains tax estimate
  2. You know the sale price.What do you keep?
  3. 2026 long-term capital-gains tax brackets
  4. What changed for capital gains in 2026?
  5. Why a 15% gain can cost more than 15%
  6. Before selling: check what you actually own and what it cost
  7. Cryptocurrency gains and wash sales in 2026
  8. Practical ways to reduce an avoidable tax surprise
  9. 2026 capital-gains tax FAQ
  10. Your decision before selling
  11. How We Verified This

Calculate a 2026 capital-gains tax estimate

Start with the estimator, then use the tables below to check the assumptions. The tool calculates an illustrative incremental federal tax on a standard investment sale; it does not prepare a complete tax return. Enter taxable income after deductions, excluding the sale, and supply a separate modified adjusted gross income (MAGI) estimate for NIIT.

MICHAEL RYAN MONEY 2026 TAX YEAR

You know the sale price.
What do you keep?

Estimate the federal tax on your capital gain, see how the brackets stack, and compare short-term with long-term treatment.

Federal capital gains estimatorIncludes NIITNo account connection
For taxable investments such as stocks, funds, and many digital assets. Not for home sales, rental real estate, 1031 exchanges, depreciation-recapture situations, capital-loss netting, or other special asset rules. See full scope.
01Your income before this sale
After deductions. Exclude this sale, qualified dividends, and other long-term gains.
Modified adjusted gross income for NIIT. Different from taxable income; exclude this sale.
Other investment income · dividends & gains

Enter amounts before this sale. These figures describe income already in your tax return; they are not added to your MAGI input.

Taxable amount eligible for the standard 0% / 15% / 20% rates, after applicable netting. Exclude from ordinary income above.
Include applicable dividends and gains entered above, plus taxable interest and other NIIT income, net of eligible expenses. Do not include this sale.
02Your investment sale
Acquisition cost before the adjustments below.
Before selling expenses.
Basis adjustments & selling costs
Positive to increase basis; negative to reduce it.
Eligible transaction expenses that reduce sale proceeds.
03How long did you hold it?
EXPLORE AN EXAMPLE

Starts with illustrative values. Replace them with your own. Results update as you edit; entries are calculated in your browser.

How to enter income without double counting

Ordinary income is the taxable portion after deductions, with this sale and preferential income removed. Enter qualified dividends and other eligible long-term gains separately. Their total plus ordinary income should represent your taxable income before this sale.

MAGI and net investment income are separate inputs used for NIIT. Include applicable investment income in those totals even when you also entered it in the preferential-income field. The calculator does not add that field to MAGI automatically. It assumes deductions are already used or allocated and stay unchanged.

What this estimator covers—and where it stops

Designed for a fully taxable sale of standard investments, such as stocks, funds, and many digital assets. It models the difference in federal regular tax and NIIT with and without a positive gain. It does not calculate tax benefits from losses or perform capital-loss netting.

Not modeled: state/local tax, AMT, credits, deduction phaseouts, unused deductions, loss carryovers, wash sales, home-sale exclusions, collectibles, depreciation recapture, qualified small business stock, installment sales, gifted/inherited basis rules, employee equity compensation, foreign-income rules, business property, or kiddie tax. Enter an independently determined adjusted basis when appropriate.

The model uses rate brackets, not the IRS $50 tax-table bands. It is a planning estimate, not a tax return, a payment recommendation, or a safe-harbor calculation. Use a full return calculation for those decisions.

2026 rates, method & sources

Ordinary-income and long-term gain thresholds: IRS Revenue Procedure 2025-32, §§4.01 and 4.03. NIIT method and thresholds: IRS Topic 559.

The regular-tax model follows the preferential-income stacking and ordinary-tax ceiling described in the Form 1040 instructions, using 2026 brackets. The linked worksheet currently describes tax year 2025; its dollar thresholds are not used here. Sources checked September 22, 2026.

Independent financial education from Michael Ryan Money. Estimates depend on your inputs and the stated assumptions; this is not personalized tax advice. Tax law and guidance can change.

Calculator limitation: Specialized gains, dividends already using preferential brackets, loss carryovers, partnership assets, real estate exclusions, state rules, alternative minimum tax and other adjustments may require a different calculation. Do not use the estimate as a substitute for a filed tax return.

2026 long-term capital-gains tax brackets

These thresholds apply to 2026 tax-year income, generally reported on a return filed in 2027. They come from IRS Revenue Procedure 2025-32, section 4.03. The 0% and 15% ceilings depend on taxable income including the gain; a gain may span more than one rate band.

2026 federal long-term capital-gains tax bands
Filing status0% through15% through20% above
Single$49,450$545,500$545,500
Married filing jointly$98,900$613,700$613,700
Head of household$66,200$579,600$579,600
Married filing separately$49,450$306,850$306,850

A 15% rate does not apply to every dollar of a gain just because your taxable income crosses the 0% ceiling. Only the portion above that threshold moves into the next band. Not all long-term gains use this table. Collectibles gains and some taxable qualified small-business-stock gains can fall in a maximum 28% rate group, while unrecaptured Section 1250 gain from depreciable real property can face a maximum 25% rate. These are ceilings, not automatic flat tax rates, and special netting rules apply. See IRS Publication 550.

Example: a $30,000 gain does not all get the same rate

Assume a single filer has $40,000 in taxable ordinary income before an additional $30,000 of eligible long-term gains, no qualified dividends or other preferential gains, and no relevant tax adjustments. The 2026 0% ceiling is $49,450, leaving $9,450 of room. The remaining $20,550 falls in the 15% band. Estimated regular federal tax attributable to that gain: $3,082.50 ($20,550 × 15%). This excludes NIIT, state tax, and any effect of the gain on deductions or credits.

2026 single filer · illustrative saleWatch how the $30,000 gain crosses the 0% line.
Total taxable income after sale$70,000
↑ $49,450 ceiling
$40,000 ordinary taxable income fills the lower stack.
$9,450 of this gain fits inside the 0% band.
$20,550 of this gain enters the 15% band.
No portion of this gain reaches the 20% band.
REGULAR FEDERAL TAX ON THIS GAIN$20,550 × 15% + $9,450 × 0%
$3,082.50

Illustration excludes NIIT, state tax, and other return interactions. Not a standalone filing calculation.

What about short-term capital gains?

A stock or fund held one year or less generally produces short-term gain taxed under the same graduated rates that apply to ordinary income. The 2026 rates still run from 10% to 37%; the anticipated 2026 reversion to the pre-TCJA rate structure did not occur. For the official income cutoffs, see the IRS 2026 ordinary-income bracket announcement.

A security bought on January 15, 2026 is generally long-term if sold on January 16, 2027 or later, assuming the ordinary trade-date holding-period rule applies. Rather than memorize “366 days,” check the actual acquisition and sale dates and the relevant holding-period rule, particularly around leap years or non-purchase acquisitions. See IRS Publication 544.

What changed for capital gains in 2026?

The 2026 “TCJA tax cliff” warnings circulating in older articles are out of date. Congress enacted Public Law 119-21 in 2025, retaining the seven-bracket individual rate structure and changing several deduction rules. For 2026, the standard deduction is $16,100 for single and married-separately filers, $32,200 for married-joint filers, and $24,150 for heads of household, before any applicable additional deductions. These numbers affect taxable income, which in turn affects capital-gains bracket room. IRS 2026 tax-law summary.

This distinction is easy to miss: the federal capital-gains rate schedule did not disappear, and your bracket does not suddenly revert because 2025 ended. What changes your actual bill is the taxable-income calculation, the kind of gain, and any additional tax or benefit interactions.

Why a 15% gain can cost more than 15%

The 3.8% Net Investment Income Tax

The NIIT is 3.8% of the smaller of your net investment income or the amount by which NIIT modified adjusted gross income exceeds the applicable threshold. The thresholds are $200,000 for single and head-of-household filers, $250,000 for married filing jointly, and $125,000 for married filing separately. They are not indexed for inflation. This is a separate computation from the regular long-term capital-gains rate. IRS NIIT explanation.

Two numbers. Two different questions.Taxable income is not the same as NIIT MAGI.
Taxable income
After applicable deductions
Which 0% / 15% / 20% band gets used?
Feeds the regular long-term capital-gains calculation.
NIIT MAGI
A different income definition
Is investment income subject to an extra 3.8%?
Compared with the filing-status NIIT threshold.

The same sale can raise both figures. That is why the estimator asks for them separately.

Example: A married couple has NIIT MAGI of $240,000 before a $30,000 taxable investment gain, and assume that $30,000 is their only net investment income. Their post-sale MAGI is $270,000, exceeding the $250,000 threshold by $20,000. NIIT is 3.8% of the smaller of $30,000 or $20,000, or $760. It would be wrong to automatically charge 3.8% on the full gain.

NIIT in one pictureCompare two amounts. Tax the smaller one.
A. Net investment income
$30,000
B. MAGI above $250,000
$20,000
← SMALLER AMOUNT
3.8% × $20,000$760 NIIT

Assumes the $30,000 gain is the couple’s only net investment income. This is the NIIT layer, separate from their regular capital-gains tax.

Medicare IRMAA: a later premium consequence

If you are enrolled in Medicare, a one-time realized gain can raise your income-related Medicare Part B and Part D premiums later. Social Security ordinarily uses tax information from two years earlier, so 2026 income may be used to set 2028 premiums, using the 2028 thresholds when issued. This is not a separate capital-gains tax, and you should not substitute published 2026 IRMAA thresholds for unknown 2028 brackets. See the Medicare IRMAA brackets guide for how the premium determination works.

State capital-gains taxes

Your federal rate is only one part of the calculation. State taxes vary by residence, income sourcing, and the nature of the sale. There is no universal “live in a new state for 183 days and escape tax” rule. States use their own domicile, statutory-residency and source-income rules; relocating just before selling stock or vesting employer shares may not erase obligations to the former state. For state comparisons, use the state capital-gains tax guide.

Before selling: check what you actually own and what it cost

Capital gain is generally the amount realized on sale minus adjusted basis. Basis is not always just the first amount you paid: reinvested dividends, splits, commissions, transfers, gifts, inherited property, and other adjustments may matter. Check your transaction history and reported cost basis before using any estimator. A missing basis figure on a broker statement is not proof your basis is zero. See IRS Publication 550.

  • Verify the holding period: short-term and long-term gains get different regular federal rates.
  • Check existing gains and losses: capital losses can offset gains, but timing, wash sales, carryovers, and netting rules matter.
  • Estimate taxable income and NIIT MAGI separately: they are not interchangeable inputs.
  • Check state and Medicare effects: a sale can matter beyond federal income tax.
  • Choose the right specialized guide: home sales, inherited property, collectibles and business assets have extra rules.

Cryptocurrency gains and wash sales in 2026

Selling or exchanging a digital asset generally can be a taxable disposition; gain or loss depends on the asset’s tax characterization and your basis. But the stock wash-sale rule in Internal Revenue Code Section 1091 does not automatically apply to every cryptocurrency. It generally covers stocks and securities, and a particular token’s security status can matter. Do not confuse a broader information-reporting requirement with a new universal wash-sale ban.

Form 1099-DA reporting began to phase in with broker reporting of gross proceeds for 2025 transactions and reporting of basis on certain covered transactions beginning in 2026. The IRS does not say that this automatically cross-checks every exchange for wash sales. See IRS digital-assets guidance and Form 1099-DA instructions.

Practical ways to reduce an avoidable tax surprise

Most preventable mistakes happen before the trade: selling just before a holding-period change, entering gross salary instead of taxable income, forgetting a capital-loss carryforward, or ignoring NIIT and Medicare premium effects. A tax-conscious approach is to model the incremental effect of the particular sale before making it.

  • Use available losses carefully: losses generally offset capital gains. An overall net loss can offset up to $3,000 of ordinary income annually, or $1,500 if married filing separately; remaining losses may carry forward. Wash-sale rules and netting order can change the answer.
  • Check the long-term date: waiting until a security qualifies for long-term treatment may help, but investment risk, price changes and liquidity needs can outweigh a tax benefit.
  • Consider charitable gifts of appreciated securities: eligible donations may avoid realizing gain, but deduction rules, itemization, valuation and the charity’s acceptance process matter. Never assume a dollar-for-dollar tax savings.
  • Avoid broad claims of guaranteed “tax arbitrage”: moving states, installment sales, opportunity funds and direct-indexing strategies require specialized analysis and do not produce a standard savings amount.

For a deeper discussion of individual strategies, see ways to reduce capital-gains tax on stocks. This page stays focused on calculating and understanding the federal rate.

2026 capital-gains tax FAQ

Can I owe 0% federal capital-gains tax?

Yes. Eligible long-term gain falling within the 0% band has no regular federal capital-gains tax on that portion. However, benefits, income-based premiums and state-tax rules may use different income measures.

Is the $3,000 capital-loss deduction per person?

Not generally. The maximum net capital loss applied against ordinary income on a joint return is usually $3,000; for married filing separately it is $1,500 per spouse, subject to each return’s actual losses and the capital-loss rules. Unused amounts may carry forward. IRS Schedule D instructions.

Does a 15% bracket mean 15% on my entire gain?

No. Long-term gains can cross the 0%, 15%, and 20% bands as total taxable income rises. The regular rate for a gain also does not tell you whether NIIT applies.

Does inherited property or a home sale use this same calculator?

Not necessarily. Inherited property often has special basis rules, and an eligible principal residence may qualify for an exclusion. Those rules require separate inputs. See inherited-property capital gains and capital gains on a home sale.

Can selling stock in 2026 raise my 2028 Medicare premiums?

Potentially. If your 2026 MAGI is used for the 2028 determination, a sizable taxable gain can raise income-related premium surcharges. The actual 2028 brackets are a separate annual determination.

Your decision before selling

Get four numbers before you act: your adjusted basis, estimated taxable income before the sale, the gain by holding period, and expected NIIT MAGI after the sale. Those four inputs usually make the federal calculation clearer than memorizing a single tax rate. Then check any state, Medicare or special-asset rules.

Before you place the sell orderFour checks that can change the answer.
1

Adjusted basis

What did the asset actually cost after adjustments?
2

Holding period

Is this short-term or long-term gain?
3

Taxable income

How much 0% or 15% room is available?
4

Other effects

NIIT MAGI, state taxes and Medicare timing.

The order matters: a polished rate calculation based on the wrong cost basis or income measure can still lead to the wrong decision.

How We Verified This

These are the authorities and references used to verify the material facts in this article.

IRS Revenue Procedure 2025-322026 long-term capital-gains thresholds and indexed federal figures.
IRS 2026 inflation adjustments2026 federal ordinary-income brackets and standard deduction.
IRS Net Investment Income TaxNIIT thresholds and smaller-of calculation.
IRS Publication 550Basis, holding periods, capital losses, 25 percent and 28 percent rate groups.
IRS digital assets guidanceDigital-asset rules and reporting framework.

We are audience supported - when you make a purchase through our site, we may earn an affiliate commission.

Michael Ryan
Michael Ryan, Retired Financial Planner & Founder of MichaelRyanMoney.com Michael Ryan is a retired financial planner and financial educator with nearly three decades of experience in financial planning, retirement planning, estate planning, insurance, and risk management. He is the founder of MichaelRyanMoney.com, where he explains Social Security, Medicare and IRMAA, retirement income, taxes, estate planning, insurance, investing, and personal finance in plain English. His commentary has been featured by outlets including The Wall Street Journal, U.S. News & World Report, Business Insider, Yahoo Finance, Forbes, Newsweek, and Nasdaq. Michael no longer sells financial products, manages investments, or provides individualized investment, tax, legal, or insurance advice through the site.