Taxstra Logo
Form Guide

W-2 Form Explained: Every Box, and What to Verify

Form W-2 explained box by box: why Box 1, 3, and 5 differ, what the Box 12 codes summarize, Box 14 items, and the errors worth fixing before you file.

A guide by Taxstra Tax & Accounting · CPA-led tax strategy for business owners

Tax Resources>W-2 Form Explained: Every Box, and What to Verify

Written by Bryan Martin, CPA, Managing Partner and Founder of Taxstra. Last updated August 16, 2026.

Quick answer

Form W-2 reports your annual wages and the tax withheld from them, to you, the SSA, and the IRS. Box 1 is federal taxable wages after pre-tax deductions; Box 2 is federal tax withheld; Boxes 3 and 5 are Social Security and Medicare wages under their own rules (Social Security capped at $184,500 for 2026); Box 12 codes detail retirement, health, and equity items; Boxes 15 to 20 cover state and local amounts.

Three different definitions of "wages" on one form

The most confusing thing about a W-2 is that Boxes 1, 3, and 5 are all "wages" and rarely match. Each box applies different rules to the same paychecks: Box 1 subtracts pre-tax retirement and cafeteria-plan benefits, Box 3 ignores retirement deferrals but caps at the Social Security wage base, and Box 5 ignores the cap entirely.

Read correctly, the differences are a free audit of your own payroll year: they reveal exactly what you deferred, what benefits cost, and whether anything was misreported. Read carelessly, they cause real errors, like typing Box 3 into a Box 1 field and overstating income.

This guide walks the form box by box, shows the reconciliation with a worked example, and flags what to verify before filing. For individual Box 12 and Box 14 codes, our dedicated code pages carry the full lists.

Box 1 is the number your tax return actually uses

Only Box 1 flows to Form 1040 as wages. Gross salary, Box 3, and Box 5 are context. The fastest W-2 sanity check: gross annual pay, minus pre-tax 401(k) (Box 12 code D), minus pre-tax health and FSA, plus taxable extras like group-term life over $50,000 and vested RSUs, should land on Box 1 within rounding.

Box-by-box reference

What each field reports

Boxes 7 through 11 cover narrower situations: tip income, dependent care benefits, and distributions from nonqualified deferred compensation plans. If Box 11 has an amount, the return needs care, because nonqualified plan distributions follow their own reporting path.

Form W-2 boxes at a glance
BoxWhat it showsWhat to check
1Federal taxable wages after pre-tax 401(k), health premiums, FSA/HSA payroll items; includes taxable fringes, RSU vesting, NSO exercise incomeReconciles to gross pay minus pre-tax items plus taxable additions
2Federal income tax withheldMatches final pay stub year-to-date
3 / 4Social Security wages (capped at $184,500 for 2026) / 6.2% tax withheldBox 4 is 6.2% of Box 3; retirement deferrals are included in Box 3
5 / 6Medicare wages, no cap / Medicare tax withheldBox 6 is 1.45% of Box 5 plus 0.9% on wages over $200,000
10Dependent care benefitsAmounts over the exclusion limit add to Box 1
12Coded items: retirement deferrals, HSA, health coverage cost, equity incomeSee the code table below and our full Box 12 guide
13Checkboxes: statutory employee, retirement plan participant, third-party sick payThe retirement-plan box changes IRA deduction phase-outs
14Employer catch-all: state disability, union dues, S-corp 2% shareholder health, RSU detailNo fixed IRS list; see our Box 14 guide for common entries
15-20State and local wages and withholdingMulti-state workers: one W-2 can carry several state lines; verify allocations

Per the IRS General Instructions for Forms W-2 and W-3. Employers must furnish W-2s by January 31.

Worked example: why Boxes 1, 3, and 5 differ

One salary, three wage numbers

Take a $200,000 salary with a maxed 2026 401(k) deferral of $24,500 and $6,000 of pre-tax health premiums. Each wage box applies its own rules.

