Capital-gains tax depends on the asset, adjusted basis, holding period, netting and the rest of the return. Sale proceeds are not the same as profit, and one headline tax rate does not calculate every transaction. This guide separates the ordinary 2026 federal framework from special assets, state tax and retirement-account rules.
Key Takeaways
- Calculate adjusted basis and net proceeds before applying a rate.
- Holding more than one year generally matters for ordinary capital assets, but special asset rules can override the simple framework.
- Taxable income, modified AGI and gross income are different measures.
- Losses, deductions, benefits and state rules can change the transaction’s total effect.
What Are Capital Gains?
A capital gain generally arises when an amount realized exceeds adjusted basis in a capital asset. Basis can include acquisition costs and later adjustments; it is not always the original price. Selling costs can affect the amount realized. Inherited property, gifts, employee shares, reinvested distributions and business use need special attention.
For a simple stock example, $8,000 net proceeds minus $5,000 adjusted basis gives a $3,000 gain. The full $8,000 is not automatically taxable profit. A decline in market value without a completed realization event generally does not create a current deductible loss.
How Capital Gains Tax Works
Net short-term items and long-term items under Schedule D, then apply the cross-netting rules. An individual’s remaining net capital loss can generally offset up to $3,000 of other income annually, or $1,500 if married filing separately. Eligible unused losses carry forward with the required character and calculation. A realized loss is not a tax saving of the same dollar amount. IRS capital gains and losses; IRS Schedule D instructions.
After netting, apply the relevant tax worksheets to the rest of the return. An asset can have ordinary-income treatment, a special maximum rate or additional tax. The capital-gains rate is not necessarily the total change in tax, premiums or income-based benefits.

Follow a net loss into next year
Suppose a single filer realizes $2,000 of long-term gains and $9,000 of allowable long-term losses in a taxable account. There are no short-term items, previous carryovers or wash-sale adjustments. The net long-term loss is $7,000. If the filer has sufficient ordinary taxable income to use the full $3,000 annual deduction, $4,000 of long-term loss carries forward.
The $3,000 reduces income used to calculate tax. It does not produce a $3,000 refund. Keep the completed Schedule D and its carryover worksheet so next year’s return starts with the remaining loss and its character. The worksheet can give a different carryover when taxable income is too low to use the full deduction. IRS guidance on capital losses and carryovers.
Short-Term Capital Gains
For many ordinary capital assets, a gain on property held one year or less is short-term and enters the ordinary-income calculation. The holding period generally begins the day after acquisition and includes the disposition day, subject to special rules. A calendar-year change alone does not make a gain long-term.
Scroll sideways to see every column.
| 2026 marginal rate | Single taxable income | Joint taxable income |
|---|---|---|
| 10% | Up to $12,400 | Up to $24,800 |
| 12% | Over $12,400–$50,400 | Over $24,800–$100,800 |
| 22% | Over $50,400–$105,700 | Over $100,800–$211,400 |
| 24% | Over $105,700–$201,775 | Over $211,400–$403,550 |
| 32% | Over $201,775–$256,225 | Over $403,550–$512,450 |
| 35% | Over $256,225–$640,600 | Over $512,450–$768,700 |
| 37% | Over $640,600 | Over $768,700 |
These are 2026 ordinary-income bands for the listed statuses, not flat rates on all income. Head-of-household and separate-filer tables differ; separate filing does not simply copy every single-filer threshold. Use the applicable IRS worksheet for the full calculation. IRS 2026 tax-rate and capital-gain thresholds.
Long-Term Capital Gains
A gain on an ordinary capital asset held more than one year generally receives long-term treatment. The familiar federal bands are 0%, 15% and 20%, but those are not the only possible rates on every type of long-term gain. Use the tax-year and filing-status table, then check special-rate categories.
Scroll sideways to see every column.
| 2026 filing status | 0% taxable-income ceiling | 15% taxable-income ceiling |
|---|---|---|
| Single | $49,450 | $545,500 |
| Married filing jointly / surviving spouse | $98,900 | $613,700 |
| Head of household | $66,200 | $579,600 |
| Married filing separately | $49,450 | $306,850 |
These thresholds apply to the relevant taxable-income calculation, not gross pay or the gain by itself. Ordinary taxable income and qualified dividends use bracket room; a gain can cross more than one band. The usual rate above the 15% ceiling is 20%, with separate rules for special gains and NIIT. IRS 2026 tax-rate and capital-gain thresholds.
What Changed for Capital Gains Taxes in 2026
The 2026 thresholds in this guide come from IRS Revenue Procedure 2025-32 and concern 2026 income normally reported in 2027. A 2025 return filed during 2026 still uses 2025 rules. Threshold inflation does not guarantee a lower tax bill if income, gains or other circumstances also change.
The prior gift-exclusion comparison was inaccurate: the $19,000 annual exclusion applied in both 2025 and 2026. A gift-tax reporting exclusion is not a capital-gain basis reset, an income-tax deduction or an exemption for a recipient’s later sale. See IRS 2026 tax-rate and capital-gain thresholds.
Special Capital Gains Tax Rates
Collectibles gains can have a maximum 28% rate, and certain unrecaptured real-estate section 1250 gains can have a maximum 25% rate. These are maximum-rate categories, not a requirement that every such gain be taxed at that number. Depreciation recapture and some derivative/business transactions can have other treatment. IRS capital gains and losses.
NIIT is a separate 3.8% federal tax generally applied to the lesser of net investment income or the excess of modified AGI over the applicable threshold: $200,000 single/head of household, $250,000 joint/surviving spouse, or $125,000 separately. Not every high earner pays it on every gain, and the threshold measure differs from the long-term taxable-income bands. IRS net investment income tax.
How to Calculate Your Capital Gains Tax
- Reconcile acquisition dates, proceeds, adjusted basis and transaction costs.
- Track short/long-term character and prior-year capital-loss carryovers.
- Review wash-sale adjustments beyond one broker’s reporting.
- Check special property, derivative, fund and digital-asset rules.
- Complete Form 8949 / Schedule D and applicable special worksheets.
- Include estimated payments, state tax and benefit effects in the comparison.
Use the Qualified Dividends and Capital Gain Tax Worksheet or Schedule D Tax Worksheet as applicable. Ordinary income generally uses lower bands before eligible preferential income; qualified dividends share the relevant space. A single flat percentage multiplied by every sale’s gross proceeds cannot reproduce that calculation.

