RSU Cost Basis Calculator
Accurately determine the cost basis for your Restricted Stock Units (RSUs) to manage taxes and understand your capital gains.
Calculate Your RSU Cost Basis
Total number of RSU shares initially granted to you.
The market price of one share on the date your RSUs vested. This is your taxable income.
Number of shares your employer withheld to cover income taxes at vesting.
The market price of one share on the date you sold your vested RSUs.
Any fees charged by your broker for selling each share. Enter 0 if none.
Your RSU Cost Basis Results
Formula Used:
Your RSU cost basis per share is generally the Fair Market Value (FMV) on the vesting date. This is because the FMV at vesting is treated as ordinary income and taxed accordingly. When you sell, any difference between the sale price and this vesting FMV (adjusted for fees) is a capital gain or loss.
RSU Value & Gain/Loss Visualization
This chart illustrates the total value at vesting, total net proceeds from sale, and the resulting capital gain or loss.
RSU Vesting & Sale Summary
| Metric | Value | Description |
|---|---|---|
| Shares Granted | 0 | Initial RSU grant. |
| Vesting FMV/Share | $0.00 | Market value on vesting date. |
| Shares Withheld for Tax | 0 | Shares sold by employer for tax. |
| Net Shares Received | 0 | Shares you actually received. |
| Sale FMV/Share | $0.00 | Market value on sale date. |
| Brokerage Fee/Share | $0.00 | Fees incurred during sale. |
| Total Taxable Income | $0.00 | Ordinary income reported on W-2. |
| Total Cost Basis | $0.00 | Basis for capital gains calculation. |
| Total Net Proceeds | $0.00 | Money received after selling. |
| Capital Gain/Loss | $0.00 | Profit or loss from sale. |
A summary of key financial figures related to your RSU grant, vesting, and sale.
What is an RSU Cost Basis Calculator?
An RSU Cost Basis Calculator is a specialized financial tool designed to help individuals determine the accurate cost basis of their Restricted Stock Units (RSUs) for tax purposes. When you receive RSUs as part of your compensation, they are not immediately yours; they vest over time. Upon vesting, the fair market value (FMV) of these shares is considered ordinary income and is subject to income tax. This vesting FMV then becomes your cost basis for the shares you receive.
Understanding your RSU cost basis is crucial because it directly impacts the calculation of capital gains or losses when you eventually sell those shares. Without a correct cost basis, you risk overpaying taxes or facing issues with the IRS. This RSU Cost Basis Calculator simplifies a complex calculation, providing clarity on your tax obligations.
Who Should Use an RSU Cost Basis Calculator?
- Employees receiving RSUs: Anyone compensated with Restricted Stock Units needs to track their cost basis for tax reporting.
- Tax preparers: Professionals assisting clients with equity compensation can use this tool for accurate calculations.
- Financial planners: To help clients understand the tax implications of their equity awards and plan for future sales.
- Individuals planning to sell RSUs: Before selling, it’s vital to know your potential capital gains or losses.
Common Misconceptions About RSU Cost Basis
Many people misunderstand how RSUs are taxed. Here are a few common misconceptions:
- “RSUs are tax-free until I sell them.” Incorrect. The value of RSUs at vesting is considered ordinary income and is taxed at that time, even if you don’t sell the shares.
- “My cost basis is $0 because I didn’t pay for the shares.” Also incorrect. Your cost basis is the Fair Market Value (FMV) of the shares on the vesting date, as this is the amount you reported as ordinary income.
- “All my RSU income is capital gains.” No. The income recognized at vesting is ordinary income. Only the appreciation (or depreciation) from the vesting date to the sale date is considered a capital gain or loss.
RSU Cost Basis Formula and Mathematical Explanation
The calculation of RSU cost basis involves several steps, primarily focusing on the vesting event and subsequent sale. The core principle is that the value of the RSUs at vesting is treated as ordinary income, and this value then becomes the cost basis for capital gains calculations.
Step-by-Step Derivation:
- Determine Total Value at Vesting: This is the total market value of all granted shares on the vesting date.
Total Value at Vesting = Number of RSU Shares Granted × Vesting Date FMV per Share - Calculate Total Taxable Income at Vesting: This amount is reported on your W-2 and is subject to ordinary income tax.
Total Taxable Income at Vesting = Total Value at Vesting - Determine Net Shares Received: Employers typically withhold a portion of shares to cover taxes at vesting.
Net Shares Received = Number of RSU Shares Granted - Number of Shares Withheld for Taxes - Calculate Total Cost Basis of Shares Received: For the shares you actually receive and hold, their total cost basis for capital gains purposes is their value at vesting.
Total Cost Basis of Shares Received = Net Shares Received × Vesting Date FMV per Share - Calculate Total Proceeds from Sale: This is the total amount you receive from selling your shares before any brokerage fees.
Total Proceeds from Sale = Net Shares Received × Sale Date FMV per Share - Calculate Total Brokerage Fees: Fees incurred when selling the shares.
Total Brokerage Fees = Net Shares Received × Brokerage Commission/Fees per Share on Sale - Calculate Total Net Proceeds from Sale: The actual cash you receive after selling and paying fees.
Total Net Proceeds from Sale = Total Proceeds from Sale - Total Brokerage Fees - Calculate Total Capital Gain/Loss: This is the difference between your net proceeds from the sale and the cost basis of the shares you sold.
Total Capital Gain/Loss = Total Net Proceeds from Sale - Total Cost Basis of Shares Received
Variable Explanations:
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
numSharesGranted |
Total RSU shares initially granted. | Shares | 100 – 100,000+ |
vestingFMV |
Fair Market Value per share on vesting date. | USD ($) | $10 – $1,000+ |
sharesWithheld |
Number of shares withheld by employer for taxes. | Shares | 0 – 50% of granted shares |
saleFMV |
Fair Market Value per share on sale date. | USD ($) | $10 – $1,000+ |
brokerageFeePerShare |
Commission or fees charged by broker per share for selling. | USD ($) | $0 – $0.10 |
Practical Examples (Real-World Use Cases)
Example 1: RSU Gain Scenario
Sarah received 500 RSUs. They vested when the company stock was trading at $75 per share. Her employer withheld 180 shares to cover taxes. A few months later, she decided to sell her remaining shares when the stock price was $90 per share. Her broker charged a $0.02 per share fee.
- Number of RSU Shares Granted: 500
- Vesting Date FMV per Share: $75.00
- Number of Shares Withheld for Taxes: 180
- Sale Date FMV per Share: $90.00
- Brokerage Commission/Fees per Share on Sale: $0.02
Calculations:
- Total Value at Vesting: 500 shares × $75 = $37,500
- Total Taxable Income at Vesting: $37,500
- Net Shares Received: 500 – 180 = 320 shares
- Total Cost Basis of Shares Received: 320 shares × $75 = $24,000
- Total Proceeds from Sale: 320 shares × $90 = $28,800
- Total Brokerage Fees: 320 shares × $0.02 = $6.40
- Total Net Proceeds from Sale: $28,800 – $6.40 = $28,793.60
- Total Capital Gain/Loss: $28,793.60 – $24,000 = $4,793.60 (Gain)
Sarah will report $37,500 as ordinary income and a long-term or short-term capital gain of $4,793.60, depending on her holding period after vesting. This is why an RSU Cost Basis Calculator is so important.
Example 2: RSU Loss Scenario
David received 1,200 RSUs. They vested when the stock was $120 per share. His employer withheld 450 shares for taxes. He held the remaining shares for a year, but the stock price dropped significantly. He sold them at $100 per share, incurring a $0.03 per share brokerage fee.
- Number of RSU Shares Granted: 1,200
- Vesting Date FMV per Share: $120.00
- Number of Shares Withheld for Taxes: 450
- Sale Date FMV per Share: $100.00
- Brokerage Commission/Fees per Share on Sale: $0.03
Calculations:
- Total Value at Vesting: 1,200 shares × $120 = $144,000
- Total Taxable Income at Vesting: $144,000
- Net Shares Received: 1,200 – 450 = 750 shares
- Total Cost Basis of Shares Received: 750 shares × $120 = $90,000
- Total Proceeds from Sale: 750 shares × $100 = $75,000
- Total Brokerage Fees: 750 shares × $0.03 = $22.50
- Total Net Proceeds from Sale: $75,000 – $22.50 = $74,977.50
- Total Capital Gain/Loss: $74,977.50 – $90,000 = -$15,022.50 (Loss)
David will report $144,000 as ordinary income and a capital loss of $15,022.50. This loss can be used to offset other capital gains and potentially a limited amount of ordinary income, highlighting the importance of accurate tracking with an RSU Cost Basis Calculator.
How to Use This RSU Cost Basis Calculator
Our RSU Cost Basis Calculator is designed for ease of use, providing clear and actionable insights into your equity compensation. Follow these simple steps to get your results:
- Enter “Number of RSU Shares Granted”: Input the total number of shares your company initially granted to you. This is usually found on your grant statement.
- Enter “Vesting Date Fair Market Value (FMV) per Share ($)”: This is the crucial figure. Find the market price of your company’s stock on the exact date your RSUs vested. Your brokerage statement or company’s equity platform should provide this.
- Enter “Number of Shares Withheld for Taxes”: Your employer typically sells a portion of your vested shares to cover the income taxes due at vesting. Enter the number of shares withheld.
- Enter “Sale Date Fair Market Value (FMV) per Share ($)”: If you have sold your shares, enter the market price per share on the date of sale. If you haven’t sold them yet, you can use a hypothetical future price to estimate potential gains/losses.
- Enter “Brokerage Commission/Fees per Share on Sale ($)”: Input any per-share fees your brokerage charges for selling the shares. If your broker charges a flat fee, divide it by the number of shares sold to get a per-share amount, or enter 0 if there are no fees.
- Click “Calculate RSU Basis”: The calculator will instantly process your inputs and display the results.
How to Read the Results:
- Total Capital Gain/Loss: This is the primary result, indicating the profit or loss from selling your shares relative to their cost basis. A positive number is a gain, a negative is a loss.
- Total Value at Vesting: The total market value of all your granted shares on the vesting date.
- Total Taxable Income at Vesting (W-2): This is the amount you recognized as ordinary income when your RSUs vested, which is reported on your W-2.
- Net Shares Received After Withholding: The actual number of shares you received after your employer withheld some for taxes.
- Total Cost Basis of Shares Received: The total value of the shares you received, based on their vesting date FMV. This is your basis for capital gains calculations.
- Total Net Proceeds from Sale: The total cash you received from selling your shares, after accounting for brokerage fees.
Decision-Making Guidance:
Use these results to inform your financial decisions. A significant capital gain might prompt you to consider tax-loss harvesting strategies, while a capital loss can offset other gains. Understanding your taxable income at vesting helps with budgeting for tax season. This RSU Cost Basis Calculator is a powerful tool for proactive financial planning.
Key Factors That Affect RSU Cost Basis Results
Several critical factors influence the calculation of your RSU cost basis and the ultimate capital gain or loss. Being aware of these can help you better manage your equity compensation and tax obligations.
- Vesting Date Fair Market Value (FMV): This is arguably the most important factor. The stock price on the exact day your RSUs vest determines your ordinary income and establishes your cost basis per share. A higher FMV at vesting means higher ordinary income and a higher cost basis.
- Number of Shares Withheld for Taxes: Employers typically withhold a percentage of shares to cover income taxes at vesting. The more shares withheld, the fewer shares you receive, but the cost basis per share remains the vesting FMV. This impacts the total number of shares you have to sell and thus the total capital gain/loss.
- Sale Date Fair Market Value (FMV): The stock price on the day you sell your shares directly determines your sale proceeds. If the sale FMV is higher than the vesting FMV, you’ll have a capital gain; if lower, a capital loss.
- Brokerage Commissions and Fees: Any fees incurred during the sale of your shares (e.g., trading commissions) reduce your net proceeds and can slightly impact your capital gain/loss calculation. While often small, they add up for large transactions.
- Holding Period (Short-term vs. Long-term): The time between your vesting date and your sale date determines if your capital gain/loss is short-term (held for one year or less) or long-term (held for more than one year). Long-term capital gains are generally taxed at lower rates than short-term gains, which are taxed at ordinary income rates. This is a crucial consideration for tax planning.
- Company Stock Performance: The overall performance of your company’s stock between the vesting date and the sale date is the primary driver of whether you realize a capital gain or loss. Volatile stocks can lead to significant swings.
- Tax Laws and Your Individual Tax Bracket: While not directly part of the cost basis calculation, current tax laws (federal, state, local) and your personal income tax bracket significantly affect the net financial outcome of your RSUs. Changes in tax rates can alter the attractiveness of holding versus selling.
Frequently Asked Questions (FAQ)
Q: What is the difference between RSU vesting and exercise?
A: RSUs vest, meaning they become your property after a specified period or performance condition. There’s no “exercise” involved like with stock options. Once vested, they are typically delivered to your brokerage account. The vesting event is when you recognize ordinary income.
Q: Is the grant date FMV relevant for RSU cost basis?
A: No, the grant date FMV is generally not relevant for calculating the cost basis of RSUs. Your cost basis is established by the Fair Market Value (FMV) on the vesting date, as this is when the income is recognized and taxed.
Q: How do I find my RSU vesting date FMV?
A: Your brokerage statement, company’s equity compensation portal, or W-2 form (specifically Box 14, often labeled “RSU Income” or similar) should provide the vesting date FMV. It’s the price used to calculate the ordinary income reported to you.
Q: What if my employer didn’t withhold shares for taxes?
A: If your employer didn’t withhold shares, you would have received all granted shares. However, you are still responsible for the income taxes due on the vesting value. You would need to pay these taxes out of pocket or sell some shares yourself. The cost basis per share remains the vesting FMV.
Q: Can I have a capital loss even if the stock price went up overall?
A: Yes. If the stock price at the time of sale is lower than the stock price on your vesting date, you will incur a capital loss, even if the stock price is higher than it was on the grant date. The RSU Cost Basis Calculator helps clarify this.
Q: How does the holding period affect my RSU taxes?
A: If you sell your vested RSUs within one year of the vesting date, any capital gain or loss is considered “short-term” and taxed at your ordinary income tax rate. If you hold them for more than one year after vesting, any gain or loss is “long-term” and typically taxed at lower, more favorable capital gains rates.
Q: Do I need to report RSU income if I don’t sell the shares?
A: Yes. The value of your RSUs at vesting is considered ordinary income and is reported on your W-2. You must pay income taxes on this amount, regardless of whether you sell the shares immediately or hold them.
Q: What if I have multiple RSU grants vesting at different times?
A: Each RSU grant and vesting event is treated separately. You will have a distinct vesting date FMV (and thus cost basis) for each batch of shares that vests. You should track each vesting event individually, and this RSU Cost Basis Calculator can be used for each batch.
Related Tools and Internal Resources
To further assist you in managing your equity compensation and financial planning, explore these related tools and resources:
- RSU Tax Implications Guide: A detailed guide explaining the tax treatment of Restricted Stock Units from grant to sale.
- Stock Option Calculator: Calculate the potential value and tax implications of your stock options (ISOs and NSOs).
- Capital Gains Tax Calculator: Estimate the capital gains tax you might owe on various investments, including RSU sales.
- Net Worth Tracker: Monitor your overall financial health, including the value of your equity compensation.
- Financial Planning Tools: A collection of resources to help you plan for retirement, investments, and major life goals.
- Equity Compensation Guide: Comprehensive information on all types of equity awards, their benefits, and tax considerations.