To calculate Social Security wages from your paystub, start with gross pay, subtract pre-tax deductions that run through a Section 125 cafeteria plan (health, dental, and vision premiums, HSA and FSA contributions, and similar qualified benefits), add any taxable fringe benefits such as imputed income from employer-provided group-term life insurance over $50,000, and stop counting once your year-to-date total reaches the 2026 wage base of $184,500. Multiply the result by 0.062 and it should equal the Social Security tax withheld on that paystub.1Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates
The reason your paystub’s Social Security taxable wages rarely match your gross pay is that several deductions get pulled out first, while other deductions people expect to reduce the figure (like 401(k) contributions) do not. Working through the numbers in order clears that up.
Pull the Right Numbers Off the Paystub
Look for the line labeled Gross Pay or Total Earnings near the top. That number includes salary or hourly wages, overtime, bonuses, commissions, and any other cash compensation for the period. It is your starting point.
Then find the Social Security withholding line. Payroll systems label it differently: FICA-OASDI, SS Tax, OASDI, or just Social Security. OASDI stands for Old-Age, Survivors, and Disability Insurance, the program’s official name.1Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates You will use that figure at the end to check your math.
Most paystubs run two columns per item, current period and year-to-date. The year-to-date column is what matters for tracking your progress toward the annual cap.
Subtract Pre-Tax Benefits That Flow Through a Section 125 Plan
The main reason Social Security wages come in below gross pay is that qualified benefits under a Section 125 cafeteria plan are excluded before the tax is calculated.2Office of the Law Revision Counsel. 26 USC 3121 – Definitions The common ones:
- Health, dental, and vision insurance premiums, the employee portion paid through payroll deduction.
- Health Savings Account contributions made through payroll deduction alongside a high-deductible health plan.
- Flexible Spending Account contributions, both medical FSAs and dependent care FSAs funded by salary reduction.
- Adoption assistance and dependent care assistance provided through a qualifying cafeteria plan.
The law treats these as qualified benefits rather than cash compensation.3Social Security Administration. Code of Federal Regulations 404.1053 – Qualified Benefits Under a Cafeteria Plan The quick test: if a pre-tax deduction runs through a Section 125 plan, it is excluded. If it is deducted after tax, or outside a cafeteria plan, it stays in the calculation.
Do Not Subtract 401(k) or 403(b) Contributions
This is where most confusion lives. Contributions to a 401(k) or 403(b) lower your federal income tax, but they stay fully in your Social Security wages. The IRS is explicit: elective deferrals into these retirement accounts are subject to Social Security and Medicare taxes even though they are excluded from current income tax.4Internal Revenue Service. 401(k) Plan Overview Roth 401(k) contributions work the same way.
If you earn $5,000 in a pay period and defer $500 to your 401(k), your federal taxable income drops to $4,500, but your Social Security wages stay at $5,000 before any Section 125 subtractions. That gap between income tax wages and Social Security wages on your paystub is normal. Neither figure is wrong; they measure different things.
Add Taxable Fringe Benefits
Some items that do not feel like wages still count. The most common is employer-provided group-term life insurance above $50,000 in coverage. The imputed cost of the excess coverage gets added to your Social Security wages even though you never receive cash for it.5Internal Revenue Service. Group-Term Life Insurance Look for a line marked GTL, Imputed Income, or Group Term Life.
Personal use of a company vehicle also counts. If your employer provides a car and you use it for commuting or personal errands, the value of that personal use is taxable compensation subject to Social Security tax.6Internal Revenue Service. Employer’s Tax Guide to Fringe Benefits The rule underneath both examples is the same: if the law does not specifically exclude a form of compensation, it is in.
For tipped employees, tips reported to your employer are already included in the Social Security wages shown on your paystub. Tips of $20 or more in a calendar month that you did not report to your employer still owe Social Security tax, but you settle that on your return using Form 4137.7IRS.gov. Social Security and Medicare Tax on Unreported Tip Income Form 4137
Stop at the 2026 Wage Base of $184,500
Only the first $184,500 of Social Security wages is taxable in 2026. Once your year-to-date total hits that ceiling, your employer should stop withholding the 6.2% tax for the rest of the calendar year, and the maximum you can pay as an employee is $11,439.8Social Security Administration. Contribution and Benefit Base High earners will see take-home pay jump when withholding stops. The cap adjusts each year based on the national average wage index. Medicare tax has no such cap: every dollar of Medicare wages is taxed at 1.45%.1Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates
A Worked Example
Say your gross pay for the period is $4,000. You have $300 in pre-tax health insurance premiums and $100 in HSA contributions through the cafeteria plan. No fringe benefits this period, and your year-to-date total is well under the cap.
Social Security wages: $4,000 − $300 − $100 = $3,600.
Social Security tax: $3,600 × 0.062 = $223.20.
That $223.20 should match the Social Security tax withheld on your paystub. Your employer separately pays a matching 6.2% that does not appear on your stub.9Office of the Law Revision Counsel. 26 USC 3101 – Rate of Tax
If a 401(k) deferral shows on the same paystub, do not subtract it. If a GTL or imputed income line appears, add it before multiplying.
Check the Number Against Your W-2
At year-end, Box 3 of your W-2 shows total Social Security wages and Box 4 shows total Social Security tax withheld. For 2026, Box 3 cannot exceed $184,500 and Box 4 cannot exceed $11,439. Compare those to the year-to-date totals on your final paystub; they should match.
Box 3 includes elective deferrals to 401(k), 403(b), and similar plans, along with Roth contributions and taxable group-term life costs, so it will typically run higher than Box 1 (federal taxable wages). That is expected.
If the final paystub totals do not match the W-2, raise it with payroll before the filing deadline. An incorrect W-2 can be reissued as a Form W-2C.10Internal Revenue Service. About Form W-2 C, Corrected Wage and Tax Statements
If You Had More Than One Employer
Each employer tracks your wages against the cap on its own, so if you worked more than one job during the year and your combined Social Security wages exceeded $184,500, too much Social Security tax was withheld. You claim the excess as a credit on your federal income tax return, following the Form 1040 instructions; on a joint return, each spouse figures the excess separately.11Internal Revenue Service. Topic No. 608, Excess Social Security and RRTA Tax Withheld If you switched jobs mid-year or held two positions at once, run the numbers.
Over-withholding by a single employer works differently. That employer is responsible for refunding the excess to you directly. If they will not correct it, you can file Form 843 with the IRS to claim the refund, attaching your W-2 and an explanation.12IRS.gov. Instructions for Form 843