Identity Fields
Box a: Employee's Social Security Number
Box a: Employee's Social Security Number
Box b: Employer Identification Number (EIN)
Box b: Employer Identification Number (EIN)
What it is: Your employer’s federal tax ID numberFormat: XX-XXXXXXXEZFile handling: Stored for reference; not sensitive like SSNForm 1040 use: Not entered directly on Form 1040
Box c: Employer's Name, Address, and ZIP
Box c: Employer's Name, Address, and ZIP
What it is: Your employer’s official business informationEZFile handling: Displayed for verificationForm 1040 use: Not entered directlyNote: This should match your employer’s legal name, not necessarily your department or division.
Box d: Control Number
Box d: Control Number
What it is: Employer’s internal tracking number for this W-2EZFile handling: Ignored (not needed for tax filing)Note: Used by employers and payroll companies for recordkeeping
Box e: Employee's Name
Box e: Employee's Name
What it is: Your legal name as it appears on your Social Security cardEZFile handling: Used for display and verificationForm 1040 use: Must match exactly on your tax returnImportant: If your name has changed (marriage, divorce, etc.), update it with Social Security Administration before filing.
Box f: Employee's Address
Box f: Employee's Address
What it is: Your address as your employer has on fileEZFile handling: Displayed for verificationForm 1040 use: You enter your CURRENT address (may differ from Box f)Note: If you moved during the year, use your current address on Form 1040.
Core Income & Withholding
Box 1: Wages, Tips, Other Compensation
Box 1: Your Taxable Federal Wages
What it is: Your total taxable federal wages for the yearThis goes on Form 1040, Line 1aCalculation:Example:Why it’s lower than your salary: Pre-tax benefits reduce this number. This is a GOOD thing—you’re not taxed on money that went to retirement or health benefits.
Box 2: Federal Income Tax Withheld
Box 2: Your Tax Payments
What it is: Federal income tax your employer already sent to the IRS on your behalfThis goes on Form 1040, Line 25aHow it’s determined: Based on your W-4 form elections:
- Filing status selection
- Multiple jobs adjustment
- Extra withholding amount
- Allowances (for older W-4s)
Box 3: Social Security Wages
| Attribute | Value |
|---|---|
| What it is | Wages subject to Social Security tax |
| Rate | 6.2% (employee share) |
| 2025 Wage Base | $176,100 (capped) |
| Form 1040 use | Not entered (verification only) |
- Does NOT exclude most pre-tax deductions
- Retirement contributions (401k, 403b) are still included in Box 3
- HSA contributions ARE excluded from Box 3
- Capped at $176,100 for 2025
Box 4: Social Security Tax Withheld
Box 4 Validation
What it is: Employee’s share of Social Security tax (6.2% of Box 3)Expected value:2025 Maximum: 176,100 × 6.2%)Validation check:Example:
Box 5: Medicare Wages and Tips
| Attribute | Value |
|---|---|
| What it is | Wages subject to Medicare tax |
| Rate | 1.45% (employee share) |
| Wage Base | No limit (all wages taxed) |
| Additional Medicare | 0.9% on wages over $200,000 |
| Form 1040 use | Not entered (verification only) |
- No wage cap (all wages subject to Medicare)
- Usually equals Box 3 unless wages exceed Social Security cap ($176,100)
Box 6: Medicare Tax Withheld
Box 6 Validation
What it is: Employee’s share of Medicare tax (1.45% of Box 5)Expected value:Additional Medicare Tax:
If Box 5 > $200,000:Validation check:Example:
Special Situations (Boxes 7-11)
Box 7: Social Security Tips
Box 7: Social Security Tips
Box 8: Allocated Tips
Box 8: Allocated Tips
What it is: Tips allocated by employer for large food/beverage establishmentsImportant: Allocated tips are NOT included in Box 1—you may need to add them as incomeEZFile handling: Rare for the target user; flag if presentNote: Only applies to large restaurants (8+ employees during a typical business day)
Box 9: (Blank / Verification Code)
Box 9: (Blank / Verification Code)
What it is: Historically used for advance EIC payments; now often blank or used for verificationEZFile handling: Ignored
Box 10: Dependent Care Benefits
Box 10: Dependent Care Benefits
What it is: Employer-provided dependent care assistance (Dependent Care FSA)EZFile relevance: N/A (no dependents in scope)Note: If present for single filers with no dependents, it’s informational only
Box 11: Nonqualified Plans
Box 11: Nonqualified Plans
What it is: Distributions from nonqualified deferred compensation plansEZFile handling: Already included in Box 1; informational onlyNote: Rare for typical W-2 employees
Box 12: Coded Entries (Critical)
Format: Each entry has a letter code and dollar amount (up to 4 entries: 12a, 12b, 12c, 12d)Common Box 12 Codes
| Code | Description | Already Excluded from Box 1? | EZFile Impact |
|---|---|---|---|
| D | 401(k) elective deferrals | YES | Used for Saver’s Credit eligibility |
| E | 403(b) contributions | YES | Used for Saver’s Credit eligibility |
| G | 457(b) contributions | YES | Used for Saver’s Credit eligibility |
| W | HSA employer contributions | YES | Informational only |
| AA | Roth 401(k) contributions | NO (after-tax) | Used for Saver’s Credit eligibility |
| BB | Roth 403(b) contributions | NO (after-tax) | Used for Saver’s Credit eligibility |
| DD | Health insurance cost | N/A | Informational only (NOT deductible) |
| C | Group-term life insurance >$50K | NO (taxable) | Already included in Box 1 |
Saver’s Credit Relevance
Codes D, E, G, AA, BB represent retirement contributions eligible for the Saver’s Credit (Form 8880). Eligibility:- AGI ≤ $39,500 (single filer)
- Made retirement contributions during the year
- Ages 18+, not a full-time student, not claimed as dependent
Box 13: Checkboxes
- Statutory Employee
- Retirement Plan
- Third-Party Sick Pay
What it means: You’re an employee treated as self-employed for certain purposesEZFile handling: Out of scope—refer to tax professionalCommon for: Agent-drivers, commission-drivers, traveling salespeople, certain home workersNote: If checked, you file Schedule C, not just Form 1040
Box 14: Other
What it is: Employer-specific codes for additional information Common Box 14 entries:| Entry | Description | Tax Impact |
|---|---|---|
| SDI / CASDI | State disability insurance | State-specific; not federally deductible |
| Union dues | Labor union membership dues | May be deductible (itemized) |
| Uniform | Uniform allowance or cost | Informational |
| Ed Asst | Educational assistance | Excluded from income (up to $5,250) |
| LST | Local Service Tax (PA) | Already withheld; informational |
| VPDI | Voluntary plan disability insurance | State-specific |
EZFile handling: Box 14 is usually informational. Some states use Box 14 data for state returns. EZFile displays to user but does not use in federal calculations unless specifically recognized.
State & Local Fields (Boxes 15-20)
Box 15: State / Employer’s State ID
| Field | Description |
|---|---|
| State | Two-letter state code (e.g., PA, NY, CA) |
| Employer’s state ID | Employer’s state tax identification number |
| EZFile use | Determines which state return is needed |
Box 16: State Wages, Tips, Etc.
State Wages (Box 16)
What it is: Wages subject to state income taxMay differ from Box 1 because:
- States have different pre-tax deduction rules
- Some states tax certain benefits that are federally excluded
- Some states exclude certain income that’s federally taxable
Box 17: State Income Tax
What it is: State income tax withheld by employer EZFile use: Compared to state tax liability to determine state refund or amount owed Formula:Boxes 18-20: Local Taxes
| Box | Field | Description |
|---|---|---|
| 18 | Local wages | Wages subject to local income tax |
| 19 | Local income tax | Local tax withheld |
| 20 | Locality name | Name or code of local jurisdiction |
- Pennsylvania (local EIT tax)
- Ohio (city/school district taxes)
- New York (NYC, Yonkers)
- Indiana (county taxes)
- Maryland (county taxes)
Validation Rules
After extracting W-2 data, verify these relationships:Quick Reference: Box-to-Form Mapping
| W-2 Box | Form 1040 Line | Description |
|---|---|---|
| Box 1 | Line 1a | Wages, salaries, tips |
| Box 2 | Line 25a | Federal income tax withheld |
| Box 3 | (Validation only) | Social Security wages |
| Box 4 | (Validation only) | Social Security tax withheld |
| Box 5 | (Validation only) | Medicare wages |
| Box 6 | (Validation only) | Medicare tax withheld |
| Box 7 | Schedule 1-A, Line 1 | Social Security tips (tip deduction) |
| Box 12 (D,E,G,AA,BB) | Form 8880 | Retirement contributions (Saver’s Credit) |
| Box 16 | State return | State wages |
| Box 17 | State return | State tax withheld |