Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Net Unrealized Appreciation Calculator

Estimate federal tax on employer stock taken out of a 401(k) under NUA rules: the plan's basis at your ordinary rate, the appreciation at a capital-gain rate.

Net Unrealized Appreciation Calculator

$
$
The part of the plan basis that is money you contributed after tax. It is recovered tax-free (IRS Publication 575). Leave at 0 if the basis is all employer contributions.
%
%
Does the 10% early-distribution tax apply?
Estimated federal tax under simplified NUA split
58,600.00
Estimated federal tax in dollars under the NUA route: the plan's basis, less any after-tax contributions of your own, taxed at your ordinary rate, plus the appreciation taxed at your long-term gain rate, plus 10% of the taxable basis if the early-distribution tax is switched on.
Net unrealized appreciation
220,000.00
Tax if full value were taxed at entered ordinary rate
96,000.00

Background.

If your 401(k) or other employer plan holds your company's stock, and that stock has risen a long way since the plan bought it, there is a choice to make when you leave. Roll everything into an IRA and every dollar will eventually come out taxed as ordinary income. Or take the shares out in kind, pay ordinary income tax now on only what the plan paid for them, and leave the rise in value — the net unrealized appreciation — to be taxed at long-term capital-gain rates when you sell.

The gap between those two treatments can be large. Federal ordinary rates run up to 37%, while long-term gains are taxed at 0%, 15% or 20%. On shares worth $300,000 that cost the plan $80,000, the NUA route in the worked example below costs $58,600 against $96,000 if the whole value were taxed at a 32% ordinary rate.

The rules are strict. The shares must leave the plan as part of a lump-sum distribution: your entire balance in all of the employer's plans of the same kind, paid within one tax year, after a triggering event such as leaving the job or reaching 59½. The employer stock has to go to an ordinary brokerage account, because shares rolled into an IRA lose the treatment for good.

What the comparison leaves out is time. The NUA route means paying tax on the basis this year, while a rollover defers all tax until withdrawals, possibly decades away and possibly at a lower rate. State income tax, any growth after the distribution and the risk of holding one company's stock are outside the estimate too.

What is net unrealized appreciation calculator?

Net unrealized appreciation is the increase in value of employer securities while they sat inside a qualified plan: the market value on the day they are distributed minus the plan's cost basis in them. IRS Publication 575 explains that when the shares come out in a lump-sum distribution, tax on the NUA is deferred until you sell, and gain up to the NUA amount is then long-term capital gain however briefly you held the shares. The plan's basis is taxable as ordinary income in the year of distribution, and Form 1099-R reports the NUA in box 6.

How to use this calculator.

  1. Enter the market value of the employer shares on the day they would be distributed in kind; for planning, use today's value and rerun once the distribution date is set.
  2. Enter the plan's cost basis in those shares. Ask the plan administrator for it before deciding, since it is often missing from regular statements and the whole comparison turns on it. If part of that basis is your own after-tax contributions, enter that part in the after-tax contributions field: it comes back tax-free.
  3. Enter the ordinary income-tax rate you expect for the year of distribution, remembering that the basis adds to that year's income and may push part of it into a higher bracket. If you are under 59½ and no exception applies, switch the early-distribution tax to yes to add the 10% on that taxable basis.
  4. Enter the long-term capital-gain rate you expect when you sell: 0%, 15% or 20% at the federal level, depending on taxable income in the year of sale.
  5. Compare the estimated tax with the all-ordinary figure, keeping in mind that the NUA tax on the basis is due now while a rollover would defer it.

The formula.

tax = max(min(value, basis) − after-tax contributions, 0) × ordinary rate + max(value − basis, 0) × long-term gain rate (+ 10% of the taxable basis if early-distribution tax applies)

