How to Read a W-2: Every Box Explained, With a Worked 2026 Example

Short answer: your W-2 shows what your employer paid you for the year and what it withheld. The three boxes most people need are Box 1 (wages subject to federal income tax), Box 2 (federal income tax withheld) and Boxes 16 and 17 (state wages and state tax withheld). Box 1 is usually lower than your salary because pre-tax deductions such as a traditional 401(k) and pre-tax health premiums come out first. Boxes 3 and 5 can be higher than Box 1, because 401(k) money is still subject to Social Security and Medicare tax.
For 2026 wages, employers have to get your W-2 to you by February 1, 2027, according to the IRS 2026 General Instructions for Forms W-2 and W-3. Those instructions are what this guide is built on. They're written for employers, so I've translated them into what each box means for you.
The quick map
| Box | What it shows | Why you care |
|---|---|---|
| a–f | Your SSN, employer's EIN, names and addresses | Check your name and SSN first. Errors here are the most important to fix. |
| 1 | Wages, tips, other compensation | Goes on your Form 1040 as wages |
| 2 | Federal income tax withheld | Your prepayment toward this year's income tax |
| 3 | Social Security wages | Capped at $184,500 for 2026 |
| 4 | Social Security tax withheld | 6.2% of Box 3; no more than $11,439 for 2026 |
| 5 | Medicare wages and tips | No cap |
| 6 | Medicare tax withheld | 1.45%, plus 0.9% Additional Medicare Tax on wages over $200,000 |
| 7 / 8 | Social Security tips / allocated tips | Tipped jobs only |
| 10 | Dependent care benefits | Amounts over your plan's exclusion are also added to Boxes 1, 3 and 5 |
| 11 | Nonqualified plans | Deferred compensation distributions |
| 12 | Coded items (D, DD, W, TT and others) | Retirement savings, health costs, new 2026 overtime and tip amounts |
| 13 | Checkboxes | "Retirement plan" affects IRA deduction rules |
| 14a / 14b | Other / tipped occupation code | Employer notes; new split for 2026 |
| 15–20 | State and local wages and tax | For your state and city returns |
Worked example: a hypothetical $85,000 salary in Pennsylvania
Hypothetical employee. The dollar amounts are estimates from our 2026 tax engine and IRS withholding tables, not a real W-2.
Alex is single, lives and works in Pennsylvania, earns an $85,000 salary paid every two weeks, and has no bonus. During 2026:
- puts 6% of pay, $5,100, into a traditional 401(k)
- pays $2,400 of health insurance premiums pre-tax through the employer's cafeteria (section 125) plan
Here's what Alex's W-2 would show:
| Box | Amount | How it's figured |
|---|---|---|
| 1 | $77,500.00 | $85,000 − $5,100 401(k) − $2,400 health premiums |
| 2 | $8,220.00 (est.) | 2026 Pub. 15-T withholding on $77,500, single |
| 3 | $82,600.00 | $85,000 − $2,400. The 401(k) money stays in. |
| 4 | $5,121.20 | 6.2% × $82,600 |
| 5 | $82,600.00 | Same as Box 3 at this income |
| 6 | $1,197.70 | 1.45% × $82,600 |
| 12a | D 5100.00 | 401(k) elective deferrals |
| 12b | DD (amount varies) | Total cost of employer health coverage; not taxable |
| 13 | Retirement plan ☑ | Alex was an active 401(k) participant |
| 15 | PA | State |
| 16 | $82,600.00 | PA counts 401(k) deferrals as taxable compensation |
| 17 | $2,535.82 | 3.07% × $82,600 |
| 18–20 | Varies | Pennsylvania local earned income tax |
Now let's go through why each number is what it is.
Box 1: why it isn't your salary
The W-2 instructions tell employers to report total taxable wages in Box 1 but not elective deferrals such as 401(k) or 403(b) contributions. Pre-tax premiums under a section 125 cafeteria plan are left out too, because IRS Pub. 15-B (2026) says excluded cafeteria plan benefits generally aren't subject to income tax withholding, Social Security or Medicare tax. So Alex's Box 1 is $7,500 lower than the salary.
Things that push Box 1 up include bonuses, taxable fringe benefits, group-term life insurance over $50,000 (also shown in Box 12 with code C) and your own HSA contributions if they weren't made through a cafeteria plan. All of these come from the Box 1 list in the instructions.
Box 2: federal income tax withheld
This is the total pulled from your paychecks based on your W-4. For Alex, Pub. 15-T (2026) gives: $77,500 − $8,600 = $68,900. Then the single-filer table: $5,800 + 22% × ($68,900 − $57,900) = $8,220, about $316.15 per check. Our engine's estimate of Alex's actual 2026 federal income tax is also $8,220 ($77,500 − $16,100 standard deduction = $61,400 taxable), so Alex would end up near zero at filing time. Bonuses are usually withheld differently. See how bonuses are taxed.
Boxes 3 to 6: Social Security and Medicare
Box 3 includes 401(k) deferrals, as the instructions require (codes D, E, F, G and S), which is why it's higher than Box 1. Box 3 plus Box 7 can't exceed $184,500 for 2026, and Box 4 shouldn't exceed $11,439. If you earn more than that, Box 3 stops at $184,500 while Box 5 keeps going. The instructions' own example: wages of $199,750 show $184,500 in Box 3 and $199,750 in Box 5.
If you had two or more employers and together they withheld more than $11,439 of Social Security tax, the extra isn't lost. IRS Topic 608 says you may be able to claim it as a credit on your tax return. If a single employer withheld too much, Topic 608 says the employer should fix it, and you can't claim it as a credit.
Box 12: the codes worth knowing
Box 12 holds a capital letter code and an amount. The common ones from the 2026 instructions:
- C: taxable cost of group-term life insurance over $50,000 (already in Box 1)
- D: traditional 401(k) contributions (E for 403(b), G for 457(b))
- AA / BB / EE: Roth 401(k) / Roth 403(b) / Roth 457(b) contributions
- W: employer contributions to your HSA, including what you put in through a cafeteria plan
- DD: total cost of employer-sponsored health coverage. The instructions say this amount isn't taxable. It's there for information.
New for 2026, from the One Big Beautiful Bill Act (P.L. 119-21):
- TT: total qualified overtime compensation. Only the "half" part of time-and-a-half is reported. You'll need this figure to claim the new overtime deduction, and IRS Topic 154 notes that Form 4852 can't be used to work out that deduction.
- TP: total cash tips reported to the employer, used for the new tips deduction. Box 14b then shows a Treasury Tipped Occupation Code.
- TA: employer contributions to a Trump account for you or a dependent (allowed from July 4, 2026, up to $2,500 a year).
If you contribute to a 401(k) and get a match, the match itself doesn't appear in Box 12. Our 401(k) match guide shows how to check the match against your plan statement instead.
Box 13: three checkboxes
- Statutory employee: rare. Certain drivers, insurance agents, home workers and salespeople whose pay is subject to Social Security and Medicare but not federal income tax withholding.
- Retirement plan: checked if you were an "active participant" in a 401(k), 403(b), pension or similar plan for any part of the year. This affects whether you can deduct a traditional IRA contribution.
- Third-party sick pay: checked if sick pay came from an insurer or other third party.
Box 14: employer notes
For 2026, the old Box 14 is split. 14a ("Other") is a free-text box your employer can use for things like state disability insurance taxes withheld, union dues, health insurance premiums deducted or educational assistance, according to the instructions. 14b is only for the tipped occupation code. Nothing in 14a goes on your federal return automatically, but some of it (state disability tax, for example) may matter on a state return.
Boxes 15 to 20: state and local
These show your state wages and tax (Boxes 15 to 17) and any local wages and tax (Boxes 18 to 20). One W-2 can show two states and two localities.
State wages often differ from Box 1. Alex's is the classic case: the Pennsylvania Department of Revenue says 401(k) contributions are part of taxable compensation for PA withholding, unlike the federal rule. Qualified section 125 health premiums, though, are excluded in PA as well (PA DOR answer 2604). So Box 16 is $82,600, not $77,500, and at PA's flat 3.07% (PA DOR tax rates) Box 17 comes to $2,535.82. Most Pennsylvania municipalities and school districts also levy a local earned income tax (PA DCED), which would show in Boxes 18 to 20. We haven't estimated it here because the rate depends on where Alex lives and works.
Check your W-2 against your last pay stub
The fastest sanity check is your final pay stub of the year. The year-to-date (YTD) columns should line up:
- YTD federal income tax = Box 2
- YTD Social Security tax = Box 4
- YTD Medicare tax = Box 6
- YTD gross pay minus YTD pre-tax 401(k) and pre-tax benefit deductions ≈ Box 1
Small differences can be legitimate, such as taxable fringe benefits added at year-end. Timing matters too: the instructions say a W-2 is based on wages paid during the calendar year, so late-December work paid in January 2027 belongs on next year's W-2. Big differences are worth an email to payroll.
You can also tie the W-2 back to your take-home pay. For Alex, the engine estimates $60,425 of take-home pay for the year before local tax: $85,000 minus $7,500 of pre-tax deductions, minus Boxes 2, 4, 6 and 17. Run your own salary through the take-home pay calculator and compare. Our post on what take-home pay is explains each line.
When something is wrong or missing
- Name or SSN wrong: ask your employer for a corrected Form W-2c. A wrong SSN can also affect your Social Security earnings record. You can review your earnings history with a my Social Security account.
- Amounts wrong: ask payroll for a W-2c before you file.
- No W-2 by February 1, 2027: IRS Topic 154 says to check your IRS online account, then contact your employer. If you still don't have it by the end of February, call the IRS at 800-829-1040. As a last resort, you can file with Form 4852, a substitute W-2, and amend later if the real one differs.
- Lost it: your employer can give you a copy marked "REISSUED STATEMENT." The instructions note that the tax code doesn't stop employers from charging a fee for a duplicate.
Frequently Asked Questions
Is a W-2 job full-time or contract? Either. A W-2 means you're paid as an employee and your employer withholds tax. That can be full-time, part-time or a fixed-term "W-2 contract," often through a staffing agency. A 1099 means you're paid as an independent contractor with no withholding. Our W-2 vs 1099 guide compares the two.
Why is Box 1 lower than my salary? Pre-tax deductions such as traditional 401(k) contributions and cafeteria plan health premiums are left out of Box 1. In the example, $85,000 of salary became $77,500 in Box 1.
Why are Boxes 1, 3 and 5 all different? Box 1 excludes 401(k) deferrals, while Boxes 3 and 5 include them. Box 3 stops at $184,500 for 2026, and Box 5 has no cap.
Do I pay tax on the Box 12 code DD amount? No. The W-2 instructions say the code DD amount isn't taxable. It shows the cost of your health coverage.
Is a W-2 the same as a W-4? No. You fill out a W-4 to tell your employer how much to withhold. Your employer sends you a W-2 after the year ends to show what was paid and withheld.
Sources
- IRS, 2026 General Instructions for Forms W-2 and W-3 (Box 1–20 rules, Box 12 codes, new codes TT/TP/TA, Box 14a/14b, $184,500 and $11,439 limits, February 1, 2027 deadline)
- IRS, Form W-2 (2026) and About Form W-2
- IRS, Publication 15-T (2026) (withholding tables for Box 2 estimate)
- IRS, Publication 15-B (2026) (cafeteria plan exclusions)
- IRS, Rev. Proc. 2025-32 (2026 brackets and standard deduction)
- SSA, 2026 COLA fact sheet (6.2% / 1.45% rates, $184,500 wage base)
- IRS, Topic 154: Form W-2 and Form 1099-R (what to do if incorrect or not received) and Form 4852
- Pennsylvania Department of Revenue, 401(k) contributions and withholding, Section 125 cafeteria plans and tax rates
- PA Department of Community and Economic Development, Local income tax information
- IRS, Topic 608: Excess Social Security and RRTA tax withheld
- SSA, my Social Security
The example employee is hypothetical. Boxes 1, 3, 4, 5, 6, 16 and 17 and the take-home figure are estimates from the myuscareerpath.com 2026 tax engine (single, Pennsylvania, $5,100 401(k), $2,400 section 125 premiums, no local tax). Box 2 is an estimate using the Pub. 15-T (2026) annual percentage method for 26 biweekly periods. Real W-2s can differ by small rounding amounts.
Weekly salary tips
One short email a week on pay, offers and taxes in the U.S. No spam; unsubscribe anytime. See our privacy policy.