Skip to content
RSUSaver

ESPP tax calculator: separate wages from your stock-sale gain.

Selling shares from your employee stock purchase plan? Use Form 3922 and your sale records to separate wages from capital gain or loss, check your tax basis, and compare how holding periods change the result.

For one lot in a Section 423 qualified plan, sold or planned for sale in 2026. A qualifying sale and long-term capital gain have different holding tests. Educational estimates, not tax advice; inputs stay in your browser.

Sources reviewed : IRS Publication 525 (2025) and Form 3922 (April 2025). No assumed tax rates or contribution limits.

1. Confirm the supported scope

One purchased lot, U.S. federal tax character only. A qualified plan is not the same thing as a qualifying disposition.

Check the plan documents or ask the administrator. A discount alone does not confirm eligibility.

Confirm sale eligibility (required)

This tool covers an ordinary arm’s-length sale of one lot. It does not cover gifts, death, section 83(i), foreign tax, corporate actions, conflict-of-interest sales, unusual transfer restrictions, or sales spanning multiple lots.

Buying limits and payroll enrollment optimization are not modeled. Unknown eligibility or an excluded transaction needs plan-administrator or tax-professional review before you can use this estimate.

2. Enter the purchase details

Use Form 3922 (April 2025) and your lot records. No employer name, account number, or tax ID is needed.

Acquisition date: Enter purchase date above

Box 7 records a transfer by you, not necessarily the date you acquired the shares.

Use the price as if exercised on the grant date, not the actual box 5 price. If unknown, ask the administrator before calculating.

From purchase / lot records. Do not assume box 6 is the lot total.

Optional Form 3922 cross-checks
Optional

Reference only; may differ from your lot or shares sold. Not used in the calculation.

Optional

Reference only; does not set your acquisition date or holding period.

3. Describe the 2026 sale

Positive, including fractional shares; cannot exceed the identified lot shares.

Enter zero if none. Fees reduce proceeds, not the compensation formula.

Optional tax estimate and reported amounts

Enter both marginal rates or leave both blank. These are your assumptions, not rates inferred from income or forecasts for future years.

Optional

No default. Used for compensation and positive short-term capital gains.

Optional

No default. Used only for positive long-term capital gains.

Optional

Not total W-2 wages. Blank means unknown; zero means confirmed none.

Optional

Use the 1099-B and supplemental statement. Blank means unknown.

Inputs stay in this page’s memory, not storage, URLs, analytics, or outbound links. After an edit, recalculate to see an updated result. Read the method and sources.

Method and Form 3922 mapping

This is a single-lot U.S. federal disposition worksheet, not a completed tax return. The plan must be qualified under Section 423, and the transaction must be an ordinary arm’s-length sale. Plan qualification concerns the plan; qualifying disposition concerns the holding periods of your particular sale.

The mapping below follows the Form 3922 employee instructions (April 2025). Use purchase and lot records alongside the form. Do not enter an employer name, account number, or tax ID.

Box 1 → grant date; box 2 → exercise / purchase date
The actual acquisition or transfer-to-you date is a separate plan-record fact. The calculator initially uses the purchase date, but requires an explicit confirmation or a different date.
Box 3 → grant-date fair market value per share
Do not substitute the purchase-date or current price.
Box 4 → exercise-date fair market value per share
Used to calculate wages when the sale does not meet both qualifying holding tests.
Box 5 → actual price paid per share
This is the purchase cost, before adding compensation to calculate adjusted tax basis.
Box 6 → shares whose legal title was transferred by you
This is not automatically your full lot or the shares in this sale. Enter lot size and shares sold from your lot records. Partial and fractional lots are supported; box 6 is only an optional cross-check.
Box 7 → date legal title was first transferred by you
This is not automatically the date you acquired the shares. The optional reference field never sets the holding-period start.
Box 8 → hypothetical grant-date exercise price per share
For variable or lookback pricing, this is the price as if you exercised on the grant date. Do not substitute the actual purchase price. For a price fixed at grant, box 8 is normally blank: use the documented fixed option price. Ask the administrator if you do not have that price.
Sale records → date, shares, gross price per share, and selling fees
Use a 2026 actual or planned sale date. Enter the price before fees. Ordinary / short-term and long-term marginal tax rates are optional; enter both or neither.
Payroll and broker records → optional reported amounts for this sale
Already-reported W-2 compensation and broker-reported basis are reconciliation references, not extra income or extra basis to add automatically. Do not enter total annual W-2 wages.

Prices outside the supported Section 423 rules block calculation for administrator or tax-professional review. The grant-date exercise price must be at least 85% of grant-date fair market value; the purchase price must be at least 85% of the lower of grant-date and exercise-date fair market value. Fixed-price plans must also match the documented fixed price, within one cent per share. That allowance is for entered-price rounding, not an IRS safe harbor. See the detailed pricing rules and sources.

Two holding tests, plus a separate capital holding period

Under Publication 525’s statutory-option and ESPP rules and 26 U.S.C. §423(a), a qualifying sale completes both the two-year period after grant and the one-year period after transfer to you. This tool conservatively displays the day after the later calendar anniversary as “qualifying from.” Civil calendar anniversaries preserve month ends, including leap years, rather than counting 730 or 365 elapsed days.

