$Missed Deductions

What is Form W-2 and what do all the boxes mean?

Understanding Your Returnbeginner2 answers · 5 min readUpdated February 28, 2026

Quick Answer

Form W-2 reports your annual wages and taxes withheld by your employer. Key boxes include Box 1 (federal taxable wages), Box 2 (federal tax withheld), Box 3 (Social Security wages up to $176,100 for 2026), and Box 5 (Medicare wages with no limit). Box 12 codes show pre-tax deductions like 401(k) contributions, HSA contributions, and employer-provided benefits.

Best Answer

DF

Diana Flores, Tax Credits & Amendments Specialist

Best for anyone who receives a W-2 and wants to understand what each box means and how it affects their tax return

Top Answer

What is Form W-2?


Form W-2 (Wage and Tax Statement) is the document your employer sends you by January 31st each year. It summarizes your total wages, tips, and other compensation, plus all the taxes withheld from your paychecks during the year. According to IRS Publication 15-A, employers must provide a W-2 to anyone who earned at least $600 or had any taxes withheld.


You'll use your W-2 to complete your tax return — the numbers flow directly from specific W-2 boxes to specific lines on Form 1040.


The key boxes explained (with examples)


Let's walk through a typical W-2 for someone earning $75,000 who contributes 6% to their 401(k) and has health insurance:


Wage boxes (1, 3, and 5)

Box 1 - Federal wages: $70,500

This is your taxable wages for federal income tax. It's your gross pay minus pre-tax deductions like 401(k) contributions ($4,500), health insurance premiums ($1,200), and HSA contributions ($2,800).


Box 3 - Social Security wages: $75,000

Your total wages subject to Social Security tax (6.2% up to $176,100 in 2026). Pre-tax deductions don't reduce this amount.


Box 5 - Medicare wages: $75,000

Your total wages subject to Medicare tax (1.45% with no income limit). Same as Box 3 for most people.


Tax withholding boxes (2, 4, and 6)

Box 2 - Federal income tax withheld: $12,450

Total federal income tax your employer withheld from your paychecks. This goes directly to Form 1040, line 25a.


Box 4 - Social Security tax withheld: $4,650

6.2% of your Box 3 wages ($75,000 × 6.2% = $4,650).


Box 6 - Medicare tax withheld: $1,088

1.45% of your Box 5 wages ($75,000 × 1.45% = $1,088).


The important Box 12 codes

Box 12 shows various pre-tax deductions and employer benefits. Common codes include:


  • Code D: 401(k) contributions ($4,500 in our example)
  • Code W: HSA contributions ($2,800)
  • Code C: Group-term life insurance over $50,000
  • Code DD: Employer-sponsored health coverage cost
  • Code AA: Roth 401(k) contributions (after-tax)

  • Other boxes to watch

    Box 13: Check marks for retirement plan availability and third-party sick pay


    Box 14: Other deductions like union dues, parking, or disability insurance premiums


    How to spot W-2 errors


    According to the American Payroll Association, about 8 million W-2s contain errors each year. Here's what to check:


    1. Name and Social Security number match your records exactly

    2. Box 1 calculation: Gross wages minus Box 12 pre-tax deductions should equal Box 1

    3. Tax withholding accuracy: Compare your final paystub totals to W-2 boxes 2, 4, and 6

    4. Missing Box 12 codes: Ensure all pre-tax deductions appear (401k, HSA, health insurance)


    Multiple W-2s: What you need to know


    If you had multiple jobs or changed employers, you'll receive separate W-2s. Key points:


  • Add all wages together for your tax return
  • Social Security tax cap applies across all W-2s — if total Box 4 exceeds $10,918 (6.2% × $176,100), you get a credit
  • Each employer withholds independently — you might be under-withheld overall

  • What you should do with your W-2


    1. Receive by January 31st — contact your employer if you don't get it

    2. Compare to your final paystub for accuracy

    3. Keep the original — you'll need it for tax filing

    4. Enter numbers carefully into tax software or give to your preparer

    5. File with your tax return — attach Copy B to paper returns (not needed for e-filing)


    Use our form explainer tool to get personalized help understanding your specific W-2, or try our refund estimator to see how your withholdings affect your refund.


    Key takeaway: Your W-2 Box 1 (federal wages) determines your taxable income, while Box 2 (federal tax withheld) determines if you get a refund or owe taxes. Box 12 codes reveal valuable pre-tax benefits you may want to maximize next year.

    Key Takeaway: Your W-2 Box 1 determines taxable income while Box 2 determines refunds/taxes owed. Box 12 codes show pre-tax benefits worth maximizing for future tax savings.

    Key W-2 boxes and their purpose for tax filing

    Box NumberWhat It Shows2026 Limits/NotesWhere It Goes on 1040
    Box 1Federal taxable wagesGross wages minus pre-tax deductionsForm 1040, line 1a
    Box 2Federal income tax withheldNo limitForm 1040, line 25a
    Box 3Social Security wagesSubject to $176,100 wage baseUsed to verify Box 4
    Box 4Social Security tax withheld6.2% of Box 3, max $10,918Form 1040, line 25a
    Box 5Medicare wagesNo income limitUsed to verify Box 6
    Box 6Medicare tax withheld1.45% of Box 5Form 1040, line 25a
    Box 12Pre-tax deductions & benefitsVarious codes (D=401k, W=HSA)May affect other tax calculations

    More Perspectives

    DF

    Diana Flores, Tax Credits & Amendments Specialist

    Best for straightforward W-2 employees who just want to know the basics for filing their tax return

    The simple W-2 breakdown


    Your W-2 has a lot of boxes, but you only need to focus on a few key ones for filing your tax return:


    Box 1: This is your taxable wages — what you pay federal income tax on. It's your gross pay minus things like 401(k) contributions and health insurance.


    Box 2: This is how much federal tax was taken out of your paychecks all year. If this number is bigger than what you owe in taxes, you get a refund. If it's smaller, you owe money.


    Boxes 3 and 5: Usually the same number — your total gross wages before any deductions. These determine Social Security and Medicare taxes.


    What the tax software needs


    When you use tax software like TurboTax or FreeTaxUSA, it asks for these W-2 numbers:

  • Box 1 (wages) goes to your Form 1040
  • Box 2 (federal tax withheld) gets subtracted from what you owe
  • Boxes 4 and 6 (Social Security and Medicare taxes withheld) are usually correct and automatic

  • Check for these common mistakes


    1. Wrong Social Security number — this delays your refund

    2. Missing 401(k) contributions — should appear in Box 12 with code "D"

    3. Wrong withholding amounts — compare Box 2 to your last paystub


    Multiple jobs? Add them up


    If you had multiple W-2s during the year, you add up all the Box 1 amounts for total wages and all the Box 2 amounts for total federal tax withheld.


    The bottom line


    Your W-2 is basically a summary of your paychecks for the year. Box 1 shows what you're taxed on, Box 2 shows what you already paid in taxes. The difference determines if you get a refund or owe money.

    Key Takeaway: Focus on Box 1 (taxable wages) and Box 2 (federal tax withheld) — the difference between what you owe and what was withheld determines your refund or balance due.

    Sources

    form w2wagestax withholdingpayroll taxes

    Reviewed by Diana Flores, Tax Credits & Amendments Specialist on February 28, 2026

    This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.