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
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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
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.
Frequently asked questions.
What counts as a lump-sum distribution for NUA purposes?
Can I roll the rest of my 401(k) into an IRA and still use NUA on the stock?
Do I have to hold the shares for a year to get the long-term rate?
Will the 10% early-distribution tax apply?
When does taking the stock out not pay off?
Can I choose to have the NUA taxed now instead?
References& sources.
- [1]IRS Publication 575, Pension and Annuity Income; lump-sum distributions and net unrealized appreciation. Retrieved 2026-08-07.
- [2]U.S. Internal Revenue Service. Topic no. 412, Lump-sum distributions. Retrieved 2026-08-07.
- [3]U.S. Internal Revenue Service. About Form 1099-R, Distributions From Pensions, Annuities, Retirement Plans. Retrieved 2026-08-07.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- 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.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled