RSU Cost Basis Calculator

Use this RSU cost basis calculator to determine the cost basis for your Restricted Stock Units (RSUs) for tax reporting purposes, including capital gains and losses.

Select the currency for your RSU values.
Total shares that vested on the vesting date.
Stock price on the day your RSUs officially vested.
Shares withheld by your employer to cover income taxes at vesting.
Price per share at which you sold the remaining shares.
The date your RSUs officially became yours (vested).
The date you sold the remaining shares.
Percentage fee charged by your broker on the sale transaction.

Calculation Results

Total Cost Basis for Sold Shares
Shares Available for Sale
Total Value at Vesting (All RSUs)
Value of Shares Withheld for Taxes
Cost Basis per Share
Total Sale Proceeds (Net of Fees)
Total Capital Gain/Loss
Holding Period Classification

The cost basis for RSUs is generally the Fair Market Value (FMV) on the vesting date. This calculator specifically determines the cost basis for the shares you kept and later sold, which is used to calculate capital gains or losses.

Visual representation of key financial outcomes.

Detailed Breakdown

Detailed RSU Cost Basis and Sale Transaction Summary
Metric Value Description
RSUs Vested Total shares received on vesting.
FMV per Share at Vesting Market price per share on vesting date.
Total Value at Vesting Total market value of all vested RSUs.
RSUs Withheld for Taxes Shares sold to cover income tax at vesting.
Value Withheld (Taxes Paid) Monetary value of shares withheld for taxes.
Shares Available for Sale Number of shares remaining after tax withholding.
Cost Basis per Share FMV per share at vesting, used for capital gains.
Total Cost Basis for Sold Shares Aggregate cost basis for the shares you sold.
Sale Price per Share Price at which you sold each remaining share.
Brokerage Sell Fee Fee percentage applied to total sale value.
Total Sale Proceeds (Net) Total cash received after selling and fees.
Capital Gain/Loss Difference between net sale proceeds and total cost basis.
Holding Period Time shares were held after vesting.

What is RSU Cost Basis?

Restricted Stock Units (RSUs) are a common form of equity compensation granted by companies to their employees. Unlike stock options, RSUs represent a promise to deliver company shares (or their cash equivalent) once certain vesting conditions are met, such as working for a specific period. When RSUs vest, they are considered ordinary income, and their fair market value (FMV) on the vesting date is added to your taxable income.

The RSU cost basis is a critical concept for tax purposes, specifically when you eventually sell the shares you received from your vested RSUs. It represents the original value of the asset for tax calculation. For RSUs, your cost basis per share is generally the Fair Market Value (FMV) of the stock on the vesting date. This is because the value of the shares at vesting is already taxed as ordinary income, effectively becoming your "purchase price" for tax purposes.

Who should use an RSU Cost Basis Calculator? Anyone who has received RSUs as part of their compensation and plans to sell those shares should use this RSU cost basis calculator. It's essential for accurate tax reporting to the IRS (or relevant tax authority) to determine your capital gains or losses.

Common Misunderstandings about RSU Cost Basis:

RSU Cost Basis Formula and Explanation

Calculating the RSU cost basis for shares you sell involves a straightforward formula, but it's crucial to understand each component. The core idea is that the value already taxed as ordinary income becomes your basis.

The Formula:

Cost Basis per Share = Fair Market Value (FMV) per Share on Vesting Date

Shares Available for Sale = Total RSUs Vested - Number of RSUs Withheld for Taxes

Total Cost Basis (for shares sold) = Shares Available for Sale × Cost Basis per Share

Total Sale Proceeds (Net) = (Shares Available for Sale × Sale Price per Share) - Brokerage Sell Fee

Capital Gain/Loss = Total Sale Proceeds (Net) - Total Cost Basis (for shares sold)

Variable Explanations:

Key Variables for RSU Cost Basis Calculation
Variable Meaning Unit Typical Range
Number of RSUs Vested The total number of Restricted Stock Units that successfully completed their vesting schedule. Shares (unitless count) 10 - 100,000+
FMV per Share at Vesting The market price of one company share on the exact date your RSUs vested. This is your effective "purchase price" for tax basis. Currency (e.g., $) $1.00 - $5,000.00+
Number of RSUs Withheld for Taxes The number of shares your employer automatically sold or withheld at vesting to cover your immediate income tax obligations. Shares (unitless count) 0 - 50% of vested shares
Sale Price per Share The market price of one company share on the date you sold your remaining vested RSUs. Currency (e.g., $) $1.00 - $5,000.00+
Vesting Date The specific date on which your RSUs met their conditions and became fully owned by you. Date Any valid past date
Sale Date The specific date on which you executed the sale of your remaining vested RSUs. Date Any valid past date (after vesting)
Brokerage Sell Fee A percentage fee charged by your brokerage when you sell shares. This reduces your net sale proceeds. Percentage (%) 0% - 2%

