Support Center

How can we help?

Choose the best way to contact the ePaystubs support team.

Fill out your information, and we'll do the calculations for you
Calculate W-2 Wages From Pay Stub: Box 1 Formula (2026)

Calculate W-2 Wages From Pay Stub: Box 1 Formula (2026)

2026 tax-year payroll guide · W-2 wage calculation

Quick answer: To estimate W-2 Box 1 from a pay stub, start with YTD gross wages paid in 2026. Subtract qualifying pretax 401(k) deferrals and benefits still included in gross; add taxable benefits or reported tips missing from gross. Do not subtract Roth contributions, taxes withheld or net pay. Box 3 Social Security wages and Box 5 Medicare wages use different rules.

Tax year matters: This guide covers wages paid January 1–December 31, 2026, generally shown on a W-2 furnished in early 2027. If your last available pay stub is from November, these are year-to-date estimates—not final W-2 amounts. A final pay stub can omit late payroll corrections and taxable fringe benefits. Use your employer-issued W-2 for tax filing unless the IRS instructs you to follow its substitute-form process.

How to Calculate W-2 Box 1 From a Final Pay Stub

YTD gross compensation + reported tips absent from gross + taxable additions absent from gross− qualifying pretax income-tax exclusions − nontaxable payments included in gross= Estimated Box 1 federal taxable wages

Box 3/5 cross-check: Begin with the employer's FICA-covered compensation (including appropriately reported tips and taxable benefits), not simply Box 1 plus every deduction. Social Security wages and tips share the 2026 $184,500 cap; Medicare wages have no equivalent annual cap. Read the IRS 2026 W-2 instructions for the formal definitions.

Example: one final pay stub, three W-2 wage amounts

Assume an ordinary employee has $60,000 in gross earnings, $6,000 in traditional 401(k) deferrals, $3,000 in qualifying pretax health premiums, and a $200 taxable group-term life benefit not yet in gross.

Illustrative calculation of W-2 Box 1, Box 3 and Box 5
W-2 boxCalculationEstimate
Box 1 · Federal wages$60,000 − $6,000 − $3,000 + $200$51,200
Box 3 · Social Security wages$60,000 − $3,000 + $200$57,200
Box 5 · Medicare wages$60,000 − $3,000 + $200$57,200

Illustrative ordinary-employee case below the 2026 Social Security limit, with no reported tips, wage-base adjustment, or special coverage. View the full item-by-item example.

Traditional employee retirement-plan deferrals usually reduce Box 1 but remain in Social Security and Medicare wages; use our traditional versus Roth 401(k) pay-stub guide to identify which contribution is which. Qualifying section 125 benefits commonly reduce all three wage bases; the pretax versus post-tax deduction guide explains which payroll deductions are actually excluded. Roth deferrals are after-tax: do not remove them from Box 1 merely because the employer labels them “retirement.” Employer-funded HSA contributions and the informational health-coverage cost in Box 12 also must not automatically be subtracted from the employee's gross. To separate employee payroll contributions from employer funding, check HSA EE versus HSA ER. The classification, not the label alone, controls the calculation.

What to Check on Your Final Pay Stub

Use the last statement with a pay date in 2026, not merely the last work period ending in December. Work performed in December but normally paid in January is generally reported in the later pay year. If it is only September or your employer has not processed its last payroll, you can estimate YTD wages, not a final annual W-2.

  • Starting earnings: YTD cash earnings and amounts the employer includes in gross; determine whether reported tips and imputed benefits are already there.
  • Deduction classifications: distinguish traditional retirement deferrals, Roth/after-tax deductions, and qualifying benefits excluded from both income-tax and FICA wages.
  • Excluded payments: confirm whether nontaxable reimbursements entered your gross calculation at all.
  • Employer wage ledgers: when available, check YTD federal taxable wages, Social Security wages, Medicare wages, and reported Social Security tips separately.
  • Actual withholding: the FIT, Social Security and Medicare YTD tax amounts can help cross-check Boxes 2, 4 and 6, but they are not deductions when calculating Box 1.

Find the right columns with our labeled pay-stub example; use the YTD guide to check cumulative earnings and deductions. If your starting figure says “net pay,” see gross pay versus net pay before using the calculator.

Double-counting guardrail: Do not subtract a qualifying premium again if the starting number is already taxable gross rather than gross earnings. Do not subtract a nontaxable reimbursement that was added to net pay but never entered gross. Do not add an imputed benefit if gross already includes it.

2026 W-2 Wage Estimator and Reconciliation Tool

Use this 2026 educational wage estimator only for one ordinary, FICA-covered employee at one employer. Enter documented YTD amounts for the same calendar year. The calculator code runs in your browser without sending entered numbers to a server; the surrounding website may use its own standard analytics. Do not enter names, account numbers or SSNs. If benefit classification, government coverage, year-end adjustments, or tips allocation are uncertain, request your employer's wage ledger instead of relying on this estimate.

