Skip to article

Taxes

Capital Gains Tax in 2026: Rates, Basis, and Examples

Understand short- and long-term capital gains, 2026 federal thresholds, cost basis, income stacking, and why sale proceeds are not the taxable gain.

Updated 4 min read

At a glance

Capital gain is generally the amount realized on a sale minus adjusted basis. Federal treatment depends on the holding period, asset type, other taxable income, and applicable exceptions. The sale price alone is not the taxable gain.

In this guide
  1. Calculate the gain before choosing a rate
  2. Holding period changes the ordinary framework
  3. 2026 long-term capital-gains thresholds
  4. Gains stack on top of other taxable income
  5. Losses, surtaxes, and special assets can change the result
  6. Plan the transaction, not just the headline rate
  7. Frequently asked questions
  8. Sources & calculation notes
  9. Continue to the calculator

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:

2026 long-term capital-gains thresholds
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.

  1. IRS: Capital gains and losses, Topic 409
  2. IRS: Revenue Procedure 2025-32, tax-year 2026 inflation adjustments

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.

Reviewed methodology

How this page is reviewed

High YMYL · Last verified 2026-05-10

See methodology, assumptions & sources
Risk tierHigh YMYL
AuthorCalculover Editorial Team Finance and legal education
Editorial ownerCalculover Tax & Payroll Desk Tax and wage methodology owner
ReviewerCalculover Editorial Review High-risk source and limitation review
Last reviewed2026-05-10
Last verified2026-05-10
Data effective date2026-01-01

Methodology

What Is Capital Gains Tax and How Do You Calculate It? applies the tax-rate, threshold, and taxable-base logic documented in the calculator formula section, then separates user-entered assumptions from statutory or source-linked rate inputs.

Assumptions

  • What Is Capital Gains Tax and How Do You Calculate It? relies on the values the user enters and does not independently verify income, balances, legal status, policy terms, or market quotes.
  • Taxable income, deductions, credits, filing status, jurisdiction, and timing are simplified to the fields available in the calculator.
  • Federal, state, local, and international tax rules can change after the listed last-verified date.

Limitations

  • What Is Capital Gains Tax and How Do You Calculate It? does not prepare a tax return, determine final liability, apply every credit or deduction, or account for all state, local, foreign, penalty, or surtax rules.
  • Confirm current forms, thresholds, and filing obligations with the IRS, the relevant tax authority, or a qualified tax professional before filing or paying tax.

Sources

Professional guidance: What Is Capital Gains Tax and How Do You Calculate It? is for tax education and planning only and is not tax, legal, accounting, or filing advice. Verify current rules with the relevant tax authority or a qualified tax professional.