Mountain View Wealth Management
All ArticlesBook a Free Consultation
Taxes6-min read

How Capital Gains Are Really Taxed

Long-term gains don’t just get their own rates — they sit on top of your ordinary income. That one detail creates some of the best planning windows in retirement.

Ask most investors how their capital gains get taxed and you’ll hear some version of “fifteen percent, I think.” It’s a reasonable guess, and it’s frequently wrong — sometimes expensively, sometimes in your favor. The actual rule is more interesting, and once you see it, a set of planning opportunities opens up that most people walk past every year.

Here it is in one sentence: long-term capital gains are stacked on top of your ordinary income, and only the portion of the gain that lands above each threshold pays the higher rate.

First, the distinction that changes everything: how long did you hold it?

Before any stacking happens, the calendar decides which set of rules applies to your gain.

Two rate ladders — the holding period decides which one you climb ORDINARY INCOME & SHORT-TERM GAINS LONG-TERM GAINS & QUALIFIED DIVIDENDS 10%$012%$12,40022%$50,40024%$105,70032%$201,77535%$256,22537%$640,6000%$015%$49,45120%over $545,500 seven brackets, up to 37% three rates — and the first one is free 2026 rates; thresholds shown are single-filer taxable income at which each rate begins.
2026 federal rates per IRS Rev. Proc. 2025-32. Bracket edges shown for single filers; other filing statuses use different thresholds. Bar lengths are proportional to the tax rate, not to income.

The gap between those two treatments is enormous. The same $50,000 profit can face a 37% top rate or a 0% rate depending on nothing more than the holding period and where it lands in your stack. This is why “should I sell now or wait until the one-year mark?” is one of the most valuable questions an investor can ask — and one of the easiest to answer wrong in a hurry.

How the stacking actually works

The IRS runs the calculation in two passes, and the order is the whole story.

Pass one: ordinary income is taxed first. Your wages, interest, IRA withdrawals, pension income, and any short-term gains — minus your deductions — are calculated and taxed as if your long-term gains didn’t exist. This is the part that surprises people: a large long-term gain does not push your ordinary income into a higher ordinary bracket.

Pass two: the gains are layered on top. Now the IRS adds everything together — ordinary income plus long-term gains and qualified dividends — to decide which rate applies to the gains. The gain fills upward from wherever your ordinary income stopped. Different slices of the same gain can be taxed at different rates.

Two different taxes, one shared stack LONG-TERM CAPITAL GAINS stack on top — taxed at 0%, 15%, or 20% the rate depends on where they land in the stack ORDINARY INCOME wages, interest, IRA withdrawals, short-term gains taxed first, at ordinary rates of 10%–37% gains fill upward from here Gains never push ordinary income into a higher bracket Ordinary income is calculated and taxed as if the gains didn’t exist. Then the gains are layered on top.
Conceptual illustration of the ordering rule used in the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions. Block sizes are illustrative, not proportional.

A worked example

Take a single filer in 2026 with $40,000 of ordinary taxable income and a $20,000 long-term gain — $60,000 of total taxable income.

The $40,000 of ordinary income is taxed at ordinary rates, largely in the 10% and 12% brackets. Then the gain stacks on top. For a single filer, the 0% capital gains bracket runs up to $49,450 of taxable income — which leaves $9,450 of room above that $40,000 of ordinary income. So the first $9,450 of the gain is taxed at 0%. The remaining $10,550 spills into the 15% band and is taxed at 15%.

One gain, two rates — single filer, 2026 $40,000 ordinary income taxed at ordinary rates $9,450 at 0% $10,550 of the gain at 15% $49,450 — top of the 0% bracket gain starts here $0 $60,000 total taxable income Total tax on the $20,000 gain: about $1,583 An effective rate of roughly 7.9% on the gain — not 15%, because the first slice rode free.
Hypothetical example for illustration only, using 2026 thresholds and assuming taxable income after deductions. Excludes state taxes, the Net Investment Income Tax, and any other credits or adjustments. Not a prediction or guarantee of any individual result.

