What Your W-2 Boxes Mean: Every Box Explained (2026)

By Lucas, Founder of Paycheck Calculator · October 17, 2026

Every January your employer sends you Form W-2, the little grid of boxes standing between you and your tax refund. If you've ever squinted at Box 1, Box 3, and Box 5 and wondered why three different “wage” numbers appear on the same form, you're not alone — it's the number-one W-2 question tax preparers hear every filing season.

Here's the short version: Box 1 is the wages the IRS taxes as income. Box 3 is the wages Social Security tax was charged on (per the Social Security Administration's 2026 fact sheet, that tax stops at $192,300 of earnings). Box 5 is the wages Medicare tax was charged on, with no cap. The three differ because some deductions — like your 401(k) — lower income tax but not FICA. Below, every box is explained in plain English, with a real $75,000 paycheck example so the numbers click.

Which boxes actually matter (and which you can ignore)

Out of 20 boxes, most employees only touch five or six. Boxes 1 and 2 drive your federal return — wages and federal tax withheld. Boxes 3, 5, and 12 confirm the FICA side. Box 14 is mostly your employer's bookkeeping. If you e-file, your tax software imports most of this and mainly wants Boxes 1, 2, and the state boxes 15–20. Still, understanding the rest is what lets you catch the one mistake that actually costs people money: an understated 401(k) deferral in Box 12 code D, which would mean paying tax on income you never received.

Boxes a through f are the header: your SSN, your employer's EIN, the control number, and both sets of name-and-address. A wrong SSN in Box a is the most common administrative error — the IRS matches your return against what your employer filed, and one wrong digit can delay your refund for weeks. Check that first; everything else can wait.

Box 1, Box 3, Box 5: three wages, one paycheck

This is the section everyone came for. Take a concrete example: you earned $75,000 in 2026, put $4,500 into your 401(k), and paid $3,600 in health insurance premiums through your employer's pre-tax plan. Your W-2 will show:
Box 1: $75,000 − $4,500 − $3,600 = $66,900
Box 3: $75,000 − $3,600 = $71,400
Box 5: $75,000 − $3,600 = $71,400

Why the split? The 401(k) contribution is an elective deferral: it lowers your federal income-tax wages (Box 1) but is still subject to Social Security and Medicare tax, so it stays in Boxes 3 and 5. Your $4,500 shows up separately in Box 12 with code D. The health premiums, paid under a Section 125 cafeteria plan, escape both income tax and FICA, so they're subtracted from all three boxes. This is exactly how the IRS's instructions for Form W-2 define each box — not three typos, but three different definitions of “wages.”

The FICA math ties straight back to these boxes. Social Security tax is 6.2% of Box 3, so 6.2% × $71,400 = $4,426.80 — that's your Box 4 figure. Medicare is 1.45% of Box 5, so 1.45% × $71,400 = $1,035.30, your Box 6 figure. Our FICA tax calculator computes exactly these lines from the same numbers, so if your W-2's Box 4 and Box 6 match your own math, payroll got it right.

Box 2, Box 4, Box 6: the money already taken out

These three boxes are the taxes your employer already sent to the government on your behalf. Box 2 is federal income tax withheld, driven by your W-4 elections. Box 4 is Social Security tax withheld — 6.2% of Box 3, which stops growing once Box 3 passes the $192,300 wage base for 2027. Box 6 is Medicare tax withheld — 1.45% of Box 5, plus the extra 0.9% additional Medicare tax on wages over $200,000 if you earned that much. That extra 0.9% lands in Box 6 too.

A sanity check that catches real payroll errors: multiply Box 3 by 0.062 and compare to Box 4; multiply Box 5 by 0.0145 and compare to Box 6. If Box 4 is higher than 6.2% of Box 3, your employer over-withheld Social Security. That usually happens when you changed jobs mid-year and two employers each withheld up to the cap. You don't lose the money — you claim the excess back as a credit on your tax return.

Box 12 codes: the alphabet soup that matters most

Box 12 is where your employer reports specific dollar amounts with letter codes, and it's the box people skip most often — a mistake, because some codes change your tax bill. The ones you'll actually see:
Code D – 401(k) elective deferrals. The $4,500 from our example. Confirms Box 1 was reduced correctly; not taxed as income.
Code DD – total cost of your employer-sponsored health coverage, what you paid plus what your employer paid. This is informational only and is not taxable income, no matter how big the number looks. It's the single most Googled W-2 question every January, and the answer is always the same: don't add it to your income.
Code W – employer and employee HSA contributions. Not taxable.
Code C – taxable cost of group-term life insurance over $50,000. This one is taxable and is already included in your Box 1.

One thing worth double-checking: if you see code D but your Box 1 wasn't reduced by that same amount, your 401(k) may have been misclassified — possibly coded as Roth or after-tax. That's a payroll call worth making before you file, because it changes your federal tax.

Boxes 13 through 20: the rest of the form

Box 13 has three checkboxes: statutory employee (mostly insurance agents and traveling salespeople), retirement plan (checked if you were covered by a 401(k) or pension — this checkbox decides whether you can deduct traditional IRA contributions), and third-party sick pay. Box 14 is the catch-all: employers use it for things like state disability tax, union dues, 401(k) loan repayments, or employer-paid education assistance. Nothing in Box 14 goes on your federal return by itself; it's detail for your records and your state return.

Boxes 15–20 are the state section: state, employer's state ID number, state wages, state income tax withheld, locality name, and local wages and tax. If you worked in two states during the year, you may get a second W-2 or a W-2 with two sets of state boxes — keep both, because each state return needs its own line.

One last consequence hiding in Box 13: if the retirement-plan box is checked and your income is above the phase-out range, your traditional IRA contribution isn't deductible. The 401(k) participation you barely noticed in January has real tax consequences in April. That's why reading the whole form once beats skimming just Box 1.

FAQs

Why is Box 1 different from Box 3 on my W-2?

Because they measure different things. Box 1 is wages subject to federal income tax, reduced by 401(k) contributions and pre-tax benefits. Box 3 is wages subject to Social Security tax — 401(k) deferrals don't reduce it, though pre-tax health premiums do. A higher Box 3 is normal; if Box 1 is higher than Box 3, something is likely wrong.

Is Box 12 code DD taxable income?

No. Code DD reports the total cost of your employer-sponsored health coverage — what you paid plus what your employer paid. It's informational only, required under the Affordable Care Act, and you do not add it to your income or pay tax on it.

What does code D in Box 12 mean?

Your 401(k) elective deferrals for the year. This amount was already excluded from your Box 1 wages, so don't deduct it again. It does stay in Boxes 3 and 5, because 401(k) contributions are still subject to Social Security and Medicare tax.

What should I do if my W-2 has an error?

Ask your employer for a corrected Form W-2c — they're required to fix it. If the corrected form won't arrive before the filing deadline, file on time using your best estimate on Form 4852 and amend later if needed. Don't file with numbers you know are wrong just to beat the clock.

Do I need to enter every box into my tax software?

Usually just Boxes 1 and 2, the FICA boxes (3–6), Box 12 codes, and the state boxes 15–20. Boxes 13 and 14 mostly provide context. When in doubt, enter everything — your software ignores what it doesn't need, but it can't use what it never sees.

Estimate only: results use 2026 federal and state tax figures with simplified assumptions (single filer, standard deduction). Actual withholding varies by W-4, pre-tax deductions, and local taxes. Not tax advice.

About the author

Lucas is the founder of Paycheck Calculator and runs this site. Lucas writes and edits every guide on this site himself: before a guide goes live, he checks its figures against IRS publications and the tax tables our calculators actually run on, and updates those figures when the rules change. The guides explain the rules in general terms and are not tax advice. Questions or corrections → contact page.

Sources

The 2026 tax figures in this guide come from these official sources:

Related calculators

Take-Home Pay CalculatorFederal Income Tax CalculatorFICA Tax Calculator

Paycheck calculators by state

CaliforniaFloridaGeorgiaIllinoisOhioPennsylvaniaTexas