BedrockCalculator
Verified Primary-Source MathematicsVerified by Aapt Dubey, MBA (Marketing & Finance) Last verified August 30, 2026

NUA Calculator (Net Unrealized Appreciation on Employer Stock)

Quick Answer: On the default inputs -- $400,000 of employer stock carrying an $80,000 plan cost basis, distributed at age 57 after separating from service at 57, with $90,000 of other ordinary income in both the distribution year and the sale year and $60,000 assumed in the rollover withdrawal year -- electing Net Unrealized Appreciation saves $52,550.25 of federal tax against rolling the shares into an IRA. The NUA route costs $66,564.00 in total tax (16.64% of market value); the rollover route costs $119,114.25 (29.78%).

Assumptions

Loading
$
$
$
$
$
yrs
yrs

Preset scenarios

Tax Saved by Electing NUA
$52,550.25

Every period in the schedule below reconciles to the exact penny.

Cheaper Route
NUA election
Net Unrealized Appreciation
$320,000.00
Appreciation as a Share of Value
80.0%
Ordinary Tax Due Now on the Cost Basis
$18,564.00
10% Additional Tax on the Basis
$0.00
Early Withdrawal Status
Separation from service at age 55 or later (the "rule of 55")
Capital Gains Tax on the Appreciation at Sale
$48,000.00
Total Tax — NUA Election
$66,564.00
Total Tax — Roll Over and Withdraw
$119,114.25
Net Proceeds — NUA Election
$333,436.00
Net Proceeds — Rollover
$280,885.75
Effective Tax Rate — NUA Election
16.64%
Effective Tax Rate — Rollover
29.78%
Highest Cost Basis at Which NUA Still Wins
$376,000.00
That Basis as a Share of Market Value
94% of market value

NUA Advantage Across Cost Basis Levels

Remaining balanceCumulative principalCumulative interest
10 periods, peak $362,000

How the NUA Advantage Moves With the Cost Basis

Showing 10 rows.

#Cost BasisNUA Tax AdvantageTotal Tax — NUA Route
1$38000.00$56330.25$62784.00
2$76000.00$52910.25$66204.00
3$114000.00$49490.25$69624.00
4$152000.00$44140.25$74974.00
5$190000.00$37450.00$81664.25
6$228000.00$29850.00$89264.25
7$266000.00$22250.00$96864.25
8$304000.00$14650.00$104464.25
9$342000.00$7050.00$112064.25
10$380000.00$-550.00$119664.25
Quick Answer: On the default inputs -- $400,000 of employer stock carrying an $80,000 plan cost basis, distributed at age 57 after separating from service at 57, with $90,000 of other ordinary income in both the distribution year and the sale year and $60,000 assumed in the rollover withdrawal year -- electing Net Unrealized Appreciation saves $52,550.25 of federal tax against rolling the shares into an IRA. The NUA route costs $66,564.00 in total tax (16.64% of market value); the rollover route costs $119,114.25 (29.78%).

Overview

Net Unrealized Appreciation is the election in IRC section 402(e)(4) that lets you take employer stock out of a 401(k) in kind, pay ordinary income tax that year on the plan's cost basis only, and defer the appreciation until you sell the shares -- at which point it is taxed as a long-term capital gain, automatically long-term whatever the actual holding period.

The alternative is the thing almost everyone does by default: roll the whole position into an IRA. That is not a neutral act. It converts every dollar in the position, basis and appreciation alike, into future ordinary income.

So the decision turns on one ratio: appreciation to basis. A small basis under a large appreciation makes the election extremely valuable, because you accelerate ordinary tax on very little in exchange for capital-gains treatment on a great deal. A large basis makes it worthless or actively harmful, because you accelerate ordinary tax on a large amount to shelter almost nothing.

This calculator prices both paths on identical facts and reports which is cheaper. It does not assume the election is right, and on a high-basis position it will tell you it is wrong.

How This Is Calculated

The engine computes two complete tax paths and differences them.

