Days to Expiry — Option Selling Analyzer logo
Days to Expiry
Option Selling Analyzer

Oct 24, 2025

Options Tax Calculator: Estimate Your Trading Tax Bill

Calculate your options trading tax liability before year-end. Input your trades and strategy, see short-term vs long-term splits, and estimate after-tax returns.

Most options traders don't know their tax liability until April. By then, it's too late to optimize.

This guide walks you through a DIY tax calculator you can build in a spreadsheet, plus strategies to estimate (and reduce) your tax bill before year-end.

Why You Need an Options Tax Calculator

Options taxes are complicated because:

  1. Different outcomes have different tax treatments (expiration, closure, assignment)
  2. Premiums, assignments, and rolls create multiple tax events per position
  3. Short-term vs long-term rates differ significantly (37% vs 20% federal)
  4. 1099-B doesn't clearly show your true tax liability

An options tax calculator solves this by aggregating all your trades and showing you:

  • Total short-term capital gains
  • Total long-term capital gains
  • Estimated taxes due
  • After-tax returns by strategy

Track your trades automatically: Upload your broker statement to our IB Portfolio Analyzer to see realized P&L by strategy—making tax estimation much easier.

DIY Tax Calculator: Spreadsheet Method

Here's a simple spreadsheet framework you can build in Google Sheets or Excel:

Section 1: Inputs

Field Example Formula
Your Tax Bracket 32% (Your marginal rate; e.g., 0.32)
State Tax 5% (Add if applicable)
Combined Tax Rate 37% =Tax Bracket + State Tax

Section 2: Trade Log

Create a table with these columns:

Date Strategy Entry Exit Quantity Outcome P&L Tax Type Taxes Owed
10/1 CSP $0.50 $0.00 1 Expired $50 ST $18.50
10/5 CC $0.80 $0.40 1 Closed $40 ST $14.80
10/15 CSP $0.45 1 Assigned Basis adj ST* $0

Formulas to Use

Column: P&L

=(Entry - Exit) × Quantity × 100 - Commissions

Column: Tax Type

=IF(Outcome="Assigned", "Basis Adjustment", IF(DATEDIF(Date,TODAY(),"Y")<1, "ST", "LT"))

Column: Taxes Owed

=IF(Tax Type="ST", P&L × Combined Tax Rate, P&L × 0.20)  // 20% for long-term

Section 3: Summary

Metric Formula Amount
Total ST Gains =SUMIF(Tax Type, "ST", P&L) $2,450
Total LT Gains =SUMIF(Tax Type, "LT", P&L) $500
Total Assignment Basis Adjustments =SUMIF(Outcome, "Assigned", P&L) -$3,200
Gross Profit =Sum of all P&L $1,750
ST Tax (@ 37%) =$2,450 × 0.37 $906.50
LT Tax (@ 20%) =$500 × 0.20 $100
Total Taxes Owed =ST Tax + LT Tax $1,006.50
After-Tax Profit =Gross - Total Taxes $744

Tax Calculator: Real Example

Let's walk through a real month of options trading:

Your Trades (October 2025)

Date Strategy Entry Exit Quantity Outcome Commission Gross P&L
10/1 Sell CSP $420 $0.50 1 Expired 10/8 $0.65 $49.35
10/3 Sell CC $435 $0.80 1 Assigned 10/17 $1.00 $78.50*
10/6 Sell Put $418 $0.40 $0.20 1 Closed 10/10 $0.65 $19.35
10/12 Sell Put $420 $0.60 1 Assigned 10/22 $0.65 Basis adj
10/15 Sell CC $440 $0.70 1 Still open $0.50 Unrealized

Tax Calculation

Item 1: CSP expires

  • Outcome: Expiration = short-term gain
  • Gross profit: $49.35
  • Tax (37%): $18.26
  • After-tax: $31.09

Item 2: CC assigned

  • Outcome: Assignment = capital gain on stock + premium
  • Stock gain: $435 - $415 = $20 per share = $2,000
  • Premium: $78.50
  • Total gain: $2,078.50
  • Tax (20% if held 1+ year; 37% if < 1 year):
    • Assuming 1+ year holding: $2,078.50 × 20% = $415.70
    • If < 1 year: $2,078.50 × 37% = $769.05
  • After-tax: $1,662.80 or $1,309.45

Item 3: Put closed early

  • Outcome: Early closure = short-term gain
  • Profit: $19.35
  • Tax (37%): $7.16
  • After-tax: $12.19

Item 4: Put assigned (basis adjustment)

  • Outcome: Assignment = cost basis reduced by $0.60 premium
  • Effect: When you later sell the stock, your gain is higher (you paid less)
  • Immediate tax: $0 (deferred until stock sale)
  • Future tax: Higher capital gain when you sell stock

Item 5: CC still open (unrealized)

  • Outcome: No tax yet
  • P&L: Unrealized (only taxed when closed)

Total for October:

Realized ST Gains Realized LT Gains Unrealized Tax Owed After-Tax Profit
$49.35 + $19.35 = $68.70 $2,078.50 (CC) $0.70 (pending) $25.42 (ST) + $415.70 (LT) = $441.12 $1,706.08

Tax Planning: Strategies to Reduce Your Bill

Strategy 1: Close Losses Before Year-End

If you have losing positions, close them before December 31 to harvest the tax loss.

Example:

  • You sold puts that are underwater (deep ITM)
  • Close them for a $500 loss
  • This loss offsets other short-term gains
  • Potential tax savings: $500 × 37% = $185

Risk: If you re-enter the same position within 30 days, wash sale rules disallow the loss.

Strategy 2: Defer Gains to Next Tax Year

