Small Business

Why W-2 Boxes 1, 3 and 5 Show Different Wages

A plain guide to which pre-tax deductions leave each W-2 wage box, how the 2026 wage base caps box 3, and how to total the W-3 without errors.

Saizul Amin
Saizul Amin6 Nov 2026 · 4 min read
Why W-2 Boxes 1, 3 and 5 Show Different Wages

Why W-2 Boxes 1, 3 and 5 Show Different Wages

Employees often look at their Form W-2 and ask why three wage boxes show three different numbers. Employers preparing their own forms ask the same question from the other side. The answer is that each box follows a different tax, and each pre-tax deduction is treated differently by each tax. Once you know the pattern, the numbers stop looking random. The W-2 and W-3 Form Data Preparer applies that pattern to every employee and totals the W-3.

The three wage boxes

Box 1 is wages for federal income tax. It starts with gross pay and tips, then subtracts traditional 401(k) deferrals, section 125 cafeteria plan amounts such as health premiums, HSA contributions made through payroll and dependent care benefits up to the exclusion limit.

Box 3 is Social Security wages. Section 125 premiums, payroll HSA money and excluded dependent care still come out, but 401(k) deferrals stay in. Tips are kept separate in box 7. Boxes 3 and 7 together cannot exceed the wage base, which is $184,500 for 2026.

Box 5 is Medicare wages and tips. It follows box 3 but has no ceiling, and it includes tips.

The tax boxes follow from those: box 4 is 6.2% of boxes 3 and 7, and box 6 is 1.45% of box 5 plus 0.9% of Medicare wages above $200,000.

Worked example

Consider three employees for a full year.

The first earns $74,000, defers $4,800 to a 401(k), pays $2,400 of health premiums through section 125 and puts $1,200 into an HSA by payroll.

  1. Box 1: $74,000 − $4,800 − $2,400 − $1,200 = $65,600.
  2. Box 3 and box 5: $74,000 − $2,400 − $1,200 = $70,400. The 401(k) deferral stays in.
  3. Box 4: $70,400 × 6.2% = $4,364.80. Box 6: $70,400 × 1.45% = $1,020.80.
  4. Box 12: code D $4,800 and code W $1,200.

The second earns $56,800 plus $9,800 of tips, defers $2,800, pays $1,800 of premiums and receives $5,000 of dependent care benefits. Box 1 is $57,000. Box 3 is $50,000, box 7 holds the $9,800 of tips, and box 5 is $59,800. Box 10 shows the $5,000 of dependent care benefits.

The third earns $208,000, defers $24,500, pays $2,400 of premiums and contributes $4,400 to an HSA. Box 1 is $176,700. Box 3 stops at $184,500 even though Medicare wages in box 5 reach $201,200. Box 6 is $2,928.20, which includes $10.80 of additional Medicare tax on the $1,200 above $200,000.

The W-3 then adds the boxes: $299,300.00 in box 1, $54,200.00 in box 2, $304,900.00 in box 3, $331,400.00 in box 5, $19,511.40 in box 4 and $4,816.10 in box 6.

Box 12 codes that small employers use

Code D reports traditional 401(k) deferrals, code W reports HSA contributions through the employer, and code DD reports the cost of employer-sponsored health coverage. Code DD is information only and never taxable. Employers that filed fewer than 250 Forms W-2 for the previous year are not required to report it, which is why the preparer has a preset that sets the cost to zero.

Tie the W-3 to Form 941

Before filing, add up the four quarterly Forms 941 for the year. Line 2 across the quarters should match W-3 box 1, and the wage amounts on lines 5a, 5b and 5c should match boxes 3, 7 and 5. A mismatch usually means a deduction was coded one way in payroll and another way at year end, or a correction was made on a 941-X but not carried through.

Common mistakes

Subtracting 401(k) deferrals from box 3 and box 5. Elective deferrals are exempt from income tax but not from Social Security and Medicare tax.

Leaving section 125 premiums in box 3. Cafeteria plan premiums are excluded from all three wage boxes.

Ignoring the wage base. Box 3 for a high earner must stop at $184,500 in 2026, and box 4 must be based on the capped figure.

Treating state wages as federal wages without checking. Some states, such as California, do not follow the federal HSA exclusion, so box 16 may need the HSA added back. The preparer copies box 1 to box 16, so adjust it where your state differs.

Missing January 31. Copies go to employees and Copy A with the W-3 goes to the Social Security Administration by that date, with no automatic extension.

Filing

Most small employers file through the SSA's Business Services Online, which accepts typed entries or an upload. Keep the CSV from the preparer with your payroll records. The box treatment here follows the IRS General Instructions for Forms W-2 and W-3, with a $7,500 dependent care limit for 2026 that you can edit. Read it as general guidance for year-end payroll, not as tax or payroll advice for your business.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages