Skip to content
Mapleton, Utah
Morkel Financial & Tax Services

How Much Tax on a $500,000 Capital Gain: $94,805, Not $119,000.

By Ewan Morkel, EA6 min read

The 23.8% everyone quotes is the top rate, not the usual one. A $500,000 long-term gain stacked on $200,000 of wages costs $94,805 in federal tax for 2026, and the same gain with no wages under it costs $64,835.

Financial charts displayed on a laptop beside printed analysis

A couple in their fifties sells a stock position they started building in 2007. The gain is $500,000, they have $200,000 of wages between them, and they file jointly. The number in their head is $119,000, because someone told them the capital gains rate is 23.8%. How much tax on a $500,000 capital gain has an exact answer, and for them it is $94,805 of federal tax. The 23.8% is the top of the schedule. Most sellers never get there.

Stacking

How much tax on a $500,000 capital gain depends on the income underneath it.

Long-term gain gets its own rate schedule under IRC §1(h), but the schedule is never applied to the gain by itself. Ordinary income fills the brackets first and the gain sits on top of it, and the breakpoints are measured in total taxable income rather than in gain. For 2026, under Rev. Proc. 2025-32, a married couple filing jointly pays 0% on net capital gain while taxable income stays under $98,900, 15% from there to $613,700, and 20% above that. A single filer's two lines are $49,450 and $545,500.

So wages you already paid tax on change what the sale costs. The $200,000 of wages here, less the 2026 standard deduction of $32,200, leaves $167,800 of ordinary taxable income. The 0% bracket is spent before the gain is counted at all. The first $445,900 of gain then rides at 15% and the last $54,100 at 20%, because the stack crosses $613,700 on the way up. Take the wages away and the same $500,000 pays nothing on the first $98,900 and 15% on the rest, which is $29,970 less federal tax on an identical sale.

A $500,000 long-term gain, married filing jointly, $200,000 of wages, 2026
Wages
$200,000
Long-term capital gain
$500,000
Taxable income after the $32,200 standard deduction
$667,800
Gain taxed at 0%
$0
Gain taxed at 15%, up to $613,700 of taxable income
$445,900 of gain, $66,885 of tax
Gain taxed at 20%, above $613,700
$54,100 of gain, $10,820 of tax
Net investment income tax, 3.8% of $450,000
$17,100
Federal tax the gain caused
$94,805
Effective federal rate on the gain
19.0%
Utah income tax at 4.45%
$22,250
All-in cost of the sale, federal and Utah
$117,055, or 23.4%

Tax year 2026. Married filing jointly, the $32,200 standard deduction, and the bracket and capital gain thresholds of Rev. Proc. 2025-32. No other income, no itemized deductions, no capital losses, and an asset held more than one year that is not real property, collectibles, or qualified small business stock. The federal figure is the total tax on the return minus the $26,340 the same couple would owe on the wages alone, which is how the gain's own cost is isolated. The 3.8% of IRC §1411 applies to the lesser of net investment income or modified adjusted gross income over $250,000, here $450,000. Utah taxes capital gain as ordinary income at the flat 4.45% that S.B. 60 set for tax years beginning on or after January 1, 2026, and Utah's taxpayer tax credit is fully phased out at this income.

The 3.8%

The surtax that never appears in a withholding table.

IRC §1411 adds 3.8% on the lesser of net investment income or modified adjusted gross income over $250,000 on a joint return, $200,000 single, and $125,000 married filing separately. Those thresholds were written into the statute in 2010 and have never been indexed, so they drift down the income scale every year on their own. Capital gain is net investment income and wages are not, but wages still count toward the MAGI test. This couple's MAGI is $700,000, the excess over $250,000 is $450,000, and 3.8% of that is $17,100, reported on Form 8960. Nothing withholds it and no broker mentions it.

Holding period

Eleven months and 29 days is an entirely different tax.

§1222(3) requires more than one year. Fall short and the gain is short-term, taxed at ordinary rates topping out at 37%, and the 3.8% still applies. Run the same sale short-term and the federal cost is $162,029 instead of $94,805. The holding period is worth $67,224 here, which is the best-paid patience available in the tax code.

Two other categories carry their own maximum rates, and §1(h) taxes them before the 0, 15, and 20 stack. Depreciation claimed on a rental comes back as unrecaptured §1250 gain at a maximum of 25% under §1(h)(1)(E), which is the most common reason a projected 15% turns into something worse; the list of ways to avoid depreciation recapture is shorter than most sellers expect. Collectibles, meaning art, coins, and metals, cap at 28% under §1(h)(4).

Before the sale

Four things that move the number, and one that does not.

  • Basis. Every improvement, commission, and reinvested dividend you can document raises basis and cuts the gain dollar for dollar. Property inherited from a decedent resets to date-of-death value under §1014, which is why selling an inherited house often produces almost no gain at all.
  • Losses. Capital losses offset capital gains without limit, and the $3,000 a year cap of §1211(b) applies only to what is left over after the gains are gone. A loss harvested in December counts against a gain realized the previous March.
  • Qualified small business stock. Stock in a C corporation meeting §1202 can exclude a large share of the gain, and the act signed July 4, 2025 rewrote the holding period, the per-issuer cap, and the gross-assets test, so the QSBS math is different now for stock acquired after that date.
  • Timing. Closing in January instead of December, or using the installment method of §453, runs the gain up the bracket schedule twice instead of once. On these facts, splitting $500,000 across two years saves the entire 20% slice.

What does not move it is reinvesting the proceeds. The gain is realized when the asset is sold, and buying something else the next day is a separate transaction the code does not connect to the first one. The exceptions are narrow and specific: a §1031 exchange, which since 2018 covers real property only, a §1045 rollover into other qualified small business stock within 60 days, and a qualified opportunity fund, where a 2026 gain currently defers only to December 31, 2026 and waiting for the 2027 rules is usually the better trade.

Paying it

The IRS wants most of it well before April 15.

§6654 prices tax quarter by quarter. A sale that closed in September belongs to the installment that was due September 15, and settling the whole thing with the return in April leaves penalty interest running from then, at 7% a year compounded daily for the quarter beginning October 1, 2026 under Rev. Rul. 2026-15. The prior-year safe harbor is the clean way out: pay in 110% of your total 2025 tax if your 2025 adjusted gross income was over $150,000, or 100% of it if it was not, and §6654(d)(1)(B) and (C) shut the penalty off no matter what the gain turns out to owe. The safe harbor calculator runs that number.

Two mechanics are worth knowing. Withholding counts as paid evenly across the year under §6654(g)(1) regardless of the month it came out, so if you still have a paycheck, raising line 4(c) of Form W-4 cures a shortfall dating back to the spring in a way that a January estimate cannot. And when the gain lands in one quarter, the annualized income installment method on Schedule AI of Form 2210 sizes the earlier installments to the income you actually had by then, which is the difference between a penalty and none on a December closing.

Frequently asked

Quick answers on this topic.

Do I still owe capital gains tax if I reinvest the money?

Yes. Tax is triggered by the sale under IRC §1001, and what you do with the cash afterward is a separate transaction. The only reinvestments that defer the gain are a §1031 exchange of real property held for business or investment, a §1045 rollover into replacement qualified small business stock within 60 days, and a qualified opportunity fund election. Buying a different stock, a car, or a second home does nothing.

Does a big capital gain push my salary into a higher tax bracket?

No. Net capital gain is stacked on top of ordinary income under IRC §1(h), so your wages are taxed exactly as they would have been without the sale. The gain moves everything that keys off adjusted gross income instead: the 3.8% net investment income tax, itemized and credit phase-outs, taxability of Social Security, and your Medicare premium two years later.

Is the 0% capital gains rate real, or is there a catch?

It is real, and the catch is that it is a taxable income test, not an income-free pass. For 2026 a joint return pays 0% on net capital gain only while total taxable income stays under $98,900, and $49,450 for a single filer, per Rev. Proc. 2025-32. A $500,000 gain blows through that on its own, so the 0% bracket matters to retirees realizing gains in low-income years, not to someone selling a large position.

Will a $500,000 gain in 2026 raise my Medicare premiums?

If you are on Medicare in 2028, yes. Social Security sets the income-related monthly adjustment amount from the modified adjusted gross income reported two years earlier, under 20 C.F.R. §418.1135, so a 2026 sale sets 2028 premiums. It is a cliff rather than a phase-in: for 2026 premiums the first joint threshold is $218,000 and crossing it by a dollar costs a married couple $2,296.80 for the year. The surcharge applies for twelve months and then falls off.

Can I wait until April to pay the tax on a sale I made this year?

Not without a cost. The underpayment penalty of IRC §6654 is computed quarter by quarter, so a gain realized in the third quarter generates penalty on the September 15 and January 15 installments even if you pay in full on April 15. Interest runs at 7% a year compounded daily for the quarter beginning October 1, 2026. Paying 110% of your prior-year tax, or 100% if prior-year AGI was $150,000 or less, turns the penalty off entirely.

Wage and withholding planning

Squaring the withholding before the return is due.

Two W-2 jobs, a midyear job change, or a working spouse stack income in ways no single W-4 sees, which is how an over-withheld Social Security credit ends up sitting next to an underpayment penalty. We reconcile the wages, claim the excess Social Security credit, and reset the withholding, so the surprise lands in the plan instead of on the return.

More from the journal