Practical Examples of RSU Cost Basis Calculation

Let's look at a couple of scenarios to illustrate how the rsu cost basis calculator works and how different factors affect your capital gains or losses.

Example 1: Long-Term Gain

Inputs:

  • RSUs Vested: 100 shares
  • FMV per Share at Vesting: $50.00 (Vesting Date: Jan 15, 2022)
  • RSUs Withheld for Taxes: 22 shares
  • Sale Price per Share: $75.00 (Sale Date: Feb 20, 2023)
  • Brokerage Sell Fee: 0.15%

Calculation:

  • Shares Available for Sale: 100 - 22 = 78 shares
  • Cost Basis per Share: $50.00
  • Total Cost Basis: 78 shares × $50.00 = $3,900.00
  • Gross Sale Proceeds: 78 shares × $75.00 = $5,850.00
  • Brokerage Fee: 0.15% of $5,850.00 = $8.78
  • Net Sale Proceeds: $5,850.00 - $8.78 = $5,841.22
  • Capital Gain/Loss: $5,841.22 - $3,900.00 = $1,941.22 Gain
  • Holding Period: Over one year (Long-Term Capital Gain)

In this example, the employee realized a long-term capital gain of $1,941.22, which would be taxed at favorable long-term capital gains rates.

Example 2: Short-Term Loss

Inputs:

  • RSUs Vested: 200 shares
  • FMV per Share at Vesting: $150.00 (Vesting Date: March 10, 2023)
  • RSUs Withheld for Taxes: 44 shares
  • Sale Price per Share: $120.00 (Sale Date: May 20, 2023)
  • Brokerage Sell Fee: 0.15%

Calculation:

  • Shares Available for Sale: 200 - 44 = 156 shares
  • Cost Basis per Share: $150.00
  • Total Cost Basis: 156 shares × $150.00 = $23,400.00
  • Gross Sale Proceeds: 156 shares × $120.00 = $18,720.00
  • Brokerage Fee: 0.15% of $18,720.00 = $28.08
  • Net Sale Proceeds: $18,720.00 - $28.08 = $18,691.92
  • Capital Gain/Loss: $18,691.92 - $23,400.00 = -$4,708.08 Loss
  • Holding Period: Less than one year (Short-Term Capital Loss)

Here, the employee incurred a short-term capital loss of $4,708.08. Short-term losses can be used to offset short-term gains, and up to $3,000 of net capital losses can offset ordinary income per year.

How to Use This RSU Cost Basis Calculator

Our rsu cost basis calculator is designed for ease of use, providing clear and accurate results for your tax planning. Follow these steps:

  1. Select Your Currency: Choose the appropriate currency symbol (e.g., $, €, £) from the dropdown. This will update the display for all monetary values.
  2. Enter RSUs Vested: Input the total number of Restricted Stock Units that vested on a particular date. This information can typically be found on your brokerage statements or company HR portal.
  3. Enter FMV at Vesting: Provide the Fair Market Value (FMV) per share on the exact date your RSUs vested. This is the crucial figure for establishing your cost basis and is usually reported on your Form W-2.
  4. Input RSUs Withheld for Taxes: Enter the number of shares that were automatically withheld by your employer to cover the income tax due at vesting.
  5. Enter Sale Price per Share: If you sold your shares, input the price per share at which you executed the sale.
  6. Specify Vesting Date: Select the date your RSUs vested. This is vital for determining the holding period.
  7. Specify Sale Date: Select the date you sold the shares. This, along with the vesting date, determines if your gain/loss is short-term or long-term.
  8. Enter Brokerage Sell Fee: Input any percentage fee your brokerage charges on the sale transaction. This will reduce your net sale proceeds.
  9. Review Results: The calculator will automatically update with your:
    • Total Cost Basis for Sold Shares: The primary value for capital gains calculation.
    • Shares Available for Sale
    • Total Value at Vesting (All RSUs)
    • Value of Shares Withheld for Taxes
    • Cost Basis per Share
    • Total Sale Proceeds (Net of Fees)
    • Total Capital Gain/Loss
    • Holding Period Classification (Short-term or Long-term)
  10. Use the "Copy Results" Button: Easily copy all calculated values to your clipboard for record-keeping or tax preparation.
  11. Use the "Reset" Button: Clear all inputs and restore default values if you wish to start a new calculation.