The reconciliation habit pays off beyond error-catching. Box 1 versus Box 5 measures your pre-tax income deferrals; Box 3 hitting exactly $184,500 confirms you maxed the Social Security base; Box 2 divided by Box 1 is your average federal withholding rate, a one-line sanity check against the liability a projection expects. Five minutes with these ratios each January tells you whether the coming filing season holds surprises.

Worked example

$200,000 salary, 2026 W-2

Gross pay
$200,000
Box 1 (minus 401(k) and health premiums)
$169,500
Social Security wages before cap (minus health only)
$194,000
Box 3 (capped at the $184,500 wage base)
$184,500
Box 5 (minus health only, no cap)
$194,000
Box 12: D $24,500; DD (health cost, informational)
listed

Illustrative. The 401(k) deferral reduces income tax wages but not FICA wages; cafeteria-plan health premiums reduce both. That asymmetry explains nearly every Box 1 vs. Box 3/5 gap. Results vary with benefits.

Taxstra CPA Tip

Taxstra Tip

A Box 5 figure much higher than Box 1 is a quick read on your pre-tax savings rate. If the gap is smaller than your 401(k) election, something was not deferred, and January is when to catch it.

Box 12 codes: the summary view

Where the details live

Box 12 compresses the interesting payroll items into letter codes. The ones high earners see most: D (pre-tax 401(k) deferrals), AA (Roth 401(k)), W (HSA contributions through the employer, both employer money and your payroll deferrals), DD (total cost of employer health coverage, informational only, not taxable), C (taxable group-term life insurance over $50,000), and V (income from exercising nonqualified stock options, also already inside Boxes 1, 3, and 5).

Two habits prevent the common errors. Confirm code W matches what you think went into your HSA before filing Form 8889, and never deduct code DD anywhere; it is disclosure, not income or deduction. Our Box 12 codes guide covers the full alphabet, including the rare ones.

Retirement codes also deserve a year-end check against the limits: code D plus code AA across all employers should not exceed the $24,500 elective deferral limit for 2026 ($32,500 with the 50+ catch-up). Excess deferrals happen most often after a mid-year job change, when neither payroll knows about the other, and they must be distributed by the following April 15 to avoid double taxation.

Common W-2 errors and how corrections work

When to ask for a W-2c

Check the basics first: name and SSN exactly as on your Social Security card, all employers accounted for, and withholding that matches final pay stubs. Then check the equity items if you have them: RSU vest income should appear in Box 1 (often detailed in Box 14), and sell-to-cover share sales will also generate a 1099-B whose basis frequently needs adjustment so the same income is not taxed twice.

If a W-2 is wrong, the employer must fix it by issuing Form W-2c; you cannot correct it yourself on the return with different numbers and no paper trail. If the form is late or the employer unresponsive, the IRS can be asked to intervene, and Form 4852 serves as a substitute W-2 built from your pay stubs.

Multi-state workers should scrutinize Boxes 15 to 20. Employers allocate wages among states based on their records of where you worked; locum physicians and remote employees routinely find allocations that do not match reality, and the state lines drive state filing obligations.

S-corp owners have one W-2 item of their own: health insurance premiums paid for a more-than-2% shareholder belong in Box 1 wages (not Boxes 3 and 5) and are typically noted in Box 14. Missing that entry is common with new payroll providers, and it breaks the owner’s self-employed health insurance deduction downstream, which keys off the W-2 reporting.

Timing errors are their own category. Wages are reported in the year paid, not earned, so a December bonus paid in January belongs on next year’s W-2, and a final paycheck after a year-end departure can land a year later than expected. Repayments run the other direction: sign-on bonus clawbacks repaid in a later year cannot simply reduce that year’s W-2; they follow the claim-of-right rules on your return instead. When a W-2 looks wrong by exactly one payment, check the pay date before requesting a correction; more often than not, the form is right and the calendar is the explanation.

Watch Out

Wait for the W-2c before filing

Filing with known-wrong W-2 numbers, or with a promised correction not yet issued, invites an IRS matching notice, since the agency compares your return against the employer’s filed copy. If you already filed and the W-2c changes the numbers, an amended return is usually required.

Reading a W-2 with equity compensation

The vest, the withholding, and the double-tax trap

