Use this free RSU tax calculator to work out what you keep when restricted stock units vest. Enter your shares and the price at vest, and it shows the federal withholding, Social Security, Medicare, and state tax taken at vest, the shares sold to cover that tax, the real federal tax you owe on the vest, and the capital gains tax if you sell the shares later.
Designed & developed by Syed Osama
RSUs are taxed as ordinary wages on the day they vest, on the full value of the shares delivered to you. Your employer usually withholds federal tax at a flat 22%, plus Social Security, Medicare, and state tax. For example, 250 shares vesting at $120 are worth $30,000, and with $120,000 of other wages, single filing status, and a 5% state rate, the total withheld at vest is $10,395, so the net cash value of the vest is $19,605. The catch is that the 22% withholding is often less than the tax you really owe, because the vest stacks on top of your other income and pushes you into a higher bracket. In that example the real federal tax on the vest is $7,085.50, which is $485.50 more than the $6,600 withheld. Use the RSU tax calculator above to see your own gap before you file.
A restricted stock unit is a promise from your employer to give you shares later, usually on a vesting schedule. You do not own the shares when they are granted, and nothing is taxed at grant. The units vest over time, often a quarter of the grant each year for four years, and on each vest date the shares are delivered to you. Some employers also let you defer the shares after vesting, but for most people the tax event is the vest date itself. RSUs are different from stock options: an option gives you the right to buy shares at a set price, while an RSU gives you the shares themselves, so an RSU always has value when it vests unless the share price falls to zero.
RSU income is wages, not self-employment income, so you do not pay self-employment tax on it. If you do earn freelance income on the side, our self-employment tax calculator covers that separately.
RSU tax happens in two stages. The first stage is vesting, when the value of the shares becomes wages and your employer withholds tax. The second stage is the sale, when any change in the share price after vesting is taxed as a capital gain or loss. If you want the same kind of breakdown for a normal paycheck, use our gross to net pay calculator.
When your employer grants RSUs, no tax is due. The grant is only a promise of future shares, and the IRS taxes the shares when they are delivered to you, not when they are promised. This is why the grant date does not appear on your W-2, and why a grant that never vests, because you leave before the vest date, is never taxed at all.
On the vest date, the fair market value of the shares delivered to you becomes wages. It shows on your Form W-2 as ordinary income, exactly as if your employer had paid you that amount in cash. The value is the share price on the vest date multiplied by the number of shares, and it is taxed in the year of vesting even if you keep the shares and never sell them. Your filing status does not change the withholding at vest, because the withholding is a flat rate, but it does change your real tax, which is worked out from your total income on your return.
RSUs count as supplemental wages, like a bonus. The IRS lets an employer withhold a flat 22% of a vest paid separately from regular wages, and that is the rate most employers use. If your supplemental wages from the same employer pass $1 million in the calendar year, the part over $1 million is withheld at a mandatory 37%. For example, on a $1,250,000 vest with no earlier supplemental pay, federal withholding is $220,000 on the first $1,000,000 plus $92,500 on the other $250,000, for $312,500 in total. A cash bonus is withheld the same way. Our Massachusetts bonus tax calculator shows the same 22 percent rule on a bonus, and our Texas bonus tax calculator shows a bonus with no state tax at all.
Social Security tax is 6.2% of the vest, but only on wages up to the current wage base of $192,300 for the year. If your wages so far this year plus this vest stay under that base, the full vest pays 6.2%. If you already passed the base, this vest pays no Social Security tax at all. If the vest takes you over the base, only the part up to the base is taxed. Medicare tax is 1.45% of the whole vest, with no wage base. On top of that, wages over $200,000 for single filers and heads of household, or $250,000 for married couples filing jointly, pay an extra 0.9% Medicare tax. So if your other wages are $190,000 and your vest is $30,000, $20,000 of the vest is over $200,000 and pays the extra 0.9% ($180.00), on top of the normal $435.00.
The value taxed at vest becomes your cost basis in the shares. If the shares are worth $120 at vest and you later sell them at $140, only the $20 gain is taxed again, as a capital gain. If you sell them at $100, you have a $20 loss per share, which can offset other capital gains. The holding period for the gain starts on the vest date, not the grant date. Sell within one year and the gain is short-term, taxed at your ordinary income rate. Sell after more than one year and the gain is long-term, taxed at 0%, 15%, or 20% depending on your total taxable income.
| Tax | Rate | When it applies |
|---|---|---|
| Federal withholding | 22% | Flat rate on a vest paid separately, up to $1 million of supplemental wages in the year |
| Federal withholding, high amount | 37% | On the part of supplemental wages over $1 million in the year |
| Social Security | 6.2% | On wages up to the $192,300 wage base for the year |
| Medicare | 1.45% | On the whole vest, with no wage base |
| Additional Medicare | 0.9% | On the part of wages over $200,000 single or head of household, $250,000 joint |
| State tax | Varies | Your state rate on the vest, or 0 in a state with no income tax |
| Short-term capital gain | Your ordinary rate | On a gain from shares held 1 year or less |
| Long-term capital gain | 0%, 15%, or 20% | On a gain from shares held more than 1 year |
Rates are the current rates. Check the current rates with the IRS, because rates, wage bases, and thresholds change.
The long-term rate depends on your total taxable income, including the gain. The gain sits on top of your ordinary income, so the part of the gain that keeps your taxable income under the first line pays 0%, the part up to the second line pays 15%, and anything above that pays 20%.
| Filing status | 0% up to | 15% up to | 20% above |
|---|---|---|---|
| Single | $51,050 | $563,200 | $563,200 |
| Married filing jointly | $102,100 | $633,600 | $633,600 |
| Head of household | $68,350 | $598,400 | $598,400 |
Thresholds are the current IRS figures for long-term gains. A 3.8% net investment income tax can also apply to the gain when your total income is over $200,000 single or head of household, or $250,000 joint, and the calculator adds it where it applies.
These examples use the calculator logic above. All numbers come from the calculator, so you can check them by entering the same inputs.
Say 100 shares vest at $50, for a vest value of $5,000. Your other wages are $60,000, you are single, your Social Security wages so far this year are $60,000, and your state has no income tax. Federal withholding is 22% of $5,000, which is $1,100. Social Security is 6.2% of $5,000, which is $310. Medicare is 1.45% of $5,000, which is $72.50. The total withheld is $1,482.50, so the net cash value of the vest is $3,517.50. Sell-to-cover sells 29.65 shares and leaves you 70.35 shares. Your real federal tax on the vest is only $600, because the vest sits in the 12% bracket, so you were over-withheld by $500 and that amount comes back as a refund when you file.
Say 1,000 shares vest at $200, for a vest value of $200,000. Your other wages are $150,000, you are single, your Social Security wages so far this year are $150,000, and your state rate is 9.3%. Federal withholding is 22% of $200,000, which is $44,000. Social Security only applies to the part of the vest up to the $192,300 wage base, which is $42,300, so it is $2,622.60. Medicare is 1.45% of $200,000, which is $2,900, plus the extra 0.9% on the $150,000 of the vest that takes your wages over $200,000, which is $1,350, for $4,250 in total. State tax is 9.3% of $200,000, which is $18,600. The total withheld is $69,472.60, so the net cash value of the vest is $130,527.40. Sell-to-cover sells 347.36 shares and leaves you 652.64 shares. Your real federal tax on the vest is $60,071.50, because the vest pushes you into the 32% and 35% brackets, so you are under-withheld by $16,071.50. Set that amount aside before you file, or raise your W-4 withholding.
Say 400 shares vest at $50, for a vest value of $20,000. Your other wages are $125,000, you are single, your Social Security wages so far this year are $125,000, and your state has no income tax. Federal withholding is $4,400, Social Security is $1,240, and Medicare is $290, for $5,930 withheld in total and a net cash value of $14,070. Sell-to-cover sells 118.60 shares and leaves you 281.40 shares. Your real federal tax on the vest is $4,785.50, so you are under-withheld by $385.50. Now say you hold the kept shares for more than a year and sell them at $60. The gain is $10 per share on 281.40 shares, which is $2,814. Your taxable income is already over the 0% long-term threshold, so the gain is taxed at 15%, which is $422.10. Your total federal tax is $4,785.50 on the vest plus $422.10 on the sale, for $5,207.60. If you had sold within a year instead, the same $2,814 gain would be taxed at your 24% ordinary rate, which is $675.36, for $5,460.86 in total federal tax. Waiting past a year saves $253.26 in this example.
Each row is a vest at $120 a share, with $120,000 of other wages, $120,000 in Social Security wages so far this year, single filing status, and a 5% state rate. All numbers come from the calculator.
| Shares | Vest value | Federal 22% | Social Security | Medicare | State 5% | Total withheld | Net cash value | Shares kept |
|---|---|---|---|---|---|---|---|---|
| 100 | $12,000.00 | $2,640.00 | $744.00 | $174.00 | $600.00 | $4,158.00 | $7,842.00 | 65.35 |
| 250 | $30,000.00 | $6,600.00 | $1,860.00 | $435.00 | $1,500.00 | $10,395.00 | $19,605.00 | 163.38 |
| 500 | $60,000.00 | $13,200.00 | $3,720.00 | $870.00 | $3,000.00 | $20,790.00 | $39,210.00 | 326.75 |
| 1,000 | $120,000.00 | $26,400.00 | $4,482.60 | $2,100.00 | $6,000.00 | $38,982.60 | $81,017.40 | 675.15 |
The 1,000-share row pays less Social Security because the vest crosses the $192,300 wage base, and it pays extra Medicare because the vest takes total wages over $200,000.
This table uses Example 3 above: 400 shares vest at $50, other wages $125,000, single, no state tax, and the kept shares are sold at $60. The cash after the sale is the sale value minus the tax on the sale and the $385.50 under-withholding on the vest.
| When you sell | Gain on sale | Tax on the sale | Total federal tax | Cash after sale |
|---|---|---|---|---|
| On the vest date, at $50.00 | $0.00 | $0.00 | $4,785.50 | $13,684.50 |
| Within 1 year, at $60.00 | $2,814.00 | $675.36 | $5,460.86 | $15,823.14 |
| After more than 1 year, at $60.00 | $2,814.00 | $422.10 | $5,207.60 | $16,076.40 |
Selling on the vest date locks in the vest price and leaves no gain to tax, but it also gives up any later rise in the share price. Holding longer can cut the tax rate, but the share price can also fall.
The flat 22% withholding is a guess, not your real tax. Your real tax is worked out from your total income on your return, with the vest stacked on top of your other wages. When your other wages are low, the vest sits in a low bracket and 22% is too much. When your other wages are high, the vest sits in a high bracket and 22% is too little. The gap is the amount you either get back as a refund or owe when you file.
Each row is a $30,000 vest (250 shares at $120), with Social Security wages so far this year equal to the other wages, single filing status, and a 5% state rate. The real federal tax is the extra tax the vest adds, worked out from the brackets.
| Other wages | Federal withheld | Real federal tax | Gap | Total withheld | Net cash value |
|---|---|---|---|---|---|
| $50,000 | $6,600.00 | $4,737.50 | $1,862.50 over-withheld | $10,395.00 | $19,605.00 |
| $120,000 | $6,600.00 | $7,085.50 | $485.50 under-withheld | $10,395.00 | $19,605.00 |
| $200,000 | $6,600.00 | $7,606.00 | $1,006.00 under-withheld | $8,805.00 | $21,195.00 |
| $350,000 | $6,600.00 | $10,500.00 | $3,900.00 under-withheld | $8,805.00 | $21,195.00 |
The $200,000 row withholds less in total because Social Security is already capped. The $350,000 row pays the extra 0.9% Medicare only on the $30,000 vest, because the other wages already passed $200,000 on their own. The gap is federal tax only and does not include state tax.
If you are under-withheld, you have three options before you file: set the gap aside in savings, raise the withholding on your W-4 for the rest of the year, or make an estimated tax payment. If you are over-withheld, the extra comes back as a refund, but you gave the government an interest-free loan in the meantime. Some people ask their employer to withhold at a higher rate on the vest, which is allowed when the employer offers it.
The most common RSU mistake is reporting the vest value twice. Your broker sends a Form 1099-B when you sell, and it often shows a cost basis of $0, because the broker does not know your vest value. If you enter that $0 basis, your tax software taxes the whole sale as a gain, even though you already paid tax on the vest value. The fix is to adjust the basis to the value at vest, which is the share price on the vest date multiplied by the number of shares sold. The vested amount is already on your Form W-2 as wages, so only the gain after vest is taxed again. Check the basis on your 1099-B before you file, and keep your vesting statement as proof of the vest price.
A second mistake is forgetting the state return. Most states tax RSU income as wages in the year of vesting, and the state withholding at vest is often a flat rate that does not match your real state tax either. If you moved during the year, more than one state can claim part of the vest, usually based on where you worked while the units were vesting. Keep records of your work locations and vest dates if you move.
Unvested RSUs are usually forfeited when you leave, unless your grant agreement says otherwise. Vested shares are yours to keep, and you can sell them whenever you like after vesting, subject to any trading blackout or holding rule your employer sets. Some employers accelerate vesting on retirement, disability, or death, and some let a departing employee keep vesting on a schedule after leaving. Your grant agreement controls all of this, so read it before you resign or retire. If you leave mid-year, the vest that already happened is still taxed in the year it vested, and your final paycheck and W-2 will show it.
RSUs also have no tax choice at grant. Unlike some stock options, you cannot make an election to be taxed early on unvested RSUs, because the shares do not exist yet and the value is not fixed. The only real choices are when to sell after vesting and how much extra tax to set aside for the gap.
Official sources named in this guide: IRS Publication 15 on supplemental wages and withholding, the IRS inflation adjustments for the current standard deduction, tax brackets, and capital gains thresholds, and the Social Security Administration wage base.
Syed Osama is a digital publishing specialist who builds career metrics, financial calculators, and interactive web tools. He focuses on developing practical calculation resources to help remote workers, freelancers, and professionals make quick, accurate financial estimations.
This calculator gives an estimate for education only. It is not tax, legal, or financial advice. Tax rules, pay rates, and benefit rules change. Always check your vesting statement and Form W-2, and talk to a tax professional before you act on a large vest.