If you're going to be in a lower bracket next year (retiring, taking sabbatical), defer gains.

How:

  • Don't close profitable positions before December 31
  • Let them roll into next year
  • Close them after January 1

Example:

  • You have a $3,000 unrealized gain
  • Close it in December: Tax at 37% = $1,110
  • Close it in January: Same tax, but deferred 1 year = $1,110 (plus interest free)
  • Plus: If you're in a lower bracket next year, tax is lower

Strategy 3: Use SPX Instead of SPY

SPX options get Section 1256 treatment: 60% long-term, 40% short-term.

Tax comparison (1-month trade, $500 gain):

Strategy Tax
SPY (short-term) $500 × 37% = $185
SPX (60/40 split) ($500 × 60% × 20%) + ($500 × 40% × 37%) = $60 + $74 = $134
Tax savings $51 per $500 gain

Annualized: If you trade $50,000/year in options:

  • SPY: $50,000 × 0.20 × 0.37 = $3,700 tax
  • SPX: $50,000 × [(0.60 × 0.20) + (0.40 × 0.37)] = $50,000 × 0.268 = $1,340 tax
  • Annual savings: $2,360

Strategy 4: Pair Trades to Create Long-Term Gains

If you've been running cash-secured puts for 6+ months, your "cost basis" in assigned stock is established. If you hold it 1+ year from assignment, stock sale gains are long-term.

Example:

  • May: Sell CSP, get assigned, own stock at $420 basis (after $0.50 premium)
  • November (6 months later): Sell covered calls, get assigned, stock sells at $435
  • Capital gain: $435 - $420 = $15, taxed as long-term (20% rate)
  • Tax: $15 × 20% = $3 per share, not $15 × 37% = $5.55 per share
  • Savings: $2.55 per share × 100 = $255 per 100 shares

Tax-Efficient Strategy Allocation

Size your strategies based on tax efficiency:

Strategy Tax Type Annualized Return Optimal Allocation
Long CSPs (assigned, held 1+ year) LT 25-35% 40%
Covered calls (assigned, held 1+ year) LT 15-25% 30%
Short-term spreads (1-7 DTE) ST 50%+ 20%
SPX income trades 60/40 split 30-40% 10%

Why this allocation?

  • Long-term strategies dominate (70% allocation) → lower tax rate (20%)
  • Short-term opportunistic trades (20% allocation) → higher tax rate, but high returns justify it
  • SPX trades (10% allocation) → diversification + tax efficiency on active part

After-tax comparison:

Portfolio Gross Return Tax Rate After-Tax Return
All SPY CSPs (short-term) 30% 37% 18.9%
Mixed (above allocation) 28% 26% (weighted) 20.7%
Tax-optimized portfolio outperforms by -2% gross +11% tax rate +1.8% after-tax

Before-Year-End Tax Audit Checklist

November/December, before tax filing:

  • Download all 1099-B forms from brokers
  • Export activity statements from each broker (CSV)
  • Reconcile trade-by-trade with your spreadsheet
  • Identify any assignment positions still open
  • Calculate unrealized P&L on open positions
  • Identify any wash sale candidates (60+ day rule window)
  • Estimate your total tax liability
  • Decide: close positions now, or defer to next year?
  • Make any strategic closes/rolls to optimize taxes
  • File extension if needed (Oct 15 deadline)

Common Tax Calculator Mistakes

Mistake 1: Forgetting Assignment Commissions

Many traders forget that assignments have commissions too. Include both entry and exit commissions.

True P&L = (Entry - Exit) × Quantity × 100 - Entry Commission - Exit Commission

Mistake 2: Treating Basis Adjustments as Immediate Gains

When a CSP is assigned, the premium doesn't create immediate tax. It adjusts your cost basis. Don't tax it until you sell the stock.

Mistake 3: Ignoring Wash Sales in the Calculator

If you harvest a loss (close a losing position), then buy it back within 30 days, the loss is disallowed. Your calculator should flag this.

Mistake 4: Assuming All Options Are Short-Term

If you hold underlying stock 1+ year and sell via call assignment, the capital gain is long-term (good!). Your calculator should track holding periods.

Mistake 5: Forgetting State Taxes

Federal tax is only part of it. Most states have their own capital gains taxes. Include both in your combined rate.

Tax-Advantaged Platforms and Tools

When using Days to Expiry or similar platforms, ask for:

  • Automatic tax calculation (by strategy)
  • 1099-B reconciliation (match your trades)
  • After-tax return reports (show real returns)
  • Tax-loss-harvesting alerts (flag opportunities)
  • Estimated quarterly taxes (pay estimated taxes on time)
  • Export for tax software (feed to TurboTax, etc.)

The Bottom Line: Getting Your Tax Bill Right

Key takeaways:

  1. Build a DIY calculator or use a platform

    • Don't wait until April
    • Calculate quarterly
  2. Understand three outcomes of option trading:

    • Expiration: Short-term gain
    • Early closure: Short-term gain
    • Assignment: Cost basis adjustment (deferred tax)
  3. Separate short-term from long-term

    • ST: 37% top federal rate
    • LT: 20% top federal rate
    • Big difference
  4. Use tax-efficient strategies

    • SPX instead of SPY (60/40 treatment)
    • Covered calls on 1+ year holdings (long-term rate)
    • Tax-loss harvesting in November/December
  5. Know your after-tax return, not gross return

    • A 30% gross return at 37% tax rate = 18.9% after-tax
    • A 28% gross return at 25% tax rate = 21% after-tax
    • The second strategy is better (despite lower gross return)

Related Articles

Complete your tax planning: