U.S. · Employer stock

Net unrealized appreciation calculator.

Compare moving highly appreciated employer stock out of a 401(k) under the NUA rules against rolling everything into an IRA.

Advertisement

Your numbers

$
$
The plan's cost, usually in Form 1099-R box 5 or from the plan.
%
Federal plus state, as an example.
%
Add net investment income tax if it applies to you.
$
Leave blank to sell at the distribution value.

Result

Advertisement

Employer stock inside a 401(k) that has risen far above what the plan paid for it can be taxed in two layers if you take it out in kind. The cost basis is taxed as ordinary income in the year of the distribution. The rise since then, the net unrealized appreciation, is not taxed until you sell, and then at long-term capital gains rates. The alternative, rolling everything into an IRA, defers all the tax but makes every dollar ordinary income when it comes out. This calculator puts the two side by side.

How the comparison is calculated

The NUA is the stock value minus the plan's cost basis. In a lump-sum distribution that includes employer securities, section 402(e)(4) excludes the NUA from gross income unless you elect otherwise on your return. The cost basis is taxable in the year of the distribution at ordinary rates, and a 10% additional tax applies to it if you are under 59½ and no exception applies. The calculator applies your ordinary rate to the basis now. When you later sell, the gain up to the NUA is long-term regardless of how long you held the shares, and any gain beyond the distribution value is long-term only if you hold them more than a year after the distribution.

The comparison path assumes you roll the whole amount into an IRA and later withdraw the same sale value, taxed as ordinary income. The tool subtracts the NUA-route taxes from the IRA-route taxes. A lump-sum distribution means the whole balance from all of the employer's qualified plans of one kind is paid within a single tax year, and the payment is triggered by death, reaching 59½, separation from service, or disability for a self-employed person.

If the payer reports NUA in box 6 of Form 1099-R, that is the figure to use, and the cost basis is what remains of the stock's value.

Worked examples (hypothetical figures, real rules)

Over 59½, sell at once. Stock worth $300,000 with a $60,000 cost basis has an NUA of $240,000. At a 24% ordinary rate the basis costs $14,400 now. When sold at $300,000 the NUA is taxed at 15%, $36,000. Total $50,400. Rolling over and withdrawing $300,000 at 24% costs $72,000, so the NUA route saves $21,600 on these rates.

Under 59½. The 10% additional tax applies to the cost basis, adding $6,000 now. Tax due at distribution is $20,400 and the saving shrinks to $15,600.

Stock keeps rising. Hold the shares more than a year and sell at $340,000. The extra $40,000 is long-term gain at 15%, $6,000. The NUA route totals $56,400 against $81,600 for the IRA route.

Mistakes people make

Who this is for, and what it does not cover

It suits someone holding appreciated employer stock in a 401(k) and weighing an in-kind distribution. It does not model the net investment income tax separately, state tax on gains, losses below your cost basis, the election to include NUA in income, deductions, the time value of tax deferral inside an IRA, or other assets in the same plan. Plans differ in how they report the basis, so check the 1099-R before you decide.

FAQ

What is net unrealized appreciation?

It is the increase in the value of employer securities while they were held in the plan trust. In a qualifying lump-sum distribution, tax on it is deferred until you sell the shares.

What is taxed when I take the stock out?

The plan's cost basis in the stock is taxable ordinary income in the year of the distribution. The NUA is not taxed at that time unless you elect to include it.

What rate applies to the NUA when I sell?

Long-term capital gains rates, whatever the holding period. Gain above the NUA is long-term or short-term depending on how long you hold the shares after the distribution.

Does the 10% early-withdrawal tax apply to NUA?

It applies to the taxable part, which is the cost basis. The NUA is not included in income at distribution, so it is not the base for the 10% tax.

What counts as a lump-sum distribution?

The entire balance from all of the employer's qualified plans of one kind, paid within a single tax year, because of death, after 59½, because of separation from service, or after a self-employed person becomes totally and permanently disabled.

Can I use NUA if I roll the stock into an IRA?

No. A rollover defers all of the tax, and the stock in the IRA is taxed as ordinary income when withdrawn, so the NUA treatment is gone.

Where do I find the NUA on my tax forms?

In box 6 of Form 1099-R, when the plan reports it.

Sources

Retrieved 2026-10-26. Each link was opened and checked against the claim next to it.

Not tax advice

This page is general information, not tax, legal or financial advice. Tax rules, limits and rates change, and your facts may differ. Confirm anything that matters with the IRS, a CPA or an enrolled agent before you act. Everything runs in your browser; nothing you enter is sent anywhere.

Common mix-ups

  1. IRS Publication 575 (2025): Pension and Annuity Income
  2. IRS Topic 412: Lump-sum distributions

Checked against these sources on .

Advertisement