Calculate the gain before choosing a rate
A $15,000 sale does not create a $15,000 gain when the asset has an adjusted basis of $10,000. Ignoring other adjustments, the gain is $5,000. Selling expenses can affect the amount realized, and basis can change through events such as reinvestments or corporate actions.
Capital gain or loss = amount realized − adjusted basis
Keep purchase dates, basis records, and sale confirmations. A brokerage report is useful, but a missing or incorrect basis entry can produce the wrong result. Inherited, gifted, employee-equity, business, and real-estate assets can require additional rules. [1]
Holding period changes the ordinary framework
An asset held one year or less generally produces a short-term gain or loss; more than one year generally produces a long-term result. Net short-term gains are generally taxed under ordinary-income rules, while many net long-term gains qualify for the 0%, 15%, or 20% federal framework. Special asset categories can differ. [1]
Do not count calendar years instead of the actual holding period. A purchase late in one year and a sale early in the next is not automatically long-term.
2026 long-term capital-gains thresholds
For the usual 0% / 15% / 20% framework, these thresholds apply to total taxable income, not just the gain amount:
| Filing status | 0% band ends at | 15% band ends at |
|---|---|---|
| Single | $49,450 | $545,500 |
| Married filing jointly | $98,900 | $613,700 |
| Head of household | $66,200 | $579,600 |
| Married filing separately | $49,450 | $306,850 |
Income above the relevant 15% ceiling falls into the 20% band under this framework. Qualified dividends share related preferential-rate calculations. These are tax-year 2026 values from the IRS inflation adjustment procedure. [2]
Gains stack on top of other taxable income
Suppose a single filer has $40,000 of ordinary taxable income and a $20,000 net long-term gain in 2026, with no other preferential-rate items or complicating provisions.
The space remaining in the 0% band is $49,450 − $40,000 = $9,450. The first $9,450 of the gain fits in that space. The remaining $10,550 is taxed at 15% in this simplified example, producing $1,582.50 of federal tax on the gain.
It would be incorrect to tax the whole $20,000 at 0% merely because the gain itself is below $49,450. It would also be incorrect to tax the entire gain at 15% without considering the available 0% band.
Losses, surtaxes, and special assets can change the result
Capital losses are netted under tax rules, and certain remaining losses can offset other income within limits, with possible carryforwards. The order of netting and the character of the gains matter; do not subtract losses casually from whichever income has the highest rate. [1]
Net investment income tax, state tax, depreciation-related provisions, collectibles treatment, and other exceptions can increase or change the result. A 0% regular federal long-term rate does not mean every related tax or income-based consequence is zero.
Tax-loss transactions also require attention to wash-sale and other applicable rules. A sale that appears economically simple can have a different tax timing result.
Plan the transaction, not just the headline rate
Before selling, confirm the basis, holding period, specific lot selection, expected taxable income, loss carryforwards, and payment requirements. A large gain can create an estimated-tax obligation even when the sale proceeds remain invested.
A lower tax rate is not the only reason to hold a risky or concentrated asset. Compare the potential tax benefit with market exposure, cash needs, and the broader investment plan. Tax treatment is one input to the decision, not a guarantee that waiting is better.
For filing, use the appropriate tax-year forms and complete income picture. The table and worked example explain the structure but do not determine an individual return.
Frequently asked questions
Is the entire sale price taxable?
Usually the gain calculation starts with amount realized minus adjusted basis. Special rules can apply, but sale proceeds and taxable gain are not generally the same number.
Does a gain below the 0% threshold automatically get a 0% rate?
No. Other taxable income uses part of the threshold. The gain generally sits above that income in the preferential-rate calculation.
Do these rates include state tax and all surtaxes?
No. They show the usual federal long-term capital-gains bands. State tax, net investment income tax, and special asset rules may also apply.
Sources & calculation notes
Primary references are linked below. Dates, limits, and product terms can change; confirm the applicable details before acting.
Use this guide thoughtfully. Educational information, not individualized financial, investment, tax, or legal advice. Examples are hypothetical unless a source is explicitly identified. Verify current terms and consider qualified professional guidance for your situation.