Guide

Payroll tax calculation, step by step

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

  1. Gross pay. Add every earning for the period. Bonuses and commissions are supplemental wages and can be taxed differently.
  2. 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.
  3. 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.
  4. Medicare. 1.45% from each side with no cap, plus 0.9% Additional Medicare Tax withheld from the employee on wages above $200,000.
  5. 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.
  6. 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.
  7. 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.
  8. 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.

TaxPaid byLevelAmount
Federal Income TaxEmployeeFederal$267.58
Social SecurityEmployeeFederal$186.00
Social Security (Employer)EmployerFederal$186.00
MedicareEmployeeFederal$43.50
Medicare (Employer)EmployerFederal$43.50
FUTAEmployerFederal$18.00
Ohio Income TaxEmployeeState$68.60
Ohio Unemployment Insurance (Employer)EmployerState$85.50
Ohio Municipal Income TaxEmployeeLocal$75.00

Where payroll tax calculations go wrong

Calculate it with the API

The Omnia Express payroll tax API does these steps in one request and returns every line. See the state-by-state guides for rates and wage bases, or the API reference for the request fields.

Questions

How do you calculate payroll taxes?

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.

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.