NUA=Market ValuePlan Cost Basis\text{NUA} = \text{Market Value} - \text{Plan Cost Basis}
NUA Path Tax=Tord(basis)+0.10×basis+TLTCG(NUA)\text{NUA Path Tax} = T_{ord}(\text{basis}) + 0.10 \times \text{basis} + T_{LTCG}(\text{NUA})
Rollover Path Tax=Tord(entire market value)\text{Rollover Path Tax} = T_{ord}(\text{entire market value})
Advantage=Rollover Path TaxNUA Path Tax\text{Advantage} = \text{Rollover Path Tax} - \text{NUA Path Tax}

Step by step, exactly as the code runs:

Step 1 -- Separate the position into basis and appreciation. Market value minus the plan's cost basis. The basis is capped at market value, so the appreciation can never be negative.

Step 2 -- Tax the basis as ordinary income, incrementally. The basis is stacked on top of the distribution year's other ordinary income and taxed at the 2026 brackets after the standard deduction. This is an incremental figure: tax with the basis, minus tax without it. It is not the basis multiplied by an average rate.

Step 3 -- Apply the 10% additional tax to the basis, and only the basis. The section 72(t) additional tax reaches the cost basis and never touches the net unrealized appreciation. Whether it applies at all is decided by the separation-from-service test: if you left the employer in or after the year you turned 55, the exception removes it.

Step 4 -- Tax the appreciation as a long-term capital gain at sale. The gain is stacked above the sale year's ordinary taxable income in the 2026 long-term capital gains schedule. The rate you pay therefore depends on how much ordinary income sits underneath the gain.

Step 5 -- Add the three pieces to get the NUA path total.

Step 6 -- Price the rollover path. The entire market value is taxed as ordinary income, stacked on the ordinary income you assume in the withdrawal year. The engine taxes the whole balance in a single year.

Step 7 -- Difference the two. A positive number means the election wins.

Step 8 -- Find the break-even basis. The engine then re-runs the whole comparison at every cost basis from 0% to 100% of market value in 1% steps, and reports the highest basis at which the election still costs no more than the rollover. On the default inputs that is $376,000, or 94% of market value.

Worked Example

Using the calculator's default inputs: $400,000 of stock, $80,000 basis, $90,000 of other ordinary income in both the distribution and sale years, $60,000 in the rollover withdrawal year, single filer, separated at 57 and distributing at 57.

Step 1 -- Find the net unrealized appreciation. $400,000 − $80,000 = $320,000

Step 2 -- Express it as a share of value. $320,000 ÷ $400,000 = 80.0%

Step 3 -- Ordinary tax on the basis, stacked on $90,000. Taxable income without the basis is $90,000 − $16,100 = $73,900, on which the 2026 single schedule charges $10,970.00. Adding the $80,000 basis gives $153,900 of taxable income and $29,534.00 of tax. $29,534.00 − $10,970.00 = $18,564.00

Step 4 -- Apply the 10% additional tax to the basis. Separation happened at 57, at or after the age-55 threshold, so the rule-of-55 exception applies. 10% × $80,000 × 0 = $0.00

Step 5 -- Long-term capital gains tax on the appreciation. Sale-year ordinary taxable income is $73,900, already above the $49,450 top of the 0% band, so the whole gain falls in the 15% band (which runs to $545,500 for a single filer). 15% × $320,000 = $48,000.00

Step 6 -- Total the NUA path. $18,564.00 + $0.00 + $48,000.00 = $66,564.00

Step 7 -- Price the rollover path. Ordinary taxable income of $60,000 − $16,100 = $43,900 costs $5,020.00. Adding the full $400,000 gives $443,900 of taxable income and $124,134.25 of tax. $124,134.25 − $5,020.00 = $119,114.25

Step 8 -- Take the difference. $119,114.25 − $66,564.00 = $52,550.25

Step 9 -- Compare the effective rates. $66,564.00 ÷ $400,000 = 16.64% for the election, against $119,114.25 ÷ $400,000 = 29.78% for the rollover.

Step 10 -- Read the break-even. The election still wins at a basis as high as $376,000, which is 94% of market value, because the rollover path is being taxed as a single-year lump.

What This Does Not Account For

  • State income tax. Several states tax capital gains as ordinary income, which erases much of the advantage. None of that is modelled.
  • The 3.8% net investment income tax under section 1411, which can apply to the appreciation at sale.
  • Spreading the rollover withdrawals across many years. This is the single largest simplification here, and it works against the election. The engine taxes the entire rolled-over balance in one year at one stacked schedule. A retiree drawing an IRA down over twenty years would pay a much lower average ordinary rate, which is exactly why the break-even basis is as high as 94% on these defaults. Treat the break-even as an upper bound.
  • Post-distribution appreciation. Only the NUA locked in at distribution is automatically long-term. Growth after the shares leave the plan follows ordinary holding-period rules.
  • The lump-sum distribution requirement. The election is only available on a qualifying lump-sum distribution of the entire account balance within one tax year, triggered by a qualifying event. The calculator assumes you have satisfied that; it does not test it.
  • Concentration risk. Nothing here prices the risk of holding a single employer's stock.

Common Pitfalls

  • Assuming NUA is always the right answer. It is a ratio question. Enter a $380,000 basis on the same $400,000 of stock and the election loses.
  • Rolling first and asking later. Once the shares are in an IRA the election is gone permanently. The lump-sum distribution has to happen first.
  • Thinking the 10% additional tax applies to the whole distribution. It reaches the cost basis only. On these defaults that would have been at most $8,000, not $40,000.
  • Confusing the age at withdrawal with the age at separation. The rule-of-55 exception tests the year you left the employer. Separating at 54 and waiting until 56 does not qualify.
  • Forgetting the sale year matters. Selling into a low-income year can drop part of the appreciation into the 0% long-term band. On these defaults, other income of $90,000 puts all of it in the 15% band.
  • Ignoring diversification. Deferring the gain means continuing to hold the stock.

Frequently Asked Questions

Does the 10% early withdrawal penalty apply to the NUA?
No. The section 72(t) additional tax is charged on the plan's cost basis only. The net unrealized appreciation is never subject to it, even when no exception applies. On the default inputs the penalty is zero anyway, because separation happened at 57.
What cost basis should I enter?
The plan's basis in the shares, which your plan administrator reports on the Form 1099-R and on the distribution paperwork. It is not what the shares are worth and it is not what you contributed to the plan overall. It is the single number the whole decision turns on.
Is the NUA always taxed at long-term rates even if I sell immediately?
Yes. The appreciation locked in at distribution is treated as long-term regardless of the actual holding period. Appreciation after the distribution is a separate matter and follows normal holding-period rules, which this calculator does not model.
At what cost basis does the election stop being worth it?
On these defaults, above about $376,000 of basis on a $400,000 position. That threshold is unusually high because the comparison taxes the entire rollover balance in one year. If you would realistically draw an IRA down over decades at a lower average rate, the true break-even basis is considerably lower.
Can I do a partial NUA election?
The distribution has to be a qualifying lump-sum distribution of the whole account balance, but the NUA treatment can be applied to some shares while others are rolled over. The calculator models an all-or-nothing choice on the position you enter, so run it twice on different share counts if you are considering a split.
Does this include state tax?
No. Federal only. In a state that taxes capital gains at ordinary rates the advantage shown here shrinks materially.

Sources

  • IRC section 402(e)(4) -- the statutory net unrealized appreciation election, and the rule that the appreciation is long-term at sale.
  • IRS, "Retirement topics - Exceptions to tax on early distributions", https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-topics-exceptions-to-tax-on-early-distributions -- the separation-from-service exception ("separates from service during or after the year the employee reaches age 55") and the fact that it does not apply to IRAs. Fetched 2026-08-30.
  • IRC section 72(t)(1) -- the 10% additional tax rate.
  • IRS Revenue Procedure 2025-32 (Internal Revenue Bulletin 2025-45), https://www.irs.gov/pub/irs-drop/rp-25-32.pdf -- the 2026 ordinary brackets, the $16,100 single standard deduction, and the 0%/15%/20% long-term capital gains thresholds. Held in engine/tables/2026/federal-tax.json, verified 2026-08-21.

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews

Related calculators in this suite

Complementary financial planning tools