Accuracy first: “Taxable” does not always mean taxable for every wage box. This tool separates Box 1 (federal income-tax wages) from Boxes 3/5 (FICA wages), but unusual fringe benefits, deferred compensation, third-party sick pay, and corrected payroll require employer confirmation. If you have YTD federal taxable wages already on your payroll statement, compare that amount before trying to reconstruct it.
1. Earnings and verified exclusions
Use the employer’s cash/earnings gross, NOT net pay or federal taxable wages.
Employee traditional 401(k), 403(b), or similar verified deferrals already in gross.
For example, verified section 125 health premiums, health FSA or qualifying payroll HSA contributions already included in gross.
Optional. Use only if payroll confirms the amount reduces Box 1 but not ordinary FICA wages; never enter Roth here.
For example, a documented accountable-plan reimbursement, but ONLY if it is part of the gross amount above.
Only amounts absent from gross and included in both wage bases (for example, ordinary taxable group-term life coverage). Do not enter a benefit twice.
These amounts do not reduce Box 1, 3 or 5 if already included in gross.
Advanced: only if your employer confirms different tax-base treatment

Most readers should leave these as zero. Use these fields only with verified payroll classifications. Otherwise select “special/uncertain payroll rules” below and ask your employer for a wage ledger. Do not guess how a taxable fringe or deferred-compensation item is treated.

Only an employer-confirmed amount included in Box 1 but excluded from the ordinary FICA base.
Employer-confirmed amount included in FICA wages but not current federal Box 1 wages.
Only if payroll confirms this amount appears in the starting gross but is excluded from Boxes 3, 5 and 7. It does not automatically reduce Box 1.
2. Reported tips and payroll coverage
Exclude allocated tips (Box 8) and tips not reported to your employer. Use only employer-reported tips.
The calculator will not guess; selecting “No” adds them exactly once.
Choose special/uncertain for unusual Social Security coverage, third-party sick pay, complex equity/deferred compensation, corrected wages or an unknown payroll treatment.
3. Optional actual W-2 values and withheld-tax amounts

Enter the employer's reported numbers to compare estimated wage bases or display your actual withholding figures. Leave unknown values empty. This tool does not calculate Box 2, 4 or 6 from wages.

Optional: enter actual Box 1 to reconcile.
Optional: enter the actual Social Security wages.
Optional: enter the actual Medicare wages and tips.
Optional: enter actual Social Security tips.
Optional actual withheld amount: never derive this from Box 1 alone.
Optional actual withheld amount, including Social Security tax on tips actually collected.
Optional actual withheld amount, including any Additional Medicare Tax withheld.

2026 tax year only. The 2026 Social Security wage base is $184,500. This simple model assumes that wage additions shown in the tool are subject to ordinary FICA; different tax treatment requires employer-specific records. Employee W-2 taxes withheld must be taken from actual payroll records.

Worked Example: Why Box 1, Box 3 and Box 5 Differ

Imagine one ordinary employee, no reported tips, no year-end corrections and no special FICA coverage. Their payroll gross already includes both traditional and Roth retirement contributions but omits a taxable group-term life benefit of $200. If your statement lists GTL or IMP, check the imputed-income guide before adding that benefit a second time.

FICTIONAL FINAL 2026 PAY STUB · YEAR-TO-DATE

YTD gross compensation
$60,000.00
Traditional 401(k) deferral
−$6,000.00
Qualifying section 125 premiums
−$3,000.00
Taxable group-term life benefit, not in gross
+$200.00
Roth 401(k), included in gross
$1,000.00 (not deducted)

ESTIMATED FORM W-2 · 2026

Box 1 · Federal taxable wages$51,200.00
Box 3 · Social Security wages$57,200.00
Box 5 · Medicare wages and tips$57,200.00
Illustrative payroll mapping—not an actual employee statement or a verified W-2. The Roth contribution remains in the wage base; the $200 taxable group-term life benefit is added only because this fictional gross figure excludes it.
Fictional YTD payroll itemAmountHow to treat it
Gross compensation$60,000Starting amount
Traditional 401(k)$6,000Deduct from Box 1 only
Qualifying section 125 health premium$3,000Deduct from Boxes 1, 3 and 5
Roth 401(k)$1,000Informational; do not subtract again
Taxable group-term life benefit missing from gross$200Add to applicable wages
Estimated Box 1$51,200$60,000 − $6,000 − $3,000 + $200
Estimated Box 3$57,200$60,000 − $3,000 + $200
Estimated Box 5$57,200Same covered FICA wages; no Medicare cap

Reconciliation example: If you initially subtracted the Roth contribution, you would estimate Box 1 as $50,200 instead of $51,200. The $1,000 gap points to a possible deduction classification error; the employee must confirm the actual payroll record before treating that as the cause of a reported difference.