The estimate splits the shares' value in two. The part taxed now is the plan's basis B, limited to the value V if the shares are worth less than the plan paid, minus any after-tax contributions A of your own, which Publication 575 says come back tax-free: T = max(min(V, B) − A, 0). It is taxed at your ordinary rate o. The appreciation, NUA = max(V − B, 0), is taxed at the long-term gain rate c when you sell. Estimated tax = T × o + NUA × c, plus 10% × T if you switch the early-distribution tax on; the 10% never applies to the deferred NUA. The comparison figure is (V − A) × o, the tax if the whole value were taxed as ordinary income, roughly what withdrawals of the same amount from an IRA would cost at that rate. Subtracting one from the other shows that the static saving is NUA × (o − c) when there are no after-tax contributions, so the strategy pays most when the appreciation is a large share of the value and the gap between the two rates is wide. When the shares are worth less than the plan paid there is no NUA and nothing to defer, so the result is simply the tax on the value received. The model makes simplifications: it uses one flat rate for each kind of income instead of brackets, it ignores state tax and the exceptions to the 10% tax (you decide yes or no), and it treats both taxes as paid at once, although the capital-gain tax waits until you sell.

A worked example.

Example

Suppose the shares are worth $300,000 at distribution and the plan's cost basis is $80,000, with a 32% ordinary rate and a 15% long-term gain rate. The basis is taxed now as ordinary income: $80,000 × 0.32 = $25,600. The net unrealized appreciation is $300,000 − $80,000 = $220,000, and at 15% it carries $33,000 of tax when sold. Together that is $25,600 + $33,000 = $58,600. Taxed entirely as ordinary income at 32%, the same $300,000 would cost $96,000, so the NUA route saves $37,400 in this simple comparison, which is the $220,000 of appreciation times the 17-point gap between the rates. The result depends heavily on the basis. Had the plan paid $240,000 for the same shares, the tax would be $76,800 on the basis plus $9,000 on $60,000 of appreciation, $85,800 in all: a saving of only $10,200, in exchange for paying $76,800 up front rather than deferring it in an IRA.

employer Stock Market Value300,000
long Term Gain Rate Percent15
ordinary Income Rate Percent32
plan Cost Basis80,000

Frequently asked questions.

What counts as a lump-sum distribution for NUA purposes?
Publication 575 defines it as the distribution of your entire balance, within a single tax year, from all of the employer's qualified plans of one kind, such as all profit-sharing plans. It must follow death, reaching 59½, separation from service for an employee, or total and permanent disability for a self-employed person. A balance left behind in another of the employer's plans of the same kind means the payout is not a lump sum.
Can I roll the rest of my 401(k) into an IRA and still use NUA on the stock?
Yes. The lump-sum requirement is about the whole balance leaving the plan within one tax year, not about where each piece goes. The employer shares go to a taxable brokerage account in kind, while cash and other investments can be rolled into an IRA in the same distribution without losing the NUA treatment on the shares.
Do I have to hold the shares for a year to get the long-term rate?
Not on the NUA itself. Publication 575 says gain up to the NUA amount is long-term capital gain whenever you sell, even the next day. Any further rise after the distribution is long-term or short-term depending on how long you held the shares after they left the plan.
Will the 10% early-distribution tax apply?
It can apply to the basis, the part included in income at distribution, if you are under 59½ and no exception fits. Leaving the employer during or after the year you turn 55 is one such exception. The deferred NUA is not included in income at distribution, so the 10% tax does not reach it. Set the early-distribution tax field to yes to include it: on the example's $80,000 basis the additional tax is $8,000, which lifts the estimate from $58,600 to $66,600.
When does taking the stock out not pay off?
When the basis is a large share of the value, the saving shrinks and the upfront tax grows, as the $240,000-basis case shows. It also weakens when you expect a low ordinary rate on future IRA withdrawals, or when you would hold the money for many years and value the deferral more than the rate difference. And you are left holding a large single-stock position.
Can I choose to have the NUA taxed now instead?
Yes. Publication 575 lets you elect to include the NUA in income for the year of distribution. The full value of the shares is then taxed as ordinary income and none of it gets capital-gain treatment under the NUA rules. Choosing it gives up the lower rate on the appreciation in exchange for settling all of the tax in a single year.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
tax = max(min(value, basis) − after-tax contributions, 0) × ordinary rate + max(value − basis, 0) × long-term gain rate (+ 10% of the taxable basis if early-distribution tax applies)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon