Form 8949 Capital Gain, Wash-Sale Code W & 2026–2027 LTCG + 3.8% NIIT Calculator
Calculator Overview: Competitor guides list columns without showing how Column (g) wash-sale disallowances (Code W), RSU basis fixes (Code B), and wage stacking push gains across the 0%, 15%, 20%, and 3.8% NIIT brackets. Enter proceeds, basis, Column (g) adjustments, ordinary wages, holding period, and 2026/2027 filing status below.
Column (h) Formula: Column (h) = Column (d) Proceeds − Column (e) Basis + Column (g) Adjustment. Positive Code W entries disallow wash losses; negative Code B/E/H entries reduce overstated gains.
Official Statutory & Agency Sources
- Internal Revenue Service — Official Instructions for Form 8949 (Boxes A–L, 1099-DA & Column f/g Codes)
- Internal Revenue Service — About Form 8949, Sales and Other Dispositions of Capital Assets
- Internal Revenue Service — Revenue Procedure 2025-32 (2026 Capital Gains Thresholds)
- Internal Revenue Service — Revenue Procedure 2026-35 (2027 Capital Gains Breakpoints)
Last verified against primary federal and state statutory schedules on <time datetime="2026-11-21">2026-11-21</time>.
Complete Form 8949 Checkbox & Column (f) Adjustment Code Matrix
Never overwrite an incorrect covered-security basis directly in Column (e) when Box A, D, G, or J is checked—IRS automated CP2000 matching flags mismatches against broker e-files. Copy broker basis into Column (e) verbatim, enter the Column (f) code, and put the dollar correction in Column (g). Net Schedule D capital losses offset as high as $3,000 ($1,500 MFS) of ordinary income annually under IRC § 1211(b), carrying excess losses forward indefinitely.
| Box / Code | Enacted Category | Reporting Scope | Column (g) Entry Rule |
|---|---|---|---|
| Boxes A / B / C | Short-Term Securities (<=1 Yr) | A: 1099-B covered · B: Uncovered · C: No 1099-B | Exception 1 skips 8949 if Box A has 0 adj. |
| Boxes D / E / F | Long-Term Securities (>1 Yr) | D: 1099-B covered · E: Uncovered · F: 1099-S/Other | Use Box F for reportable home sales |
| Boxes G–I & J–L | Digital Assets (ST G–I · LT J–L) | G/J: 1099-DA covered · H/K: Uncovered · I/L: Wallet | Mandatory for all crypto/NFT sales |
| Code B / Code E | Basis Fix (B) / Selling Costs (E) | RSU/ESPP W-2 basis or unreflected fees | Enter in parentheses to reduce gain |
| Code W / Code L | Wash Sale (W) / Personal Loss (L) | 61-day wash loss or 1099-K personal item loss | Enter positive amount to zero out loss |
| Code H / Q / Y | § 121 Home / § 1202 QSBS / QOF | $250k/$500k home, QSBS, or Dec 2026 QOF | H/Q negative; Y positive QOF inclusion |
High-volume traders with uncovered Box B/E/H/K trades can invoke IRS Exception 2: enter broker name plus "See attached statement" in Column (a), put Code M in Column (f), and attach a PDF trade ledger.
The 2026–2027 Form 8949 Downstream Financial Chain: RSU Double Tax, Wash Sales & Dec 31, 2026 QOF Cliffs
Three Form 8949 mistakes routinely cost investors $4,000 to $40,000+ in avoidable tax. Trap 1 (RSU/ESPP Zero-Basis Double Tax — Code B): Vested RSUs and qualifying ESPP discounts are already taxed on Form W-2 Box 1, yet brokers frequently print $0 or unadjusted purchase cost in Form 1099-B Box 1e. Omitting Code B and a negative parentheses adjustment in Column (g) taxes your shares twice!
Trap 2 (IRA Cross-Account Wash Sales — Code W): Under IRC § 1091, repurchasing substantially identical stock or ETFs within 30 days before or after a loss sale (61-day window) disallows the loss via Code W. If that repurchase happens inside an IRA or Roth IRA, IRS Rev. Rul. 2008-5 permanently erases the loss with zero basis step-up.
Trap 3 (Mandatory Dec 31, 2026 QOF Inclusion): All capital gains previously deferred into Qualified Opportunity Funds under IRC § 1400Z-2 expire on December 31, 2026 (reported via Code Y)—spiking 2026 MAGI throughout the $200k/$250k 3.8% NIIT cliff and the $505,000 SALT phaseout.
| Trade Scenario | Raw 1099-B / DA | Col (f) & Col (g) Fix | True Col (h) | 2026 Tax Impact |
|---|---|---|---|---|
| RSU Vest ($50k W-2, sold $52k) | Box A: $52k / $0 bas | Code B · ($50,000) | +$2,000 ST | Saves $12,000 double W-2 tax |
| Loss + Roth IRA Buy Day +12 | Box A: $30k / $50k bas | Code W · +$20,000 | $0 (lost forever) | Forfeits $4,800+ loss shield |
| Main Home ($780k, $490k bas, $40k fee) | 1099-S: $780k / $490k | Code EH · ($290,000) | $0 (§ 121 + fees) | Wipes out $43,500 LTCG bill |
| LT Bitcoin ($160k proc, $40k bas) | Box J: $160k / $40k | Code E · ($1,200) fee | +$118,800 LT | $17,820 LTCG + $2,044 NIIT |
Form 8949 Checkboxes (Boxes A–F vs. Crypto Boxes G–L) & 2026–2027 LTCG Brackets
Every page of IRS Form 8949 separates dispositions by holding period—Part I for short-term assets held one year or less (counting from the day after purchase through trade date of sale) and Part II for long-term assets held over one year—and by basis reporting. Digital assets now require dedicated Boxes G, H, I (Part I) and Boxes J, K, L (Part II) aligned with broker Form 1099-DA; checking legacy Box C or F for crypto is prohibited under the official Form 8949 Instructions.
Whenever your Form 1099-B or 1099-DA shows basis was reported to the IRS (Box A, D, G, or J) and needs zero Column (g) adjustments, you can skip Form 8949 for those lots and enter summary totals straight onto Schedule D Lines 1a and 8a under IRS Exception 1.
| IRS Return Status | 2026 0% LTCG Cap | 2027 0% LTCG Cap | 2026 / 2027 20% Floor | 3.8% NIIT Cliff |
|---|---|---|---|---|
| Single Filer | Up to $49,450 | Up to $51,050 | Over $545,500 / $563,200 | Over $200,000 |
| Married Filing Jointly | Up to $98,900 | Up to $102,100 | Over $613,700 / $633,600 | Over $250,000 |
| Head of Household | Up to $66,200 | Up to $68,350 | Over $579,600 / $598,400 | Over $200,000 |
| Married Filing Separately | Up to $49,450 | Up to $51,050 | Over $306,850 / $316,800 | Over $125,000 |
| Estates & Trusts | Up to $3,300 | Up to $3,400 | Over $16,250 | Over ~$16,000+ |
Ordinary taxable income fills the bottom of the bracket scale first and capital gains sit on top: a Married Joint couple with $80,000 of taxable wages in 2026 enjoys $18,900 of long-term gain at 0% ($98,900 − $80,000) before hitting the 15% tier.
2026–2027 Primary Statutory Verification & Compliance Checklist
Every figure, bracket, and formula on this Finance of United States reference page is cross-checked directly against enacted federal and state schedules published on irs.gov. Unlike crowd-reported aggregators that blend stale multi-year averages, our statutory desk locks each calculation to the active 2026–2027 statutory cycle before modeling downstream tax, payroll, or benefit phase-outs.
- Verified Baseline Figures: Confirm your household inputs against the core benchmarks tracked on this page — 0% LTCG Cap (2026 → 2027) ($49.45k → $51.05k); New Crypto Checkboxes (Boxes G–I & J–L); 3.8% NIIT Surtax Cliff ($200k / $250k).
- Covered Statutory Sub-Queries: This unified reference resolves related 2026–2027 lookup rules covering form 8949 under one deterministic model.
- 100% Client-Side Computation Privacy: Every interactive input executes locally inside your browser memory on
financeofunitedstates.comwith zero server logging or third-party data brokerage.