Two things are worth noticing. First, this taxpayer’s effective rate on the gain was under 8% — not the 15% they’d have assumed. Second, and more useful: suppose the same person sold in a year with little or no ordinary income — an early-retirement gap year, say. Far more of that gain, possibly all of it, would have been taxed at 0%. The gain didn’t change. The stack underneath it did.

The 2026 thresholds

These figures apply to taxable income — that’s your income after the standard or itemized deduction, not your gross pay. In 2026 the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly. That deduction comes off first — so your gross pay can sit well above these numbers while your taxable income still lands in a lower band. Reading these as limits on gross income is the most common mistake we see.

Rate on gainsSingleMarried filing jointlyHead of householdMarried filing separately
0%Up to $49,450Up to $98,900Up to $66,200Up to $49,450
15%$49,451 – $545,500$98,901 – $613,700$66,201 – $579,600$49,451 – $306,850
20%Over $545,500Over $613,700Over $579,600Over $306,850

Why this matters more than it sounds

The stacking rule isn’t trivia. It means the tax on a gain is largely determined by what else is happening in your income that year — and unlike the market, that’s something a plan can control.

The identical gain, taken in two different years WHILE STILL WORKING $120,000 ordinary income the stack is already tall $20,000 gain all at 15% Tax: $3,000 IN A LOW-INCOME GAP YEAR $20,000 ordinary $20,000 gain all at 0% $9,450 of unused 0% room left over Tax: $0 Same asset. Same $20,000 profit. A $3,000 difference in tax. The only variable that changed was the income sitting underneath the gain. Hypothetical single filer, 2026 thresholds, taxable income after deductions. Excludes state tax and the Net Investment Income Tax.
Hypothetical illustration only, using 2026 single-filer thresholds; not a prediction or guarantee, and individual results vary with total income, deductions, filing status, and state law.

The fine print worth knowing

What the gain actually costs once the 3.8% surtax applies 0% bracket 0% — the surtax has nothing to tax here 15% bracket 18.8% all-in 20% bracket 23.8% all-in = the 3.8% surtax Applies once MAGI passes $200,000 single / $250,000 married filing jointly.
Net Investment Income Tax thresholds are set by statute and are not indexed for inflation, so they reach more households each year. The surtax applies to the lesser of net investment income or the amount by which MAGI exceeds the threshold.
The practical takeaway: a capital gain doesn’t have a fixed price. What it costs depends on the year you take it, the income sitting underneath it, and what else you’re doing with your brackets. Deciding when to sell without looking at that whole picture is guessing — and it’s a guess with a receipt attached.

If you’re holding an appreciated position — a concentrated stock, a rental property, a business interest, or simply a long-held fund with a low basis — the question is rarely whether to sell. It’s which year, in what size, and against what else. That’s a planning question, and it’s one we work through with clients every year.

TALK IT THROUGH — COMPLIMENTARY REVIEW
guide.mvwmllc.com/book  ·  (571) 368-6178
Mountain View Wealth Management · 2611 S Clark St., Suite 600, Arlington, VA 22202
IMPORTANT INFORMATION
2026 long-term capital gains thresholds, standard deduction amounts, and ordinary income brackets reflect IRS inflation adjustments published in Revenue Procedure 2025-32 and apply to income earned in tax year 2026; figures are subject to change by the IRS or future legislation. Thresholds shown apply to taxable income after the standard or itemized deduction. Net Investment Income Tax thresholds ($200,000 single / $250,000 married filing jointly, modified adjusted gross income) are fixed by statute and not indexed for inflation. Examples are hypothetical, simplified for illustration, and exclude state and local taxes, credits, the alternative minimum tax, self-employment considerations, and other items that may affect your result; they do not represent any actual client outcome. Special rates apply to certain assets, including collectibles and unrecaptured Section 1250 gain. This material is for educational purposes only and does not constitute individualized investment, tax, or legal advice, nor an offer or solicitation of any product or service. Mountain View Wealth Management, LLC does not prepare tax returns; consult a qualified tax professional regarding your circumstances. Investing involves risk, including possible loss of principal. Advisory services offered only where the firm and its representatives are appropriately registered or exempt. © 2026 Mountain View Wealth Management, LLC.
← Back to all articles