Interpreting Results: A positive "Capital Gain/Loss" indicates a gain, while a negative value indicates a loss. The holding period determines how your gain or loss will be taxed. Consult a tax professional for personalized advice.

Key Factors That Affect RSU Cost Basis and Capital Gains

Understanding the elements that influence your rsu cost basis calculator results and subsequent tax liability is crucial for effective tax planning.

  1. Fair Market Value (FMV) at Vesting Date: This is the single most important factor for determining your cost basis. A higher FMV at vesting means a higher cost basis, which generally leads to a lower capital gain (or a larger capital loss) when you sell, assuming the sale price is fixed.
  2. Number of RSUs Vested: More vested RSUs mean a larger total value at vesting, which translates to a higher total income reported on your W-2 and, consequently, a higher total cost basis for the shares you retain.
  3. Number of RSUs Withheld for Taxes: The shares withheld by your employer reduce the number of shares you actually receive and can sell. This directly impacts the "Shares Available for Sale" and thus the total capital gain/loss calculation.
  4. Sale Price per Share: While not directly affecting the *cost basis* itself, the sale price is critical for determining your overall capital gain or loss. A higher sale price relative to your cost basis will result in a larger capital gain.
  5. Holding Period (Vesting Date to Sale Date): The length of time you hold the shares after vesting dictates whether your capital gain or loss is considered short-term (held for one year or less) or long-term (held for more than one year). This significantly impacts the tax rate applied to your gains.
  6. Brokerage Sell Fees/Commissions: These fees reduce your net sale proceeds, thereby increasing a capital loss or decreasing a capital gain. While often small, they are a legitimate expense that affects your final profit or loss.
  7. Tax Withholding Rate: While not a direct input to the *cost basis* calculation, the actual percentage of shares withheld for taxes (driven by your tax bracket and withholding elections) impacts how many shares you receive vs. how many cover your immediate tax burden.

Frequently Asked Questions (FAQ) about RSU Cost Basis

Q: What is the difference between the grant price and the cost basis for RSUs?

A: The grant price is the stock price when your RSUs were initially granted to you. The cost basis for RSUs, however, is the Fair Market Value (FMV) of the stock on the vesting date. The grant price is generally irrelevant for RSU cost basis calculations.

Q: How do taxes affect my RSU cost basis?

A: When your RSUs vest, their FMV on that date is added to your ordinary income and taxed. This amount then becomes your cost basis. If shares are withheld for taxes, their value also contributes to your income and basis for tax purposes, but you only calculate capital gains on the shares you actually receive and later sell.

Q: Is RSU cost basis always the FMV at vesting?

A: Generally, yes. For most common RSU plans, the cost basis for the shares you receive and subsequently sell is their Fair Market Value (FMV) on the vesting date. There might be rare exceptions or complex situations (e.g., foreign tax implications), but FMV at vesting is the standard.

Q: What if I sell my RSUs immediately after vesting?

A: If you sell your RSUs immediately upon vesting, your sale price will likely be very close to your FMV at vesting (your cost basis). This typically results in a very small capital gain or loss, often negligible, because there's little time for the stock price to change significantly. Any gain or loss would be short-term.

Q: How do I calculate capital gains or losses for my RSUs?

A: Capital gain or loss is calculated as: (Net Sale Proceeds) - (Total Cost Basis for Sold Shares). Net Sale Proceeds are your total sale value minus any brokerage fees. Total Cost Basis is the FMV at vesting multiplied by the number of shares you sold.

Q: What's the difference between short-term and long-term capital gains/losses for RSUs?

A: If you sell your vested RSU shares one year or less from the vesting date, any gain or loss is considered short-term. If you sell them more than one year after the vesting date, it's long-term. Short-term capital gains are taxed at your ordinary income tax rate, while long-term capital gains typically receive more favorable tax rates.

Q: Do brokerage fees affect my RSU cost basis?

A: Brokerage fees typically do not directly affect your RSU cost basis. Your cost basis is established by the FMV at vesting. However, brokerage fees (and other selling expenses) reduce your net sale proceeds, which in turn affects the calculation of your capital gain or loss.

Q: Can I choose my cost basis method (e.g., FIFO, LIFO) for RSUs?

A: If you have multiple RSU grants vesting at different times or acquire shares through other means, you might be able to choose a cost basis method (e.g., First-In, First-Out (FIFO), Last-In, First-Out (LIFO), or specific identification) for reporting sales to the IRS. Consult your broker or a tax advisor for specifics on how this applies to your situation.

🔗 Related Calculators