Your W-2 is the “receipt” for your year’s paychecks. This guide explains what each W-2 box means, how to spot common mistakes (Box 1 vs Box 3/5), and how to use it to sanity-check your tax return — with a realistic example you can copy.
File federal taxes free with FreeTaxUSA
Trusted by millions. $0 for federal returns — no income limit, no surprise fees.
⚠️ Heads Up
This is for informational purposes only. We are not accountants, tax attorneys, or financial advisors. The information in this article is general and may not apply to your specific situation. Tax laws change frequently. Please consult a qualified tax professional before making financial decisions.
Quick Summary
- Your W-2 is the year-end summary of your paychecks: wages, withholding, and FICA (Social Security + Medicare).
- The most important sanity check: Box 4 should be about 6.2% of Box 3, and Box 6 should be about 1.45% of Box 5.
- If you contributed to a 401(k) or had pre-tax benefits, your Box 1 wages can be lower than Box 3/5 (that’s usually normal).
- Fast action step: compare your W-2 to your last pay stub and your tax return. If anything looks off, ask payroll for a W-2c (corrected W-2).
A W-2 feels like a form you “just upload.” But it’s actually the single best way to catch payroll errors and explain why your refund changed. Think of it like your paycheck recap: how much you were paid, what was withheld, and what your employer told the IRS.
This guide is written for normal W-2 workers (not business owners). If you want a quick way to connect this to take-home pay, compare a no-income-tax state like Texas with a higher-tax state like California — your W-2 state withholding can look totally different.
The 60-second W-2 map (which boxes matter most)
If you only look at five boxes, make it these:
- Box 1 — taxable wages for federal income tax
- Box 2 — federal income tax withheld (the biggest driver of refund vs balance due)
- Box 3 + Box 4 — Social Security wages + Social Security tax (FICA)
- Box 5 + Box 6 — Medicare wages + Medicare tax (FICA)
📊 Key Number
Quick check: Box 4 ≈ Box 3 × 6.2% and Box 6 ≈ Box 5 × 1.45%. If it’s wildly off, investigate.
Example W-2: $58,400 wages (with real box numbers)
Here’s a realistic example for a worker paid biweekly with a 5% 401(k) contribution and employer health insurance.
| W-2 box | What it means | Example number |
|---|---|---|
| 1 — Wages, tips, other comp. | Federal taxable wages (after many pre-tax deductions) | $55,480 |
| 2 — Federal income tax withheld | What you already paid toward federal income tax | $4,820 |
| 3 — Social Security wages | Wages subject to Social Security tax | $58,400 |
| 4 — Social Security tax withheld | Usually 6.2% of Box 3 (up to the wage base) | $3,621 |
| 5 — Medicare wages and tips | Wages subject to Medicare tax | $58,400 |
| 6 — Medicare tax withheld | Usually 1.45% of Box 5 (+ 0.9% above threshold) | $847 |
| 12 — Code D | 401(k) employee contributions (not taxed in Box 1) | $2,920 |
Notice what happened: Box 3/5 are $58,400, but Box 1 is $55,480. That $2,920 difference is the 5% 401(k) contribution — it reduced federal taxable wages (Box 1), but FICA still applied (Box 3/5 stayed higher).
Ready to file? FreeTaxUSA is free for federal returns.
No upsells on the federal return. State filing $14.99.
Box 1 vs Box 3 vs Box 5: the #1 source of confusion
Most “my W-2 is wrong” panic is this: Box 1 doesn’t match my gross pay. That’s usually normal.
- Box 1 (federal taxable wages) is reduced by many pre-tax benefits: 401(k), some health insurance premiums, HSA/FSA, commuter benefits, etc.
- Box 3 (Social Security wages) is often higher than Box 1 because many pre-tax deductions do not reduce Social Security wages.
- Box 5 (Medicare wages) is often the highest because Medicare tax applies broadly (and can include things Box 1 excludes).
💡 Action Tip
Pull your last pay stub of the year and find your YTD totals for wages and withholding. Your W-2 should match those year-to-date totals closely. If it doesn’t, ask payroll what changed.
Withholding boxes (2, 17): how to sanity-check your paychecks
Refund anxiety is basically “did I overpay or underpay?” These boxes are where the money is:
- Box 2 — federal income tax withheld
- Box 17 — state income tax withheld (if your state has it)
A simple reality check: if you live in Texas, Box 17 may be blank (no state income tax). If you live in California, Box 17 is usually non-zero — and Box 16/15 show the state wages and state name.
📊 Key Number
If your Box 2 is $0 but you earned normal wages all year, that’s a red flag: you may have set your W-4 to withhold nothing, or payroll set it wrong.
Box 12 codes: what the letters mean (D, DD, W, etc.)
Box 12 is the “codes” area. The letters are normal — they’re just shorthand. A few common ones:
| Code | Usually means | Why you should care |
|---|---|---|
| D | 401(k) contributions | Explains why Box 1 can be lower than Box 3/5 |
| DD | Employer-sponsored health coverage cost (informational) | Not usually taxable; helps you understand benefit value |
| W | HSA contributions | Impacts your tax return and Box 1 wages |
If you see a code you don’t recognize, don’t guess. Payroll can tell you what it is, and tax software usually lists it too.
Common W-2 problems (and what to do)
These are the most common real issues worth catching:
- Name/SSN mismatch — fix with payroll immediately (this can delay processing).
- Box 4 too high because you had two jobs (each employer withheld Social Security up to the cap). You may be able to claim the excess back on your tax return.
- Wrong state in Boxes 15–17 if you moved or worked remotely across states.
- Box 1 wildly different from YTD on your last pay stub.
⚠️ Heads Up
If your W-2 is wrong, the fix is usually a W-2c (corrected W-2). Don’t “patch” the numbers on your tax return yourself unless a qualified tax pro tells you to — the IRS also gets the employer copy.
How to put this to work (3 steps + a mini checklist)
- Do the math checks: Box 4 ≈ Box 3 × 6.2%, and Box 6 ≈ Box 5 × 1.45%.
- Reconcile to your pay stubs: compare W-2 numbers to your final pay stub YTD totals.
- Plan next year’s withholding: if you owed money, adjust your W-4 (or add extra withholding) so you stop getting surprised.
Mini checklist (copy/paste to payroll):
- Can you confirm my W-2 matches my final pay stub YTD totals?
- Did I have any pre-tax deductions (401(k), HSA, health) that reduced Box 1?
- Which state(s) were reported in Boxes 15–17, and why?
- If a correction is needed, when will a W-2c be issued?
📋 Disclaimer
The numbers in this guide are estimates based on simplified federal and state tax assumptions for illustrative purposes. Individual tax situations vary based on filing status, deductions, credits, and other factors. We are not accountants or tax advisors. Please consult a qualified tax professional before making financial decisions.
Tools to help you manage your money
💡This site may earn a commission from partner links at no extra cost to you.
Share this guide
Was this guide helpful?