RSU Tax Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Understanding RSU Taxation

Restricted Stock Units, usually shortened to RSUs, are a common form of equity compensation. They are not the same as stock options. With an RSU grant, you generally do not pay an exercise price to receive shares. Instead, the company promises to deliver shares once a vesting condition is met, most often continued employment over time. That sounds simple, but the tax treatment creates two separate moments to think about: first when the shares vest, and later when you sell them. This calculator is designed to help you estimate both parts so you can see a clearer picture of what your stock compensation may actually be worth after taxes.

At vesting, the market value of the shares delivered to you is usually treated as ordinary income. In practical terms, that means the value is taxed much like salary or a bonus. If 1,000 shares vest when the stock is trading at $50, the taxable compensation value is $50,000. Employers often withhold shares or cash to cover part of that tax bill, but the withholding amount may not perfectly match your actual tax situation. That is why many employees want a quick estimate of the tax due at vesting rather than relying only on payroll withholding.

After vesting, the shares become your property. From that point forward, the vesting price generally becomes your tax basis for capital gains purposes. If you sell later at a higher price, the increase is usually taxed as a capital gain. If you sell at a lower price, you may have little or no gain, and in some cases a capital loss. This calculator separates those two tax layers so you can understand how much of your result comes from compensation tax and how much comes from investment gain or loss after vesting.

The tool is intentionally straightforward. You enter the number of shares, the share price at vesting, your ordinary income tax rate, the eventual sale price, and your capital gains tax rate. The calculator then estimates tax at vesting, tax on any positive gain at sale, and your net proceeds after subtracting those taxes from the gross sale value. It is useful for quick planning, comparing immediate sale versus holding, and stress-testing different price and tax assumptions before you make a decision.

Introduction

Many people receive RSUs as part of total compensation but still find the tax side confusing because the same shares can trigger tax consequences at more than one stage. The first stage is compensation income when the shares vest. The second stage is investment gain or loss when the shares are sold. If you only focus on the headline number of shares or the current stock price, it is easy to overestimate what you will keep. A realistic estimate needs to account for both the ordinary income tax at vesting and any capital gains tax that may apply later.

This page gives you that estimate in one place. It does not try to replace payroll records, brokerage statements, or tax software. Instead, it provides a practical planning view. You can use it before a vesting date, after a vesting date, or when deciding whether to hold or sell shares you already own. Because the calculator runs in your browser, you can test multiple scenarios quickly without sending your numbers anywhere.

It is also helpful for conversations with a tax preparer, financial planner, or spouse. Rather than speaking in general terms about โ€œa big tax hit,โ€ you can plug in your assumptions and discuss concrete numbers. That makes it easier to compare strategies such as selling immediately, holding for a year, or setting aside extra cash if employer withholding seems too low for your bracket.

How to Use

Using the calculator is simple, but each input has a specific meaning. Start with Number of Shares. This should be the number of RSU shares you want to analyze. In many cases that is the number vesting in one event, but you can also use the total number of vested shares you plan to sell together if the vesting price is the same for the scenario you are modeling.

Next, enter the Share Price at Vesting. This is the fair market value per share on the vesting date. It is the amount used to estimate ordinary income from the vest. Then enter your Ordinary Income Tax Rate as a percentage. This should reflect the rate you want to use for planning, often your marginal federal and possibly combined rate if you are modeling a broader tax burden. The calculator uses the percentage you enter directly, so 32 means 32%.

After that, enter the Sale Price. This is the price per share you expect to receive when you sell. If you are comparing strategies, try several values to see how a lower or higher stock price changes the result. Finally, enter the Capital Gains Tax Rate. This is the rate you want to apply to the gain above the vesting price. If you expect a long-term capital gain, you might use a lower rate than your ordinary income rate. If you expect a short-term gain and want a rough estimate, you may choose a higher rate that better matches your situation.

When you click Calculate, the result area shows three figures: tax at vesting, capital gains tax, and net proceeds. The copy button lets you copy the result text for notes, email, or a spreadsheet. If you are exploring alternatives, change one assumption at a time. For example, keep the same vesting price and tax rates but test several sale prices. That makes it easier to see how much of the outcome is driven by market movement rather than taxes.

One practical tip is to think about units consistently. The share prices are entered in dollars per share, and the tax rates are entered as percentages, not decimals. So you should type 15 for a 15% capital gains rate, not 0.15. The calculator converts the percentage to a decimal internally.

Formula

The calculator uses a simple three-part framework. First, it estimates the tax due at vesting by multiplying the number of shares by the vesting price and then by the ordinary income tax rate. In symbolic form, the vesting tax is:

Formula: T_v = S ร— P_v ร— R_o

Tv = S ร— Pv ร— Ro

Here, Tv is tax at vesting, S is the number of shares, Pv is the share price at vesting, and Ro is the ordinary income tax rate expressed as a decimal inside the calculation.

Second, it estimates capital gains tax on appreciation after vesting. The gain per share is the sale price minus the vesting price. That difference is multiplied by the number of shares and then by the capital gains tax rate. The formula shown on the page is:

Formula: T_g = S ร— (P_s - P_v) ร— R_c

Tg = S ร— ( Ps - Pv ) ร— Rc

