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
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.
| W-2 box | Calculation | Estimate |
|---|---|---|
| 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.
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.
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
| Fictional YTD payroll item | Amount | How to treat it |
|---|---|---|
| Gross compensation | $60,000 | Starting amount |
| Traditional 401(k) | $6,000 | Deduct from Box 1 only |
| Qualifying section 125 health premium | $3,000 | Deduct from Boxes 1, 3 and 5 |
| Roth 401(k) | $1,000 | Informational; do not subtract again |
| Taxable group-term life benefit missing from gross | $200 | Add 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,200 | Same 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.
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.
| Code | What it generally reports | What to do when reconciling wages |
|---|---|---|
| D, E, G | Specified traditional retirement deferrals | Usually excluded from Box 1 but included in FICA wage bases. Subtract only employee amounts still included in starting gross. |
| AA, BB, EE | Designated Roth contributions to specified plans | Do not subtract as pretax retirement deferrals. |
| W | HSA contributions by the employer, including employee cafeteria-plan amounts | Separate employer funds from employee salary reductions. Do not deduct the whole code W amount from employee gross by default. |
| C | Taxable cost of group-term life coverage over $50,000 | Check whether the taxable benefit has already entered wage totals before adding it. |
| DD | Cost of employer-sponsored health coverage | Informational amount; do not subtract Code DD as a new Box 1 deduction. |
| TP (2026) | Total cash tips reported to employer | Do not automatically subtract tips from taxable wages. Confirm whether tips are already in gross. |
| TT (2026) | Qualified overtime compensation | Do 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.
- Pay date: exclude a December work period paid in January of the next calendar year.
- Starting figure: confirm that the pay stub says gross earnings, not already-adjusted federal taxable wages or net pay.
- Traditional versus Roth: confirm retirement contribution types and whether employee amounts are already included in the starting figure.
- Benefits and tips: inspect section 125 premiums, HSA employer contributions, Box 12 codes, reported tips, imputed life-insurance income and late adjustments.
- Employer wage bases: compare federal taxable wages, Social Security wages, Medicare wages and Social Security tips separately.
- Unresolved difference: request a year-end wage reconciliation or correction from payroll; do not invent a balancing number to force a match.
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.
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.