Engines and APIs

Paycheck calculator API

Send gross pay and a location, get net pay and the line-by-line reason for it.

A paycheck calculator API takes a gross amount and tells you what lands in the employee's account and where the rest goes. The value is in the second half: each tax, who pays it, and why it is that amount.

A paycheck, end to end

A single employee in Texas paid $3,000.00 biweekly:

TaxPaid byLevelAmount
Federal Income TaxEmployeeFederal$320.38
Social SecurityEmployeeFederal$186.00
Social Security (Employer)EmployerFederal$186.00
MedicareEmployeeFederal$43.50
Medicare (Employer)EmployerFederal$43.50
FUTAEmployerFederal$18.00
Texas Unemployment Insurance (Employer)EmployerState$81.00

Gross pay $3,000.00, less $549.88 of employee taxes, equals net pay $2,450.12. The employer separately owes $328.50.

What you can vary

Beyond one paycheck

The same API compares two paychecks and explains the difference, and solves for the gross that leaves a target take-home pay.

curl https://omniatax.io/v1/paycheck \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "checkDate": "2026-09-15",
  "payFrequency": "biweekly",
  "earnings": [{ "code": "REG", "category": "regular", "amount": 300000 }],
  "deductions": [],
  "federalW4": { "filingStatus": "single", "multipleJobs": false,
    "dependentCredit": 0, "otherIncome": 0, "deductions": 0, "extraWithholding": 0 },
  "ytd": { "socialSecurity": 0, "medicare": 0, "futa": 0 },
  "workState": { "code": "TX" }
}'

Keep reading

Gross-to-net API · Net-to-gross (gross-up) API · Compare two paychecks API · Paycheck calculation formula · All guides

Questions

How do I calculate net pay from gross pay?

Subtract pre-tax deductions, work out each tax on its own taxable wages, then subtract the employee taxes and the post-tax deductions from gross. The API does this in one call and returns each step.

Can the API handle hourly and bonus pay?

Yes. Earnings carry a category, so regular pay, supplemental pay such as bonuses and commissions, and untaxed reimbursements are each treated the way the rules require.

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.