Equity compensation is where W-2 reading earns its keep. When RSUs vest, the fair market value of the shares lands in Boxes 1, 3 (up to the wage base), and 5 as ordinary wages, with the withholding, typically the flat 22% supplemental rate, folded into Box 2. Many employers itemize the vest amount in Box 14, which is informational but invaluable for reconciliation.

Walk one vest: $50,000 of RSUs vest in June. Box 1 includes the $50,000; Box 2 includes roughly $11,000 of federal withholding on it at 22%. The company sells or withholds shares to cover, and the broker later issues a 1099-B for any sale. Here is the trap: the broker frequently reports the basis of those shares as zero or omits it, because the basis was established through payroll, not through the brokerage. Without an adjustment, the $50,000 appears again as capital gain.

The fix is mechanical: adjust the basis on Form 8949 to the vest-date value already taxed through the W-2, so only the price movement between vest and sale is gain or loss. The Box 14 detail, the vest confirmations, and the final pay stub are the documents that prove the adjustment. Nonqualified stock option exercises follow the same pattern, flagged with code V in Box 12.

For a high earner, this one reconciliation is routinely worth more than everything else on the form: the double-tax error on a six-figure vest is a five-figure overpayment, silent unless someone matches the W-2 to the 1099-B.

What to check before you act

A practical review sequence for the return, books, or planning file.

Verify name and SSN match your Social Security card exactly.

Reconcile Box 1 to your final pay stub: gross minus pre-tax items plus taxable additions.

Confirm Box 4 is 6.2% of Box 3 and Box 3 does not exceed $184,500 for 2026.

Match Box 12 code W to your HSA records and code D to your 401(k) election.

Review state allocations in Boxes 15 to 20, especially after multi-state work.

Request a W-2c promptly for any error, and keep the final pay stub until it arrives.

Common mistakes

The shortcuts most likely to produce a confident but wrong answer.

01

Using Box 1 as total compensation, or gross pay as taxable income

Box 1 already excludes pre-tax deferrals and benefits; gross pay includes them. Mixing the two misprices raises, savings rates, and any calculation that needs "income," in either direction.

02

Deducting Box 12 code DD as if it were an expense

DD is the informational cost of employer health coverage. It is not income, not deductible, and entering it anywhere on the return creates errors.

03

Double-taxing RSU income at the broker

Vest-date income is already in Box 1, and the broker 1099-B often shows zero basis for the same shares. Without a basis adjustment on Form 8949, the vest value gets taxed twice; the Box 14 RSU detail is the clue to catch it.

04

Ignoring the retirement-plan checkbox in Box 13

That checkbox triggers the traditional IRA deduction phase-out ($81,000 to $91,000 of MAGI for covered single filers in 2026). Deducting an IRA contribution while covered and over the band creates an IRS mismatch.

05

Tossing the final pay stub once the W-2 arrives

The stub is the only document that itemizes what the W-2 summarizes. When a box looks wrong, the stub is how you prove it, and how a preparer reconstructs Box 1 in minutes.

How Taxstra helps

A useful estimate should lead to a decision

Taxstra connects tax preparation, planning, bookkeeping, payroll, and multi-state filing so the answer reflects your full financial picture. Bring your documents and the decision you are weighing to a free initial consultation.

Book a Free Initial Consultation

Use your W-2 as a planning document

Taxstra reviews wages, Box 12 items, equity compensation, and state allocations together, catching the deferral gaps and double-tax traps a quick glance misses. Book a free initial consultation.

Frequently Asked Questions

Box 1. It is your gross pay minus pre-tax items (traditional 401(k), cafeteria-plan health premiums, FSA and payroll HSA contributions) plus taxable additions like RSU vest income, NSO exercise income, and group-term life over $50,000. Box 1 is the number that flows to your Form 1040 wage line; Boxes 3 and 5 exist for Social Security and Medicare, not income tax.

Next Steps

Filing it yourself is fine. Optimizing it is where the money is.

Getting the form right keeps you out of trouble. The strategies below are what actually lower the bill.

Want a CPA to run the numbers for you?

Free 30-minute call with a Taxstra CPA. No pressure, just the math for your situation.

Book a Free Consultation