Taxable wages: federal, Social Security, Medicare and state

Gross pay is one number. Taxable wages are several, because each tax excludes different deductions.

By Tony Juraska · Updated

Short answer

Taxable wages are gross pay minus the deductions a particular tax excludes. Federal income tax wages exclude traditional 401(k) deferrals and Section 125 (cafeteria plan) premiums. Social Security and Medicare wages exclude Section 125 premiums but not 401(k) deferrals. State wages usually follow the federal rule, with exceptions such as Pennsylvania, which taxes 401(k) deferrals. Roth contributions and after-tax deductions reduce none of them.

One paycheck, three taxable wage amounts

$3,000 biweekly gross, single, standard W-4, 2026. Traditional 401(k) 6% ($180), Section 125 health premium $120.

Federal income tax

How it’s figured
$3,000 − $180 401(k) − $120 health
Taxable wages
$2,700.00
Tax withheld
$254.38

Social Security

How it’s figured
$3,000 − $120 health
Taxable wages
$2,880.00
Tax withheld
$178.56 (6.2%)

Medicare

How it’s figured
$3,000 − $120 health
Taxable wages
$2,880.00
Tax withheld
$41.76 (1.45%)

Pennsylvania

How it’s figured
$3,000 − $120 health (401(k) stays taxable)
Taxable wages
$2,880.00
Tax withheld
3.07% of state wages

Without the two deductions, federal withholding on the same $3,000 would be $320.38, so the $300 of pre-tax deductions cut federal withholding by $66.00. The pre-tax deduction calculator runs this for any pay.

Which deductions lower which wages

Traditional 401(k), 403(b), governmental 457(b)

Federal income tax
Excluded
Social Security and Medicare
Still taxable

Section 125 health, dental and vision premiums

Federal income tax
Excluded
Social Security and Medicare
Excluded

HSA contributions through a cafeteria plan

Federal income tax
Excluded
Social Security and Medicare
Excluded

Health and dependent care FSA

Federal income tax
Excluded
Social Security and Medicare
Excluded

Roth 401(k)

Federal income tax
Still taxable
Social Security and Medicare
Still taxable

Garnishments, union dues, after-tax insurance

Federal income tax
Still taxable
Social Security and Medicare
Still taxable

Section 125 and FSA treatment follows IRS Publication 15-B; deferral treatment follows IRS Publication 15.

Gross pay versus taxable gross

Many pay stubs show both. Gross pay is everything earned before any deduction. “Taxable gross,” “FIT taxable wages” or “federal taxable wages” is the federal income tax base after pre-tax deductions. Taxable fringe benefits, such as personal use of a company car, can make taxable wages higher than cash gross pay.

Where they land on the W-2

  • Box 1: federal income tax wages for the year (after 401(k) and Section 125 deductions)
  • Box 3: Social Security wages, up to the $184,500 wage base for 2026
  • Box 5: Medicare wages, with no limit
  • Box 12, code D: traditional 401(k) deferrals, which is why Box 1 is lower than Box 3
  • Box 16: state wages under that state’s rules

Checking your pay stub

Year-to-date federal taxable wages should equal YTD gross minus YTD pre-tax deductions that the federal rules exclude. If Social Security stops mid-year, check that YTD Social Security wages reached $184,500 at that employer, not across all your jobs. The Social Security and Medicare calculator shows where it should stop.

Questions

Why is my W-2 Box 1 lower than my salary?

Traditional 401(k) deferrals and Section 125 premiums are excluded from Box 1. Box 3 and Box 5 still include the 401(k) amount, so they are usually higher than Box 1.

Do pre-tax deductions lower state taxable wages?

Usually, because most states start from federal wages. Pennsylvania is a common exception: 401(k) deferrals are taxable compensation there. Check your state’s rules.

Sources

Ready when you are

Four short steps, a live preview and a free PDF download. No account needed.

Make a pay stub