How to Calculate Social Security and Medicare Wages From a Pay Stub

How to calculate Social Security wages (W-2 Box 3)

Simple ordinary-employee formula: Start with FICA-covered YTD compensation, subtract qualifying FICA-exempt benefits, then keep reported Social Security tips separate for Box 7. Traditional 401(k) contributions normally stay in the Social Security base. Apply the $184,500 combined 2026 limit to Boxes 3 and 7. For tipped workers near the limit, the employer's allocation is necessary.

Start from compensation subject to ordinary FICA, do not subtract qualifying traditional 401(k) deferrals, subtract qualifying FICA-exempt benefits, and separately account for reported Social Security tips. For 2026, the combined Social Security wage-and-tip base in Boxes 3 and 7 cannot exceed $184,500 for this employer. Box 3 excludes tips reported separately in Box 7. Where reported tips and wages together exceed the cap, annual gross alone may not establish the employer's precise Box 3/7 allocation; the calculator identifies that limitation rather than guessing.

How to calculate Medicare wages and tips (W-2 Box 5)

Simple ordinary-employee formula: Medicare wages and tips typically equal covered YTD pay after FICA-exempt deductions, including tips reported to the employer. Unlike Social Security wages, there is no Medicare wage cap. Do not subtract traditional 401(k) deferrals. Review any exceptions with payroll.

Box 5 ordinarily includes covered wages and employer-reported tips, with no Social Security-style wage cap. An employee may therefore have Box 5 above Box 3 because of the cap and/or the separate reporting of tips. The formula must still respect any applicable special coverage or fringe-benefit treatment.

Boxes 2, 4 and 6: taxes actually withheld, not wage deductions

For Box 2, use the YTD federal income tax withheld (often labeled FIT or FWT); our federal-withholding guide shows which pay-stub line to compare. Tax brackets and personal W-4 elections prevent recovering Box 2 reliably from Box 1 alone. For Box 4, use the employer's actual Social Security tax withheld, including amounts collected on tips; 6.2% of the taxable base can be a rough ordinary-employee cross-check but may differ for tipped workers or adjustments. For Box 6, use actual Medicare tax withheld, including 0.9% Additional Medicare Tax when an employer's Medicare wages paid to that employee exceed $200,000 during 2026. Ordinary Medicare generally uses 1.45%, without an annual wage cap. Do not divide total Box 6 by 1.45% to reconstruct Box 5 when Additional Medicare Tax is present. If you see MED EE, MEDI or ADDL MED, use the Medicare pay-stub code guide to identify the employee withholding line.

Two-employer caution: Each employer normally applies the Social Security limit to the wages it pays. A combined personal annual total above $184,500 does not mean that each employer's Box 3 is incorrect. Consult the SSA explanation of multiple-employer withholding and the FICA guide.

Illustrative tipped-employee calculation

Assume an ordinary employee has $40,000 of wages and $10,000 of tips reported to the employer, with neither deductions nor other adjustments, and the employer's starting gross already includes those reported tips. Estimated Box 1 is $50,000, Box 3 is $40,000, Box 7 is $10,000, and Box 5 is $50,000. The same reported tips must not be added to gross a second time. Allocated tips shown in Box 8 are different: they are not automatically included in Boxes 1, 3, 5 or 7. If the combined Social Security wage base is above the 2026 cap, obtain the employer's Box 3 and Box 7 breakdown instead of applying this simple example mechanically.

Which 2026 W-2 Box 12 Codes Affect the Calculation?

Do not treat every Box 12 amount as another paycheck deduction. These codes identify what the employer reported; whether a contribution is already reflected in gross determines whether subtracting it would count the same exclusion twice. For codes not needed in this calculation, see the complete W-2 boxes and Box 12 reference.

CodeWhat it generally reportsWhat to do when reconciling wages
D, E, GSpecified traditional retirement deferralsUsually excluded from Box 1 but included in FICA wage bases. Subtract only employee amounts still included in starting gross.
AA, BB, EEDesignated Roth contributions to specified plansDo not subtract as pretax retirement deferrals.
WHSA contributions by the employer, including employee cafeteria-plan amountsSeparate employer funds from employee salary reductions. Do not deduct the whole code W amount from employee gross by default.
CTaxable cost of group-term life coverage over $50,000Check whether the taxable benefit has already entered wage totals before adding it.
DDCost of employer-sponsored health coverageInformational amount; do not subtract Code DD as a new Box 1 deduction.
TP (2026)Total cash tips reported to employerDo not automatically subtract tips from taxable wages. Confirm whether tips are already in gross.
TT (2026)Qualified overtime compensationDo not subtract Code TT from W-2 wages merely because a separate income-tax return deduction may apply.