Capital Gains Tax: Real-World Examples
Suppose a single filer in 2026 has $45,000 of ordinary taxable income and a $10,000 eligible long-term gain, no qualified dividends or other special items, and no NIIT. The $49,450 zero-rate ceiling leaves $4,450 of room: that portion of the gain is taxed at 0%, and the remaining $5,550 at 15%, or $832.50 federal tax. This simplified example excludes state tax, benefit changes and other interactions.
Scroll sideways to see every column.
| Separate simplified transaction | Gain / loss before restrictions |
|---|---|
| Stock: $8,000 net proceeds, $5,000 adjusted basis | $3,000 gain |
| Fund: $9,000 net proceeds, $12,000 adjusted basis | $3,000 loss |
| Stock: $4,000 net proceeds, $4,000 adjusted basis | $0 realized gain/loss |
These arithmetic examples do not establish tax character or deductibility. Apply holding-period, wash-sale and account rules before inserting them into the return.
Capital Gains on Stocks
Track tax lots, corporate actions, split adjustments and acquisition dates. A stock bought through compensation can involve ordinary income as well as later capital gain; reconcile the compensation amount and basis so the same value is not taxed twice. A broker’s missing basis is a reason to reconstruct records, not assume the entire proceeds are profit.
For stock or securities sold at a loss, buying substantially identical stock or securities within 30 days before or after the sale can trigger a wash sale. Review other accounts, a spouse’s purchases and automatic reinvestments, not only the selling broker’s statement. A taxable replacement generally receives an adjusted basis and holding period; an IRA replacement can have a permanently unfavorable loss result.
A different ticker, provider or index is not an IRS safe harbor. Evaluate the actual holdings and legal facts before treating an ETF pair as safe. A year-end sale’s 30-day window can extend into January; there is no universal December 2 cutoff for a deductible current-year loss. IRS investment income and expenses.
Capital Gains on ETFs
ETF shares can create gain when sold, and fund distributions can have their own tax character. The wrapper does not make the investment exempt from tax or guarantee that the fund never distributes capital gains. Commodity, leveraged and other specialized funds can have different reporting. Read the tax documents for the actual product.
Capital Gains on Mutual Funds
A fund can distribute taxable gains even if the investor did not sell shares. Reinvesting a taxable distribution generally creates additional basis in the acquired shares; keep that adjustment to avoid taxing the same amount twice on sale. A distribution shortly after purchase can still be taxable under the applicable rules. IRS investment income and expenses.
Capital Gains on Crypto
Digital assets can create taxable sales or exchanges, income on receipt, basis adjustments and reporting obligations. A transfer between your own wallets is different from selling or swapping an asset; fees and transaction records still need reconciliation. Use actual units, dates, proceeds and basis rather than equating the exchange deposit with taxable profit. IRS digital-asset reporting.
Do not treat every token, fund or crypto-related security as outside the wash-sale rules. The statute addresses stock or securities; an asset’s legal/tax character and other anti-abuse rules can matter. The earlier blanket “sell and immediately rebuy any crypto” recommendation has been removed. Obtain current transaction-specific guidance rather than relying on a broad exemption claim.

Capital Gains on Real Estate
A home sale is not automatically taxed like an ordinary stock sale. Eligible main-home sellers may exclude up to $250,000 of gain, or $500,000 for qualifying joint filers, subject to ownership, use, prior-sale and other rules. Rental/business use, depreciation, nonqualified use and partial-exclusion provisions can change the result. Gross sale price minus purchase price alone is not always the taxable gain. IRS selling your home.
Investment/business property can involve depreciation and recapture, section 1231 netting, passive-loss rules or a properly structured like-kind exchange. A home exclusion does not automatically apply to a rental, and a personal-use loss does not automatically become deductible.

