Does Taxable Income Include Capital Gains? Rates, Losses, and Surtax

Yes, taxable income does include capital gains. Federal law defines gross income as “all income from whatever source derived,” and gains from dealings in property are specifically listed as one of those sources.1Office of the Law Revision Counsel. 26 USC 61 – Gross Income Defined When you sell an investment for more than you paid, the profit lands on your tax return next to wages, interest, and everything else you earned. The one meaningful difference is the rate: long-term capital gains get preferential tax rates, but the gain itself is still part of your income.

A Gain Isn’t Taxable Until You Sell

Holding an asset that has gone up in value doesn’t create taxable income. The tax code only measures a gain or loss once you actually sell, exchange, or otherwise dispose of the property.2Office of the Law Revision Counsel. 26 USC 1001 – Determination of Amount of and Recognition of Gain or Loss A stock that doubled in your brokerage account last year adds nothing to your taxable income if you kept it. The moment you sell, the paper gain becomes a realized gain, and the IRS wants its share.

Most things you own count as capital assets: stocks, bonds, mutual funds, real estate, jewelry, collectibles, and digital assets like cryptocurrency.3Office of the Law Revision Counsel. 26 USC 1221 – Capital Asset Defined4Internal Revenue Service. Digital Assets Business inventory and depreciable business equipment are the main exceptions; profits from selling those are ordinary business income, not capital gains.

How the Gain Is Measured

Your capital gain is the difference between what you received for the asset and your adjusted basis in it. Basis starts with what you paid, including commissions and fees. Capital improvements to real estate push it up; depreciation deductions pull it down. Buy a stock for $5,000 with a $10 commission, your basis is $5,010. Sell for $8,000, your taxable gain is $2,990.

If the sale price falls below your basis, you have a capital loss, which can reduce your taxable income within limits.

Short-Term and Long-Term Rates for 2026

How long you held the asset decides which rate schedule applies. Hold it one year or less and the gain is short-term, taxed at your ordinary income tax rate, which runs from 10% to 37% for 2026 depending on total income.5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Hold it more than one year and the gain is long-term, taxed at 0%, 15%, or 20%.6Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses

The holding period starts the day after you acquire the asset. Buy on March 1, 2025 and you need to sell on March 2, 2026 or later to qualify as long-term. Sell on March 1, 2026 and it’s still short-term, because that’s exactly one year, not more than one.

The 2026 long-term brackets:5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

  • 0% on taxable income up to $49,450 single, $98,900 married filing jointly, $66,200 head of household.
  • 15% from there up to $545,500 single, $613,700 married filing jointly, $579,600 head of household.
  • 20% on anything above those ceilings.

The gain is taxed in layers. A single filer with $40,000 of ordinary taxable income and a $20,000 long-term gain pays 0% on the first $9,450 of the gain (the amount that fits under the 0% ceiling) and 15% on the remaining $10,550. Not every dollar of the gain gets the same rate.

Two categories sit outside this framework. Long-term gains on collectibles like art, coins, and precious metals are capped at 28%, and the portion of a real estate gain attributable to past depreciation is capped at 25%.7Internal Revenue Service. Topic No. 409, Capital Gains and Losses8Internal Revenue Service. 26 CFR Part 1 TD 8836 – Capital Gains, Installment Sales, Unrecaptured Section 1250 Gain

How the Gain Gets Onto Your Return

Gains and losses net against each other before they become part of your taxable income. You list individual transactions on Form 8949, summarize them on Schedule D, and the final number flows to Form 1040.9Internal Revenue Service. Instructions for Form 8949 (2025)

Short-term gains and losses net against each other first. Long-term gains and losses net separately. Then the two results combine. A $10,000 net short-term gain against a $4,000 net long-term loss leaves $6,000, which is added to your adjusted gross income.

Pushing up your AGI does more than raise your tax bill on the gain itself. It can shrink education credits, limit retirement contribution deductions, phase out other deductions, and trigger higher Medicare premiums down the line. A large one-time sale sometimes costs more than the headline tax rate suggests.

The 3.8% Surtax on Higher Incomes

If your modified AGI exceeds $200,000 single or $250,000 married filing jointly, the Net Investment Income Tax adds another 3.8% on top of your capital gains tax.10Internal Revenue Service. Net Investment Income Tax Stacked on the 20% long-term rate, the combined federal rate can reach 23.8%.

When Losses Reduce Your Taxable Income

If the netting process leaves you with an overall capital loss for the year, you can deduct up to $3,000 of it against ordinary income ($1,500 if married filing separately).11Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Anything beyond that carries forward to future years with no expiration.12Office of the Law Revision Counsel. 26 USC 1212 – Capital Loss Carrybacks and Carryovers

Carried-over losses keep their original short-term or long-term character and enter next year’s netting process as if they’d happened then. A $15,000 long-term loss in 2025 produces a $3,000 deduction that year and $12,000 of long-term loss waiting to offset future gains or trim $3,000 off the next year’s ordinary income.

Situations That Change the Answer

A handful of common situations alter whether or how a gain enters your taxable income.

Selling Your Home

Sell your primary residence at a profit and you can exclude up to $250,000 of the gain if you file single, $500,000 if you file jointly.13Internal Revenue Service. Sale of Your Home You have to have owned and used the home as your principal residence for at least two of the five years before the sale, and you can’t have claimed the exclusion on another home within the prior two years.14Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Gain above the exclusion amount is taxed as a capital gain in the normal way.

Inherited vs. Gifted Property

Inheriting an asset generally resets your basis to the fair market value on the date of the previous owner’s death.15Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent If a parent bought stock for $10,000 decades ago and it was worth $200,000 at their death, your basis is $200,000 and all that prior appreciation escapes income tax.

Receiving the same asset as a gift during the giver’s lifetime works the opposite way. You inherit the donor’s original basis.16Office of the Law Revision Counsel. 26 USC 1015 – Basis of Property Acquired by Gifts and Transfers in Trust Sell the gifted stock for $205,000 and your taxable gain is $195,000.

Cryptocurrency and Digital Assets

The IRS treats crypto and NFTs as property, so every sale, trade, or purchase using them is a taxable event measured against your basis.4Internal Revenue Service. Digital Assets Trading one coin for another is a sale of the first. Buying coffee with Bitcoin is a sale of the Bitcoin. Starting in 2025, exchanges report gross proceeds to the IRS on Form 1099-DA, and basis reporting phases in beginning 2026.17Internal Revenue Service. Final Regulations and Related IRS Guidance for Reporting by Brokers on Sales and Exchanges of Digital Assets

State Tax and Estimated Payments

Federal rates are only one layer. Most states tax capital gains as ordinary income, with rates ranging from 0% in states without an income tax to over 13% at the high end. A few states offer partial exclusions, but most treat gains the same as wages. Running the state number alongside the federal rate gives you the real after-tax result.

A large gain can also create an underpayment penalty, because nothing is withheld on it automatically. You generally need to make estimated payments if you’ll owe at least $1,000 beyond withholding and credits, and your withholding will cover less than 90% of this year’s tax (or 100% of last year’s, or 110% if your prior-year AGI topped $150,000).18Internal Revenue Service. Large Gains, Lump Sum Distributions, Etc. The simplest safe harbor for many people is paying 110% of last year’s tax through withholding and estimated payments, which blocks penalties no matter how large this year’s gain turns out to be.