Important 2026 distinction: A possible tax-return deduction for qualifying tips or overtime does not, by itself, exclude the underlying reported compensation from W-2 Box 1. Code TP and Code TT are reporting codes; they are not instructions to deduct their dollar amounts from the employer's reported wages. Eligibility for any separate deduction depends on the applicable tax-return rules and circumstances. See the IRS 2026 W-2 reporting instructions.

Why Your Final Pay Stub and W-2 Do Not Match

A different number does not by itself mean either document is wrong. Compare the same employer, same calendar year and same wage box. Work through these checks in order:

For differences caused by tax treatment, see Pay Stub vs W-2. For a comprehensive field-by-field reference, use the 2026 W-2 box and code guide. Those guides answer separate questions; this page remains focused on payroll-to-W-2 wage calculations.

  1. Pay date: exclude a December work period paid in January of the next calendar year.
  2. Starting figure: confirm that the pay stub says gross earnings, not already-adjusted federal taxable wages or net pay.
  3. Traditional versus Roth: confirm retirement contribution types and whether employee amounts are already included in the starting figure.
  4. Benefits and tips: inspect section 125 premiums, HSA employer contributions, Box 12 codes, reported tips, imputed life-insurance income and late adjustments.
  5. Employer wage bases: compare federal taxable wages, Social Security wages, Medicare wages and Social Security tips separately.
  6. Unresolved difference: request a year-end wage reconciliation or correction from payroll; do not invent a balancing number to force a match.
Ask payroll for a reconciliation: “For tax year 2026, my last pay stub shows YTD gross earnings of [amount], but my W-2 Box [1/3/5] is [amount]. Could you confirm the federal taxable-wage adjustments, benefits, pay dates, reported tips, and year-end entries explaining the difference?” Do not send sensitive identification details in a public comment or chat.
When a precise estimate is not justified: Statutory or government employee coverage, some third-party sick pay, unusual stock or deferred compensation, complex taxable fringes, amended payroll and excess reported tips may require employer records. The calculator shows a conditional result or withholds specific wage-box values instead of pretending that all employees follow an identical formula.

What If Your W-2 Is Missing or Incorrect?

A 2026 W-2 is generally furnished after the year ends, in the 2027 filing season. If you have no W-2 after the normal delivery window, first contact the employer. If it remains missing or is wrong, follow the IRS missing or incorrect W-2 process; Form 4852 is a substitute procedure in specified situations, not a reason to fabricate a W-2. See also our missing W-2 guide.

Organize Figures You Have Verified

For employers and authorized payroll preparers: Once year-end wages are verified against employer records, the ePaystubs W-2 form generator can help organize and format legitimate information for form preparation. It is not an IRS or SSA filing service and cannot create a missing employer-issued W-2 for an employee. If you are an employee missing a form, request it from your employer instead.

Open the W-2 form generator

Frequently Asked Questions

Can I get Box 1 from my final paycheck's net pay?

No. Net pay reflects actual withholding and deductions that do not necessarily affect taxable wages. Begin with documented YTD gross or employer-reported federal taxable wages.

Why can Box 3 be below Box 5?

Box 3 excludes separately reported Social Security tips and is subject to the Social Security taxable maximum. Box 5 generally includes reported tips and is not subject to that annual cap.

Should I subtract Roth 401(k) or the full Code W amount?

No. Roth contributions are generally included in Box 1, and Code W may include employer HSA contributions that did not come from employee gross. Confirm each amount's source and tax treatment.

Do Code TP or TT make tips and overtime nontaxable on my W-2?

No. They identify reported cash tips or qualified overtime compensation for 2026 reporting. A separate tax-return deduction, if applicable, does not automatically lower the wages the employer reports in Box 1.

Can I submit an estimated W-2 instead of my employer's W-2?

Use the official W-2 when available. If it is missing or incorrect, follow the IRS's employer-contact and substitute-form instructions rather than submitting a self-generated employer wage statement.

Do all taxable benefits increase Boxes 1, 3 and 5 equally?

No. The tax treatment depends on the exact payment or benefit. For example, the ordinary taxable cost of employer-provided group-term life coverage over $50,000 is generally reported in all three boxes, but certain fringe benefits and deferred-compensation arrangements follow different rules. Ask payroll to confirm the classification before entering an advanced adjustment. See IRS Publication 15-B.

Can I use this calculator to prepare a replacement W-2 after losing mine?

No. The figures are educational estimates and do not establish that an employer paid particular wages. Request a legitimate employer-issued copy or follow the IRS missing-W-2 procedure. Employers and authorized payroll staff should verify actual year-end records before preparing forms.

ePaystubs Support Support team is online

Start a conversation

Enter your details and tell us how we can help.

Your conversation will appear here.
This conversation has been closed by the support team.
Create Pay Stub