Calculations

Gross-to-net API

Gross to net is the core payroll calculation. The response shows every step so you can check the identity yourself.

Gross-to-net is the calculation from what an employee earned to what they take home. The response from POST /v1/paycheck carries each of its parts, and they satisfy a simple identity you can test:

net pay = gross pay − pre-tax deductions − employee taxes − post-tax deductions

Checked on a real response

For the Ohio paycheck in our engine overview: gross $3,000.00, pre-tax deductions $0.00, employee taxes $700.65, post-tax deductions $0.00. $3,000.00 − $0.00 − $700.65 − $0.00 = $2,299.35, and the API's netPay is $2,299.35.

The response fields

FieldMeaning
grossPayTotal earnings for the check, in cents.
pretaxDeductionsDeductions taken before tax. Each tax still decides for itself whether the deduction reduces its wages.
taxes[]One entry per tax: id, name, payer, jurisdiction, taxable wages, amount, detail.
employeeTaxTotalTaxes withheld from the employee.
employerTaxTotalTaxes the employer pays on top. Not part of net pay.
posttaxDeductionsDeductions taken after tax, such as a Roth contribution or a garnishment.
netPayWhat the employee takes home.

Going the other way

If you know the take-home pay and need the gross, use the net-to-gross endpoint.

Keep reading

Paycheck calculator API · Net-to-gross (gross-up) API · Paycheck calculation formula · Pre-tax deductions and tax treatment · All guides

Questions

What does gross to net mean in payroll?

It is the calculation from an employee's gross pay to their net pay: subtract pre-tax deductions, the taxes withheld from the employee and any post-tax deductions.

Are employer taxes part of net pay?

No. Employer taxes such as the employer share of Social Security and Medicare and unemployment tax are an extra cost to the employer. They do not reduce the employee's net pay.

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.