Free calculator

Pay Stub to W2 Converter

Enter totals from your most recent pay stub and get an instant estimate of common W‑2 boxes (wages + withholdings). Helpful for planning, catch‑ups, or when you’re still waiting on your official W‑2.

Prefer the overview? W‑2 form generator guide →

  • No signup required
  • Runs in your browser (no upload)
  • Clear box mapping from pay stub → W‑2

How to Convert Your Pay Stub to W‑2 Format

A W‑2 is an annual summary. Your pay stub usually shows either year‑to‑date (YTD) totals or per‑paycheck amounts. The cleanest conversion is: use YTD totals from your final pay stub of the year.

What you’ll need from your pay stub

  • Gross wages (preferably YTD)
  • Federal income tax withheld (FIT)
  • Social Security wages + tax withheld
  • Medicare wages + tax withheld
  • State & local wages + withholding (if shown)

If your stub doesn’t show Social Security or Medicare breakdowns, leave those fields blank—this tool will still estimate the most common boxes.

Box‑by‑box conversion (common fields)

W‑2 box Usually comes from pay stub
Box 1 WagesTaxable wages / gross wages (YTD if available)
Box 2 Federal taxFederal income tax withheld (YTD)
Box 3 Social Security wagesSocial Security wages (YTD)
Box 4 Social Security taxSocial Security tax withheld (YTD)
Box 5 Medicare wagesMedicare wages (YTD)
Box 6 Medicare taxMedicare tax withheld (YTD)
Box 16 State wagesState taxable wages (YTD)
Box 17 State taxState income tax withheld (YTD)
Box 18–19 Local wages/taxLocal wages and local tax withheld (YTD)

Some W‑2 boxes depend on benefit codes, retirement plan info, and employer reporting rules. This page focuses on the most common, pay‑stub‑visible fields.

Pay Stub to W‑2 Conversion Calculator

Use YTD totals when possible. If you only have a single paycheck, choose your pay frequency to annualize.

Maps to W‑2 Box 1 (estimate).
Maps to W‑2 Box 2.
Maps to W‑2 Box 17.
Maps to W‑2 Box 3.
Maps to W‑2 Box 4.
Maps to W‑2 Box 16.
Maps to W‑2 Box 5.
Maps to W‑2 Box 6.
Maps to W‑2 Box 19.
Maps to W‑2 Box 18.
Estimates only. Your official W‑2 is the form you use for filing.
Estimated W‑2 totals
Enter values to see results.
Continue to W‑2 generator →
Box 1
Wages
Box 2
Federal tax
Box 3
SS wages
Box 4
SS tax
Box 5
Medicare wages
Box 6
Medicare tax
Box 16
State wages
Box 17
State tax
Box 18
Local wages
Box 19
Local tax

Understanding the Difference: Pay Stub vs W‑2

What’s on a pay stub

Pay stubs show earnings and deductions for a pay period (and often year‑to‑date). They can include different wage bases (taxable vs gross), benefits, reimbursements, and retirement contributions.

What’s on a W‑2

A W‑2 is a standardized year‑end tax form with specific boxes. Employers report final totals after applying tax rules and payroll reporting requirements.

Why numbers might differ: pre‑tax deductions, taxable fringe benefits, imputed income, employer corrections, multiple states/localities, and mid‑year payroll changes can all shift Box 1/3/5 totals.

What to Do If You Don’t Receive Your W‑2

Deadlines & next steps

  • January 31: employers generally must send W‑2s by this date.
  • If it’s missing: contact your employer/payroll provider and confirm your mailing/email address.
  • If you still can’t get it: you may be able to use Form 4852 as a substitute.

Keep your final pay stub and any payroll correspondence—those are helpful when estimating totals.

Need a printable W‑2?

If you need a clean, professional W‑2 layout for documentation, you can generate a W‑2 with a free preview:

Go to W‑2 generator

(For tax filing, always use your employer‑issued W‑2 whenever possible.)

FAQs

How do I calculate W2 Box 1 from my pay stub?

Take your YTD gross wages and subtract pre-tax deductions like 401(k), health insurance, HSA, and FSA contributions.

Can I use my last pay stub instead of a W2?

Yes, you can estimate your W2 figures from your final pay stub. If you don't receive your official W2, file Form 4852.

Why is my W2 Box 1 different from my gross pay?

Box 1 excludes pre-tax deductions. Your gross pay minus 401(k), health insurance, and other pre-tax benefits equals Box 1.