If you’re leaving an employer and have highly appreciated company stock in your 401(k), how you handle the distribution could have major tax implications. This calculator compares the NUA strategy — taking an in-kind distribution of company stock — against rolling the funds into an IRA, so you can choose the approach that minimizes your tax burden.