Instant Calculations

Free Stock Purchase Plan Calculator

Model stock purchase scenarios with an entered discount and optional ESPP lookback. Inspect purchase-date spread, a constant-return projection, and a simplified ESPP federal-tax scenario. Plan limits and DSPP tax are not calculated.

ESPP & Direct Plans
ESPP Tax Scenario
100% Free

Plan Parameters

Payroll percentage is plan-specific, not an IRS 15% salary limit.

IRS limit: max 15% discount for Section 423

Enabled

Uses lower of offering-start or purchase-date price

Tax scenario uses a representative lot; exact grant/purchase/sale dates govern qualification.

Scenario only: fractional shares and identical first-year purchase periods; no fees, dividends, withholding or plan purchase limits. Section 423’s $25,000 grant-date-FMV accrual rule across plans is not enforced here. Confirm permitted contributions with the plan administrator.

Purchase Price

$127.50

25.00% effective discount

Shares per Period

39.2157

78.43 shares/year

Unrealized Spread per Period

$1,666.67

+33.33% return

Annual Contribution

$10,000.00

$5,000.00/period

Purchase Period Breakdown

PeriodContributionPurchase PriceSharesMarket ValueUnrealized Spread
Period 1$5,000.00$127.5039.2157$6,666.67$1,666.67
Period 2$5,000.00$127.5039.2157$6,666.67$1,666.67
Annual Total$10,000.00—78.4314$13,333.33$3,333.33

Lookback Benefit: Your purchase price of $127.50 is based on the lower of the offering-start price ($150.00) and purchase-date price ($170.00), minus the 15% discount. This gives you an effective discount of 25.00% off the entered purchase-date price.

Employee and Direct Stock Purchase Plans

An ESPP is an employee benefit; a Section 423 plan has specific U.S. tax requirements. A public direct stock purchase plan (DSPP) is a different arrangement whose eligibility, fees and execution terms come from the company or plan agent. This calculator models the pricing inputs you enter; it does not establish plan eligibility.

Discount and Lookback Calculation

With ESPP lookback enabled, purchase price equals the lower of the offering-start and purchase-date prices multiplied by one minus the entered discount. Without lookback, the discount applies only to the purchase-date price. Direct mode does not apply lookback.

Illustrative inputs: offering price $100, purchase-date price $130, discount 15%.

Purchase price = min($100, $130) × 0.85 = $85. Effective discount = ($130 − $85) / $130 = 34.62%.

The spread relative to the $85 purchase cost is 52.94%. These two percentages have different denominators. Neither is an annualized return or a realized sale profit.

What Each Output Shows

Purchase arithmetic

Annual salary times contribution percentage gives the scenario budget. Divide by the selected number of purchases and purchase price for fractional shares. Actual payroll rules and share-rounding policies can differ.

Constant-return projection

One contribution is invested at each year-end. Market and purchase prices move together at the assumed annual return; the effective discount stays fixed. There are no dividends, fees, taxes or future plan changes in this projection.

Representative ESPP tax lot

Grant-to-purchase and purchase-to-sale months distinguish the holding-period scenario. The entered ordinary and long-term rates are assumptions, not a determination of your marginal rates. Loss offsets are not estimated.

Plan limits remain external

Payroll contribution caps are employer-specific. Section 423’s $25,000 rule concerns purchase-right accrual measured at grant-date FMV, across related plans and applicable calendar years. This tool does not track or enforce it.

Compare Explicit Scenarios

  1. Use the actual plan type, discount, lookback terms and permitted contribution budget.
  2. Enter consistent offering and purchase prices. The purchase table repeats those first-year inputs; it is not an execution history.
  3. For ESPP tax, set the elapsed months and rate assumptions. Verify actual dates near holding-period boundaries.
  4. Change the annual-return assumption to include falling-price cases. Review capital losses as well as gains.

Federal Tax Boundaries

A qualifying Section 423 sale generally limits compensation to the smaller positive amount of the grant-date discount or sale gain. A disqualifying sale uses the purchase-date spread for compensation even if the sale creates a capital loss. Capital gain or loss then uses the basis increased by compensation. Long-term status depends on time since share acquisition, not solely on ESPP qualification.

This tool does not model full-return capital-loss netting, state taxes, NIIT, credits, changing tax brackets or withholding. The tax panel scales a single representative lot to first-year shares; real purchase dates and grant terms can vary by lot. DSPP tax requires separate analysis.

Cash and Concentration Constraints

A quoted discount is not guaranteed profit. Before comparing contribution levels, account for cash commitments, sale windows, execution costs and employer-stock concentration. A tax-favorable holding period does not remove stock-price risk. The calculator does not select a contribution level or sale date.

Sources: IRS Publication 525, employee stock purchase plans; IRS capital gains and losses; 26 U.S.C. §423; SEC investor guide to stocks and direct purchase plans.

Frequently Asked Questions

Assumptions and limits of this stock-purchase scenario.

    • Does Section 423 impose a 15% salary contribution limit?

      No. Payroll contribution percentages are set by the plan. Section 423 has a purchase-right accrual limit based on $25,000 of grant-date stock value per applicable calendar year across the employer’s related plans. This calculator does not enforce that rule or track overlapping offerings.

    • What does lookback change?

      For the modeled ESPP, purchase price is the lower of the offering-start and purchase-date prices, multiplied by one minus the discount. Direct-purchase mode uses only the purchase-date price. Check your actual plan formula; not every plan offers lookback.

    • What determines a qualifying disposition?

      The Section 423 holding tests relate to both grant and share-transfer dates. This month-based scenario treats more than 24 months since grant and more than 12 months since purchase as qualifying; check the exact dates and other eligibility requirements. A disqualifying sale can still have a long-term capital component.

    • How are losses handled?

      The scenario preserves a negative capital component. For qualifying ESPP sales below cost it sets ordinary income to zero; a disqualifying sale can retain compensation income despite an overall loss. The calculator does not estimate tax savings from netting or deducting capital losses.

    • Does this calculate a complete tax return?

      No. It uses entered ordinary and long-term federal rate assumptions for a representative ESPP lot scaled to first-year shares. It excludes state tax, NIIT, credits, withholding, and rate changes. Direct-purchase-plan tax is not modeled.

    • How do the growth projections work?

      The annual contribution stays fixed and is invested at each year-end. Both the stock price and discounted purchase price follow the entered constant annual return, preserving the starting effective discount. Each year’s new share count changes with its purchase price. All shares are valued at that year’s market price. Fees, dividends, taxes and plan limits are excluded.

    • Is the discount a guaranteed profit?

      No. The purchase-date spread is unrealized. Sale restrictions, execution timing, fees, taxes and a falling stock price can reduce or erase it. This tool does not recommend maximizing contributions or selling on a particular date.

    • What is a DSPP?

      A direct stock purchase plan allows eligible investors to buy through a company or its agent under that plan’s terms. It is not necessarily an employee plan; fees, eligibility, execution arrangements and discounts vary.

    • Is the calculator free and where are inputs processed?

      The calculation runs in this page’s browser code without a calculator subscription. The calculator itself does not send the entered salary or scenario to a calculation API; this is not a claim about all site-wide analytics or third-party scripts.

Explore Price-Based Trading Rules

Draft editable Pine Script indicators and backtestable strategies from explicit price rules. Pineify does not import an employer plan or determine its tax treatment. Review generated code before use.