How a paycheck is worked out, which numbers change the result, and how to automate it.
Payroll tax calculation turns one paycheck's gross pay into net pay by working out each tax separately. The hard part is not the arithmetic. Each tax has its own taxable wages, its own cap, and its own rules for which deductions count, so one set of numbers does not carry across all of them.
The steps, in order
Gross pay. Add every earning for the period. Bonuses and commissions are supplemental wages and can be taxed differently.
Pre-tax deductions, tax by tax. A section 125 health premium reduces federal income tax, Social Security and Medicare wages. A traditional 401(k) deferral reduces income tax wages but not Social Security or Medicare wages.
Social Security. 6.2% from the employee and the same from the employer, up to the annual wage base: $184,500 in 2026, $192,300 in 2027. This is why year-to-date wages are an input.
Medicare. 1.45% from each side with no cap, plus 0.9% Additional Medicare Tax withheld from the employee on wages above $200,000.
Federal income tax. Worked out from the employee's Form W-4: filing status, the multiple-jobs checkbox, the dependent credit, other income, deductions and extra withholding, using the IRS percentage method.
State and local income tax. Each state has its own formula, tables and withholding certificate. Some cities, counties and school districts add a tax on top, which depends on both the work and the home address.
Employer-only taxes. Federal unemployment (FUTA) is 6.0% of the first $7,000 per employee, with a credit that normally brings it to 0.6%. State unemployment (SUTA) has its own wage base and rate. Some states add employer contributions for paid leave.
Net pay. Gross pay less employee taxes and all deductions. Employer taxes are a cost to the employer, not a deduction from the employee.
An example, with a 401(k) deferral
A single employee in Columbus, Ohio, paid $3,000.00 biweekly with a $240.00 traditional 401(k) deferral, check dated 2026-09-15. Net pay is $2,119.32. These lines were produced by the Omnia Express engine for this input; notice that the deferral lowers income tax but not the Social Security and Medicare lines.
Tax
Paid by
Level
Amount
Federal Income Tax
Employee
Federal
$267.58
Social Security
Employee
Federal
$186.00
Social Security (Employer)
Employer
Federal
$186.00
Medicare
Employee
Federal
$43.50
Medicare (Employer)
Employer
Federal
$43.50
FUTA
Employer
Federal
$18.00
Ohio Income Tax
Employee
State
$68.60
Ohio Unemployment Insurance (Employer)
Employer
State
$85.50
Ohio Municipal Income Tax
Employee
Local
$75.00
Where payroll tax calculations go wrong
Treating one deduction as pre-tax for every tax.
Missing a wage-base cap because year-to-date wages were not carried forward.
Using the tax year of the pay period instead of the check date; withholding follows the date the check is paid.
Looking up a state without the local layer, which matters in Ohio, Pennsylvania, Kentucky, Indiana, Michigan, Alabama and others.
Rounding each line before totalling instead of working in whole cents.
Start with gross pay, subtract the deductions that are pre-tax for each tax, then apply each tax to its own taxable wages: Social Security at 6.2% up to the wage base, Medicare at 1.45%, federal income tax from the employee's Form W-4, then state and local tax. Employers add federal and state unemployment tax on top.
What is the Social Security wage base?
$184,500 for 2026 and $192,300 for 2027. Social Security tax stops once an employee's wages for the year pass that amount; Medicare has no cap.
Is a 401(k) deferral subject to payroll tax?
It depends on the tax. A traditional 401(k) deferral reduces federal and most state income tax wages, but it is still subject to Social Security and Medicare. That difference between taxes is the most common cause of payroll tax errors.
Can an API calculate payroll taxes for me?
Yes. Omnia Express takes earnings, deductions, a Form W-4, year-to-date wages and the work location, and returns each tax line with the wages it applied to and who pays it. It calculates; you still file and deposit.