Under Publication 525, the capital holding period starts the day after exercise / purchase, not the acquisition / transfer-to-you date or payroll-deduction dates. IRS Topic 409 describes long-term holdings as more than one year. Disqualifying compensation and long-term capital gain can coexist when the exercise-based capital holding period is long-term but either qualifying holding test remains incomplete. The one-year qualifying test still runs from transfer to you.

The month-end method follows Rev. Rul. 66-7, 1966-1 C.B. 188 (reproduced). That historical ruling illustrates a six-month holding period, not today's duration; Topic 409 supplies the current more-than-one-year rule. Applying month-end anniversaries to leap-year ESPP boundaries is a conservative interpretation, not a published IRS February 28 ESPP example.

The comparison shows only date intervals that exist for the lot. If both qualifying holding periods are already complete when the exercise-based capital holding period becomes long-term, there is no disqualifying / long-term window. Dates outside 2026 are hypothetical character comparisons, not future tax forecasts or a claim that you can trade on those dates.

Compensation, basis, and gain

The method follows Publication 525 (2025), ESPP Examples 9–11, and §423(c). Compensation is the part treated as wages; capital gain or loss is what remains after your adjusted basis and selling fees.

  • Qualifying sale: wages are generally the smaller of the grant-date discount or your gain over the purchase price, before selling fees, but never less than zero in this model.
  • Disqualifying sale: wages are the exercise-date value minus what you paid, multiplied by shares sold. Unlike the applicable ISO rule, this amount is not capped at the sale profit. You can have wages and a capital loss on the same sale.
  • Adjusted basis: what you paid for the shares sold, plus compensation. Do not add compensation again if the broker already included it.
  • Capital gain or loss: sale proceeds after selling fees, minus adjusted basis.

The detailed formulas for your tax professional show each step, including how wages and capital gain reconcile to the economic gain.

Publication 525 Example 9’s payroll deductions buy 12 shares at $20 each: deductions do not create separate holding dates. In Example 10, 100 shares with a $20 fixed purchase price, $22 grant FMV, and $30 sale price produce $200 compensation, $2,200 adjusted basis, and $800 long-term gain after the holding tests. Example 11’s earlier sale at the same price instead uses $23 exercise FMV: $300 compensation, $2,300 adjusted basis, and $700 short-term gain. These are the IRS’s historical examples, not assumptions about your inputs or tax rates.

A tax-character illustration, not “the savings from waiting”

When you supply both marginal rates, the optional gain-only estimate is compensation × your ordinary rate + max(0, capital gain / loss) × your applicable short- or long-term rate. The wage-tax component and capital loss are shown separately. This deliberately includes no assumed tax benefit from losses; actual capital-loss use depends on the rest of the return under Topic 409.

All timing scenarios hold shares, gross sale price, fees, and entered rates constant. They isolate character, not future market returns or future tax law. Qualifying is not always cheaper: after a declining lookback purchase, its grant-date discount can create more compensation than the exercise-date spread. Nothing here recommends holding concentrated employer stock or guarantees a refund.

No NIIT, state or foreign tax, payroll tax, bracket transitions, other gains or losses, wash-sale adjustments, or estimated-payment determination is included. For compensation-related cash planning, the withholding and quarterly-payment guide explains additional questions; an ESPP result is not a safe-harbor determination.

Reconcile W-2 and 1099-B reporting once

Your employer commonly reports the compensation on Form W-2. Your broker’s 1099-B may omit it from basis. Compare calculated compensation with the amount already reported for this sale, and calculated adjusted basis with this sale’s broker-reported basis. A difference is a review flag, not an instruction to duplicate wages or add compensation to an already-adjusted basis.

The calculator does not fill Form 8949 or choose an adjustment code. Match your records and the broker’s basis-reporting status before filing. The cost-basis guide explains the reporting paths using RSU examples; ESPP compensation is computed differently from an RSU’s vest / settlement value.

When this worksheet is not enough

Nonqualified ESPPs, gifts, death, section 83(i), foreign tax, corporate actions, conflict-of-interest sales, unusual transfer restrictions, and multi-lot adjustments are outside scope. An unknown qualified-plan status or an excluded transaction blocks calculation. Ask your administrator or tax professional rather than treating a standard result as applicable.

Buying limits, payroll enrollment optimization, return-wide loss netting, wash sales, and amended-return advice are not modeled. RSUs and ISOs have different rules: use the RSU withholding calculator, ISO AMT calculator, or concentration and liquidity worksheet for those separate questions.

Sources, assumptions, and disclosure

Reviewed . Supported sale year: 2026. The source editions above are Publication 525 (2025) and Form 3922 (April 2025); future-year rates are not forecast. See the ESPP methodology.

Educational estimates only; not tax, legal, accounting, or investment advice. Confirm plan records and full-return treatment with a CPA or EA. Printed summaries contain the financial information you entered; store or share them carefully.

Affiliate disclosure: after a valid result, an optional tax-help link goes to 1-800Accountant. We may earn a commission at no extra cost to you. The provider determines service fit; individual ESPP expertise and availability are not guaranteed. No financial inputs are included in that link or analytics.