In the script, the gain is capped at zero for tax purposes using Math.max(0, shares * (salePrice - vestPrice)). That means the calculator does not apply a negative capital gains tax when the sale price is below the vesting price. Instead, it treats the taxable gain as zero in that case. This is a deliberate behavior in the current calculator logic and is preserved here.

Finally, the calculator estimates net proceeds by taking gross sale proceeds and subtracting both tax components:

Formula: Net = S ร— P_s - (T_v + T_g)

Net = S ร— Ps - ( Tv + Tg )

This net figure is useful because it translates the stock compensation story into spendable dollars. It is not a full tax return calculation, but it gives a fast estimate of what remains after the modeled taxes are removed.

Example

Suppose you have 1,000 RSU shares vesting at $50 per share. Your ordinary income tax rate for planning purposes is 32%. Later, you sell the shares at $70 per share, and you use a 15% capital gains tax rate for the appreciation after vesting. The calculator first values the vest at $50,000, because 1,000 multiplied by $50 equals $50,000. Applying a 32% ordinary income tax rate gives an estimated vesting tax of $16,000.

Next, the calculator looks at the gain after vesting. The stock rose from $50 to $70, so the gain is $20 per share. Across 1,000 shares, that is a total capital gain of $20,000. At a 15% capital gains tax rate, the estimated tax on that gain is $3,000. Gross sale proceeds are $70,000, and after subtracting the $16,000 vesting tax and the $3,000 capital gains tax, the estimated net proceeds are $51,000.

This example shows why RSUs can feel more valuable on paper than they do in cash. The gross sale value is $70,000, but the estimated amount left after the modeled taxes is $51,000. That difference does not mean RSUs are a poor form of compensation. It simply means taxes are a major part of the planning process, and understanding them helps you avoid surprises.

Worked example for 1,000 RSU shares vesting at $50 and sold at $70
Calculation Step Amount ($)
Gross Vesting Value 50,000
Tax at Vesting (32%) 16,000
Gross Sale Proceeds 70,000
Capital Gain 20,000
Capital Gains Tax (15%) 3,000
Net After-Tax Proceeds 51,000

You can also use the same example to test a downside scenario. If the shares were sold at $45 instead of $70, the calculator would still estimate the vesting tax based on the $50 vesting price, because that tax event already happened when the shares vested. The sale would produce lower proceeds, and because the current script does not model a negative capital gains tax benefit, the capital gains tax would simply be shown as zero rather than a tax credit. That makes the result conservative for loss scenarios.

Limitations and Assumptions

This calculator is a planning tool, not tax advice. It assumes a simplified U.S.-style framework in which RSUs are taxed as ordinary income at vesting and later appreciation is taxed as a capital gain when sold. Real tax outcomes can be more complicated. Federal, state, and local taxes may all matter. Payroll withholding may differ from your true marginal rate. Social Security, Medicare, additional surtaxes, and filing status can change the final result. If you are in a high-income bracket, special taxes such as the Net Investment Income Tax may also apply.

The calculator also assumes one vesting price and one sale price for all shares entered. That is fine for a single vesting event, but it is less precise if you are combining shares from multiple vest dates with different tax bases. In that situation, a spreadsheet or brokerage lot-level analysis may be more accurate. Likewise, the tool does not account for commissions, trading fees, blackout periods, or company-specific restrictions on selling.

Another important limitation is how losses are handled. The JavaScript preserves the original behavior of treating capital gain as no less than zero. In other words, if the sale price is below the vesting price, the calculator does not estimate a capital loss benefit. In real life, a capital loss may offset capital gains and sometimes a limited amount of ordinary income, subject to tax rules. Because that benefit depends on your broader tax picture, the calculator leaves it out rather than guessing.

International situations can be even more complex. Some countries tax equity compensation at grant, some at vest, and some at sale, and cross-border moves can split the tax treatment across jurisdictions. Currency conversion, treaty relief, and social insurance rules may all matter. If your RSUs involve more than one country, use this calculator only as a rough conceptual guide and confirm the details with a qualified professional.

Even with those limitations, the calculator is still useful. It helps you frame the core economics of an RSU event: how much value is recognized as income at vesting, how much later appreciation may be taxed, and what estimated amount remains after those taxes. That is often enough to support better decisions about selling, diversifying, and setting cash aside for tax season.

Planning Considerations

Taxes are only one part of the RSU decision. Concentration risk matters too. If a large share of your income, bonus, and investments all depend on the same employer, holding vested shares may increase your financial exposure to one company. Some employees prefer to sell quickly after vesting to diversify. Others hold because they believe in the companyโ€™s long-term prospects. This calculator does not tell you which choice is best, but it does help you compare the after-tax consequences of each path.

It can also be useful for cash-flow planning. If your employer withholds at a flat supplemental rate but your actual marginal rate is higher, you may owe more at filing time than payroll covered. Running your numbers in advance can help you decide whether to increase estimated payments, save part of the proceeds, or adjust your broader tax plan. In that sense, the calculator is not just about curiosity; it can support practical preparation.

Finally, remember that tax law and personal circumstances change. A move to a different state, a change in income, marriage, or a new tax rule can all affect the rates you should use. Revisit the calculation whenever your assumptions change. A quick update can give you a more realistic estimate and a better basis for action.

Tax details will appear here.