How to Create a W-2 from Your Pay Stub: 2026 Tax Filing Guide

Tax deadline is approaching and your W-2 still hasn't arrived. Or maybe your employer went out of business. Or you lost your W-2 and can't get a replacement in time.

Whatever the reason, you can use your pay stubs to estimate your W-2 information and file your taxes. Here's exactly how to do it for the 2026 tax season.

Can You File Taxes Without a W-2?

Yes — but not directly with just a pay stub. The IRS requires you to use Form 4852 (Substitute for Form W-2) when you don't have your official W-2. Your pay stub provides the numbers you need to complete this form.

Important: You should only use Form 4852 as a last resort. First, try these options:

1. Contact your employer — Request a duplicate W-2
2. Check your employer's payroll portal — Many companies provide electronic W-2s
3. Contact the IRS — Call 1-800-829-1040 after February 14 if you haven't received your W-2
4. Request a W-2 transcript — Use Form 4506-T to get wage information the IRS has on file

If none of these work and you need to file, use your final pay stub to complete Form 4852.

W-2 Boxes Explained

Before you start, understand what each W-2 box represents:

Box 1: Wages, Tips, Other Compensation — Your taxable federal income. This is NOT the same as gross pay.

Box 2: Federal Income Tax Withheld — Total federal taxes taken from your paychecks.

Box 3: Social Security Wages — Wages subject to Social Security tax (capped at $184,500 for 2026).

Box 4: Social Security Tax Withheld — Should equal Box 3 × 6.2% (maximum $11,439 for 2026).

Box 5: Medicare Wages — Wages subject to Medicare tax (usually equals Box 1, no cap).

Box 6: Medicare Tax Withheld — Should equal Box 5 × 1.45% (plus 0.9% on wages over $200,000).

Box 16: State Wages — Wages subject to state income tax.

Box 17: State Income Tax Withheld — Total state taxes taken from your paychecks.

How to Calculate W-2 Wages from Your Pay Stub

Your final pay stub of the year has YTD (year-to-date) totals that correspond to your W-2 boxes. Here's how to calculate each:

Box 1: Federal Taxable Wages

Start with your YTD gross wages, then subtract pre-tax deductions:

YTD Gross Wages
− 401(k) contributions
− Health insurance premiums (if pre-tax)
− HSA contributions
− FSA contributions
− Other pre-tax deductions
= Box 1 Wages

Example: $65,000 gross − $6,500 (401k) − $3,000 (health) − $1,500 (HSA) = $54,000 Box 1

Box 2: Federal Tax Withheld

Look for "Federal Tax," "FWT," "FIT," or "Fed W/H" on your pay stub. Use the YTD total.

Box 3: Social Security Wages

Usually the same as Box 1, but capped at $184,500 for 2026. If your YTD gross exceeds the cap, Box 3 = $184,500.

Box 4: Social Security Tax

Look for "OASDI," "SS," or "Social Security" on your pay stub. Use the YTD total. This should equal Box 3 × 6.2%.

Box 5: Medicare Wages

Usually equals Box 1 (no cap). Some pre-tax benefits affect Box 5 differently than Box 1 — check your pay stub for "Medicare Wages" if listed.

Box 6: Medicare Tax

Look for "MED," "Medicare," or "FICA-Med" on your pay stub. Use the YTD total.

Boxes 16-17: State Information

Look for "State Tax" or "SWT" on your pay stub. State taxable wages may differ from federal — some states don't tax retirement contributions the same way.

Step-by-Step: Filling Out Form 4852

Once you have your numbers, complete Form 4852:

Line 1: Your name, address, and Social Security number

Line 2: Tax year (2025 for taxes filed in 2026)

Line 3: Employer's name and address

Line 4: Employer's EIN (Employer Identification Number) — found on previous W-2s or your pay stub

Line 7: Enter your wage and tax information:
• 7a: Total wages (Box 1)
• 7b: Social Security wages (Box 3)
• 7c: Medicare wages (Box 5)
• 7d: Social Security tips
• 7e: Federal income tax withheld (Box 2)
• 7f: State wages (Box 16)
• 7g: State income tax withheld (Box 17)

Line 8: Explain how you determined these amounts. Write something like: "Amounts calculated from final 2025 pay stub dated [date]. Employer failed to provide W-2 despite multiple requests."

Line 9: Describe your efforts to obtain the W-2 (contacted employer, called IRS, etc.)

Important Warnings

Your numbers may not match exactly. Pay stub calculations can differ slightly from W-2 figures due to timing, adjustments, or benefits. If you later receive your W-2 and the numbers are different, you may need to file an amended return (Form 1040-X).

You cannot e-file with Form 4852. You'll need to mail your paper tax return to the IRS.

Keep your pay stubs. The IRS may ask for documentation supporting your Form 4852 figures.

Filing with Form 4852 may delay your refund. The IRS often reviews these returns more carefully.

2026 Key Tax Numbers

Use these figures when checking your calculations:

• Social Security wage base: $184,500
• Maximum Social Security tax: $11,439
• Medicare tax rate: 1.45% (no cap)
• Additional Medicare tax: 0.9% on wages over $200,000
• Standard deduction (single): $15,750
• Standard deduction (married filing jointly): $31,500
• Tax filing deadline: April 15, 2026

What If You Receive Your W-2 After Filing?

If your W-2 arrives after you've filed with Form 4852, compare the numbers. If they match, you're done. If they differ significantly, you'll need to file an amended return using Form 1040-X.

Small differences (a few dollars) usually don't require an amendment. Large differences — especially if they change your tax owed or refund amount — should be corrected.

Get Your W-2 Information Right

Your pay stub contains everything you need to estimate your W-2 — you just need to know where to look and how to calculate each box.

For a detailed walkthrough with examples, check out our complete guide on how to create a W-2 from your pay stub.

Need help understanding your pay stub first? See our guide to pay stub abbreviations to decode every line item.

If your pay stub is messy or hard to read, upload it to CleanPaystubs for a clean, formatted report. Your first report is free.

Last updated: February 2026

Comments

Popular posts from this blog

Medicare Tax on Your Pay Stub: 2026 Rates, Calculations & What "MED" Really Means

Pay Stub Abbreviations Decoded: What FWT, FICA, OASDI & More Actually Mean (2026)