How to Reduce Capital Gains Tax: 12 Legal Strategies
- Verify basis and selling-cost adjustments.
- Compare sale dates and actual holding periods.
- Model eligible long-term gain bands and qualified dividends.
- Reconcile allowable losses and carryovers.
- Check wash-sale effects across relevant accounts.
- Compare account eligibility before contributing to a retirement plan.
- Review a main-home exclusion before assuming tax on the full gain.
- Price charitable-gift conditions before donating appreciated property.
- Obtain advice before a business-property exchange or Opportunity Zone investment.
- Review inherited/gift basis separately.
- Include state/source/residency rules.
- Calculate estimated payments and benefit effects.
A strategy should improve the after-tax result without creating an unsuitable investment or cash problem. See the strategy comparison for eligibility and tradeoffs.
Trading investments inside an ordinary tax-deferred retirement account generally does not create personally reportable annual capital gains from each sale. Contributions, distributions, basis and Roth qualification follow retirement-account rules instead. Traditional withdrawals are not automatically taxed at a preferential long-term capital-gain rate, and a Roth distribution is not automatically qualified. IRS Publication 590-A.
State Capital Gains Taxes: The Second Tax Bill Most Investors Overlook
State treatment can differ from federal holding-period treatment. Residency, source income, exclusions, deductions and the specific tax year matter; a move does not automatically eliminate tax tied to a prior state or real property. See the separately sourced state guide rather than adding a stale top-rate table to a federal calculation.

Tax Forms Used to Report Capital Gains
Broker proceeds/basis generally appear on Form 1099-B or equivalent records; Form 8949 and Schedule D coordinate reportable sales and adjustments. Digital assets, property transactions, installment sales or special gains can require other forms and worksheets. Reconcile imported tax-software data rather than assuming the import is complete. IRS Form 8949 instructions.
Common Capital Gains Tax Mistakes
- Using gross proceeds instead of net gain.
- Applying the long-term zero-rate ceiling to gross salary alone.
- Ignoring a net-loss carryover or separate-filer limit.
- Assuming all digital assets, funds or properties share one treatment.
- Treating a Roth withdrawal as ordinary taxable income without checking its character.
- Adding a stale state top rate as though it applied to every dollar.
- Using a gift exclusion as a substitute for basis and gift-reporting rules.
Frequently Asked Questions About Capital Gains Tax
Does a 0% federal gain mean no financial effect?
No. State tax, net-investment-income calculations, benefits and healthcare assistance can still matter. The federal preferential rate is only part of the comparison.
Can losses offset ordinary income?
After capital-gain netting, an eligible remaining net loss can generally offset up to $3,000, or $1,500 separately, with remaining eligible loss carried forward.
Does a retirement-account trade use these gain bands?
Ordinary tax-deferred account trades generally do not flow through as personally reportable annual capital gains. Distribution and retirement-account rules apply separately.
Sources and References
The primary IRS sources below establish the framework and 2026 thresholds. Asset-specific transactions can require additional authority; no generic article calculation replaces the relevant return worksheet. The correction record identifies the material issues changed during this review.
Related Reading
- Short-term rules and timing
- Long-term bands and special rates
- Loss netting, replacements and carryovers
- Compare tax-planning strategies
Sources and correction record
Reviewed October 25, 2026. Corrected separate-filer ordinary-rate treatment, gift-year comparisons, loss-limit exceptions and Roth/benefit examples. Removed unsupported expert quotations, stale state-rate tables and claims that all assets share a maximum rate. Replaced simplified guarantees with basis, netting and eligibility checks.
- IRS capital gains and losses
- IRS 2026 tax-rate and capital-gain thresholds
- IRS investment income and expenses
- IRS selling your home
- IRS net investment income tax
- IRS digital-asset reporting
- IRS Schedule D instructions
- IRS Form 8949 instructions
- IRS Publication 590-A
Reporting and methodology
Guide · Editorial review: Aamir Shabbir Ahmad.
Methodology
Adds a two-year loss-netting example and distinguishes an income deduction, tax savings and the carryover. The guide gives the balances, dates, assumptions and arithmetic so readers can reproduce the example.
Limitations
The example uses allowable long-term losses in a taxable account and enough taxable income for the assumed deduction. Carryover worksheets, filing status, wash sales, basis and state law can change the result.
Conflicts disclosure
The example uses invented financial inputs, with no specific product, insurer or investment recommended for purchase. The approving editor should confirm applicable interests.
Correction or update
Adds a two-year loss-netting example and distinguishes an income deduction, tax savings and the carryover.
Sources
- IRS Topic 409, Capital gains and losses
- IRS, Instructions for Schedule D
- IRS Revenue Procedure 2025-32, inflation adjustments for 2026
- IRS, Net Investment Income Tax
- IRS Publication 550, Investment income and expenses
- IRS, Digital assets
- IRS Publication 523, Selling Your Home
- IRS Publication 590-A, Contributions to Individual Retirement Arrangements
- IRS, Instructions for Form 8949






