Calculations

Pre-tax deductions and which taxes they reduce

"Pre-tax" is not one thing. Each tax decides for itself.

The most common payroll tax error is treating a deduction as pre-tax for every tax. It is pre-tax for some and not for others, and the difference is visible in the taxable wages on each line.

The same paycheck, three deductions

A single employee in Columbus, Ohio, paid $3,000.00 biweekly, with $200.00 deducted for each of the following in turn. Figures are the taxable wages the engine used for each tax:

DeductionFederal income taxSocial SecurityMedicareOhio income tax
None$3,000.00$3,000.00$3,000.00$3,000.00
Traditional 401(k) deferral$2,800.00$3,000.00$3,000.00$2,800.00
Section 125 health premium$2,800.00$2,800.00$2,800.00$2,800.00
HSA through payroll$2,800.00$2,800.00$2,800.00$2,800.00

Read across the rows. A traditional 401(k) deferral lowers federal and Ohio income tax wages but leaves Social Security and Medicare wages at $3,000.00. A section 125 health premium lowers all of them, and so does an HSA contribution made through payroll.

Why it differs by state, too

States do not all follow the federal treatment: some tax a 401(k) deferral, some do not recognise HSA contributions. The engine has a per-state treatment for each deduction category, so the state column above is a fact about Ohio, not about every state.

In the API

Give each deduction a category (deferral_401k, section125, hsa, fsa, dependent_care, commuter and others) and a null category for post-tax deductions. The response shows the taxable wages each tax used.

Keep reading

Gross-to-net API · FICA tax calculation · Federal income tax withholding calculation · Paycheck calculation formula · All guides

Questions

Does a 401(k) contribution reduce Social Security tax?

No. A traditional 401(k) deferral reduces federal and most state income tax wages but is still subject to Social Security and Medicare.

Does a health insurance premium reduce payroll taxes?

A premium paid through a section 125 cafeteria plan reduces federal income tax, Social Security and Medicare wages, and most state income tax wages.

Do all states treat pre-tax deductions the same way?

No. States differ on 401(k) deferrals, HSA contributions and others, so the treatment is set per state and per deduction category.

Start the 14-day trial Read the docs →

14-day free trial, then $0.08 per paycheck calculation. Omnia Express calculates; it does not file, deposit tax, or give tax advice. Disclaimer.