How Are Capital Gains Taxed? A $10,000 Gain Costs $668 or $1,550 — the One-Year Line Decides It
You sold shares for a $10,000 profit. How much of it goes to tax? It depends on one thing above all: whether you held the shares for more than a year — the same $10,000 gain costs $668 in federal tax as a long-term gain and $1,550 as a short-term gain.
This guide works through the 2026 rules with real dollars: the two rate schedules, the exact income thresholds, how a gain stacks on top of your salary, and what losses and the wash-sale rule do to the bill.
Short-Term vs Long-Term: The One-Year Line
The dividing line is one year of holding, and it is strict: sell after one year or less and the gain is short-term; sell after more than one year and it is long-term. Buy on January 1, 2025 and sell on January 1, 2026, and you held for exactly one year — short-term. Sell on January 2, 2026, one day later, and the same sale is long-term.
Short-term gains are taxed as ordinary income, at the same rates as your salary — 10% to 37% for 2026. Long-term gains get preferential rates of 0%, 15%, or 20%, depending on your taxable income. The gap between the two schedules is the whole story of this post.
One more thing happens before any rate applies: the tax only starts when you sell. While you hold shares, their rising value is an unrealized gain and creates no tax bill. Your broker reports each sale on Form 1099-B, which our guide to the tax forms every investor gets explains box by box.
The 2026 Rates, in Plain Numbers
For 2026, a single filer's long-term gain is taxed at 0% on taxable income up to $49,450, at 15% up to $545,500, and at 20% above that. For a married couple filing jointly, the same three rates apply up to $98,900, then to $613,700, then above it. Heads of household get the 0% rate up to $66,200 and the 20% rate above $579,600.
Short-term gains use the ordinary income brackets instead. For a single filer in 2026, those run 10% up to $12,400 of taxable income, 12% up to $50,400, 22% up to $105,700, and on up to 37% above $640,600. The key detail, in both schedules, is that the thresholds apply to taxable income — your income after the standard deduction, which is $16,100 for a single filer and $32,200 for a married couple in 2026 — not to your gross pay.
Qualified dividends get the same 0%, 15%, and 20% treatment as long-term gains. Ordinary dividends, like interest, are taxed at your ordinary rate. That split is one reason the 1099-DIV separates qualified dividends from the rest.
The Same $10,000 Gain, Two Tax Bills
Take Maya, a single filer earning a $60,000 salary in 2026. She bought shares for $10,000 and sold them for $20,000 — a $10,000 gain. Here is what she owes on that gain, depending on when she sold.
Step 1: Her salary tax, before any gain
The $16,100 standard deduction turns her $60,000 salary into $43,900 of taxable income. Tax on that is 10% of the first $12,400, which is $1,240, plus 12% of the remaining $31,500, which is $3,780 — a total of $5,020. Everything below starts from that $43,900.
Step 2: Sold after more than a year — $668
The gain stacks on top of her salary, and the 0% band runs to $49,450 of taxable income. Her salary already fills the band up to $43,900, so $5,550 of the gain — the room left to $49,450 — is taxed at 0%, which is $0. The remaining $4,450 of the gain is taxed at 15%, which is $667.50. Her total federal tax on the $10,000 gain is $668.
Step 3: Sold within a year — $1,550
As a short-term gain, the whole $10,000 is taxed as ordinary income on top of her $43,900. The first $6,500 of it fills the 12% bracket up to $50,400, which is $780. The remaining $3,500 spills into the 22% bracket, which is $770. Her total federal tax on the gain is $1,550 — $882 more than the long-term bill, for the same shares and the same profit.
The lesson is not to hold everything forever. It is that the calendar is a real input to the tax bill: one day past the one-year mark cut Maya's tax on this sale by more than half, from $1,550 to $668.
Try the Compound Growth Calculator
Why the Gain Stacks on Top of Your Salary
The mistake beginners make is reading the 0% threshold as a limit on the gain itself — it is a limit on total taxable income, gains included. A $40,000 gain is not automatically taxed at 0% because it is under $49,450. If your salary already fills the band, the whole gain lands in the 15% bracket.
The other side of the same rule is generous. Suppose Maya earned $55,000 instead of $60,000. Her taxable income after the standard deduction would be $38,900, and the same $10,000 gain would bring her total to $48,900 — still under the $49,450 line. The entire gain would be taxed at 0%, and she would owe no federal tax on it at all.
The same taxable-income number decides other things too. Your Roth IRA eligibility, for example, is tested against your modified adjusted gross income — the income limits and phase-outs are covered in our guide to Roth IRA contribution rules for 2026. Knowing where your taxable income sits is the starting point for both decisions.
Losses, the Wash-Sale Rule, and the $3,000 Cap
Losses are netted before any rate applies, and the netting has an order. Short-term losses first offset short-term gains, long-term losses first offset long-term gains, and then what is left crosses over. Only the net gain for the year is taxed.
- The $3,000 cap: if your losses exceed your gains for the year, you can deduct up to $3,000 of the net loss against your ordinary income — $1,500 if you are married filing separately. Whatever is left over carries forward to future years, with no expiration date.
- The wash-sale rule: if you sell at a loss and buy the same or a substantially identical security within 30 days before or after the sale — a 61-day window — the loss is disallowed for that year. It is not gone: it is added to the cost basis of the replacement shares, so it comes back when you sell those. Buying the same stock inside your IRA within the window triggers the rule too.
- Losses do not expire, but they do not refund either: a carried-forward loss can offset future gains year after year, and $3,000 a year against ordinary income, until it is used up. A $12,000 net loss, for example, shelters $3,000 of salary in each of four years if there are no gains to offset first.
Harvesting losses on purpose — selling a loser to realize the loss, then waiting out the 30 days or buying something different — is a legitimate planning tool. Buying back the identical shares the next morning is the version that does not work.
The Exceptions and the Extra 3.8%
Two kinds of gain escape the 0%, 15%, and 20% schedule. Gains on collectibles — art, coins, stamps — are taxed at up to 28%. Unrecaptured Section 1250 gains, the part of a real estate gain tied to depreciation already claimed, are taxed at up to 25%. Ordinary stocks, funds, and ETFs are not affected by either exception.
High earners face one more layer. The 3.8% net investment income tax applies to investment income when modified adjusted gross income passes $200,000 for a single filer or $250,000 for a married couple filing jointly. At the top, that lifts the effective long-term rate from 20% to 23.8% — still below the 37% top ordinary rate, but not the 20% the table alone suggests.
State taxes are a separate bill and vary widely. Some states tax capital gains as ordinary income, some use their own preferential rates, and a few have no income tax at all — so the federal number in this guide is the floor, not the total, in most states.
Where the Tax Disappears Entirely
Inside a Roth IRA or a 401(k), selling does not trigger a capital gains tax at all. Gains grow untaxed year to year, and qualified Roth withdrawals in retirement are tax-free. The trade-off is access: money in a retirement account is meant to stay there until retirement, with taxes and usually a 10% additional tax on early withdrawals outside the exceptions.
That is why the account decision comes before the holding-period decision. The order most beginners follow is the employer match first, then a Roth IRA, then more into the 401(k) — the full comparison is in our guide to retirement accounts explained: 401(k), IRA, and Roth IRA. If you leave a job, the money can move with you: our guide to rolling over a 401(k) to an IRA covers the direct-rollover route that avoids the 20% withholding trap.
None of this makes a taxable brokerage account a bad choice. It is the flexible one — no contribution limits, no early-withdrawal penalty, money available whenever you need it. The price of that flexibility is the annual tax math in this post, and the one-year line is the cheapest lever in it.
Try the Savings Goal Calculator
Key Takeaway
Capital gains tax is two schedules, not one: short-term gains are taxed as ordinary income up to 37%, long-term gains at 0%, 15%, or 20% once you have held for more than a year. For 2026, the 0% band ends at $49,450 of taxable income for a single filer and $98,900 for a married couple — and because the gain stacks on top of your salary, the room left in that band is what decides your rate.
On a $10,000 gain, holding past the one-year mark saved $882 — $668 instead of $1,550 — and in the right income year the same gain can cost nothing at all.
Sources
- IRS — Revenue Procedure 2025-32 (2026 ordinary income tax brackets, section 4.01; long-term capital gains thresholds, section 4.03; standard deduction amounts, section 4.14)
- IRS — Topic No. 409, Capital Gains and Losses (holding period, netting, and the $3,000 loss limit with carryforward): irs.gov/taxtopics/tc409
- IRS — Publication 550, Investment Income and Expenses (wash-sale rule, 30 days before or after the sale): irs.gov/pub/irs-pdf/p550.pdf
- IRS — Net Investment Income Tax (3.8% surtax above $200,000 single / $250,000 married filing jointly modified adjusted gross income)
This post is educational information, not tax or financial advice. Tax rules depend on your individual situation, so consider speaking with a tax professional before you file.

Comments
Post a Comment