Pay Codes and Gross Pay Basics

Background on common pay codes and how gross pay is usually calculated for hourly, salaried, and other kinds of earnings.

In Payroll Infrastructure, you calculate each worker's gross pay and send it to Everee as earning items. Each item has a pay code and an amount. Everee then calculates taxes, deductions, and net pay from those amounts. It doesn't calculate gross pay for you, and it pays the amounts you send.

If you haven't built gross pay calculations before, this page is a starting point. It explains the most common pay codes, and how amounts are typically calculated for each one.

🚧

Background, not legal advice

Wage and hour rules vary by state and sometimes by city, and they change. This page summarizes common practice so you know what to look for. It isn't a complete or authoritative statement of any law. Use the federal and state resources linked throughout, and confirm your calculations with your own employment counsel or payroll experts.


Earning items and pay codes

Every earning you send has these parts:

FieldWhat it is
payCodeThe apiKey of a pay code, like REGULAR_HOURLY or BONUS. It decides how the amount is taxed and how it's shown on pay stubs and reports.
amountThe gross amount to pay, in dollars and cents. This is what the worker is paid.
unitCountOptional. How many units the amount is for, like hours, miles, or deliveries.
unitRateOptional. The rate per unit, like an hourly rate or a per-mile rate.

amount is what's paid. unitCount and unitRate describe how you got there, so a worker or a reviewer can follow the math. When you send them, amount should be unitCount × unitRate, rounded to the cent.

{
  "payCode": "REGULAR_HOURLY",
  "unitCount": 40,
  "unitRate": { "amount": 22.50, "currency": "USD" },
  "amount": { "amount": 900.00, "currency": "USD" }
}

Every company comes with a set of default pay codes, and you can create your own. A pay code's type controls tax treatment:

  • TAXABLE_PAY is wages. Tax is withheld according to the rules for the worker being paid.
  • NON_TAXABLE_PAY is reimbursements and other non-wage amounts. No tax is withheld.

Of the default pay codes, only REIMBURSEMENT is non-taxable. Every other default code, including MILEAGE and PER_DIEM, is taxable. See Mileage, per diem, and reimbursements for why that matters.

Common pay codes

Pay codeTypically used forTypical calculation
REGULAR_HOURLYHourly wages for non-overtime hoursHours × hourly rate
FLSA_QUALIFIED_OVERTIMEOvertime the FLSA requires: hours over 40 in a workweekOvertime hours × 1.5 × regular rate
FLSA_NON_QUALIFIED_OVERTIMEAll other overtime, like daily overtime required only by state lawOvertime hours × 1.5 × regular rate
DOUBLE_TIME_HOURLYHours over a double-time threshold, where state law requires itDouble-time hours × 2 × regular rate
REGULAR_SALARYSalaryAnnual salary ÷ pay periods per year
HOLIDAY, VACATION, SICK, and leave type pay codes (TIME_OFF_TYPE_...)Paid time offHours × hourly rate
BONUSBonusesA flat amount, or a formula from the bonus plan
COMMISSIONCommissionsSales or other base × commission rate
TIPSTipsThe amount of tips the worker received
MILEAGETaxable mileage payMiles × per-mile rate
PER_DIEMTaxable per diemDays × daily rate
REIMBURSEMENTNon-taxable expense reimbursementsThe substantiated expense amount
CONTRACTORPay to a contractorThe agreed amount for the work

List pay codes returns every pay code available to a company.


Hourly pay

Regular hours

Regular hourly pay is hours worked × the hourly rate. Send it under REGULAR_HOURLY.

If a worker earns different rates for different kinds of work, send a separate item for each rate, so each one shows clearly on the pay stub:

[
  {
    "payCode": "REGULAR_HOURLY",
    "label": "Warehouse",
    "unitCount": 24,
    "unitRate": { "amount": 18.00, "currency": "USD" },
    "amount": { "amount": 432.00, "currency": "USD" }
  },
  {
    "payCode": "REGULAR_HOURLY",
    "label": "Forklift",
    "unitCount": 16,
    "unitRate": { "amount": 22.00, "currency": "USD" },
    "amount": { "amount": 352.00, "currency": "USD" }
  }
]

Overtime under the FLSA

The federal Fair Labor Standards Act (FLSA) requires overtime for non-exempt employees at at least 1.5 times their regular rate of pay for hours worked over 40 in a workweek.

A few details catch people out:

  • The workweek is fixed. It's a recurring period of seven consecutive 24-hour days, set by the employer. It doesn't have to match the pay period. A biweekly pay period holds two workweeks, and overtime is calculated for each workweek separately. You can't average hours across two weeks.
  • There's no federal daily overtime or double time. Under the FLSA alone, a 12-hour day isn't overtime unless the week goes over 40 hours. Federal law also doesn't require extra pay for weekends or holidays.
  • The regular rate isn't always the base rate. It includes most pay for the work in that week, such as shift differentials, non-discretionary bonuses, commissions, and piece-rate pay. It excludes some kinds of pay, like expense reimbursements, discretionary bonuses, and pay for hours not worked, like vacation and holidays.
  • Hours not worked don't count toward the 40. Under the FLSA, paid time off and holidays aren't hours worked.

Qualified and non-qualified overtime

Under the One Big Beautiful Bill Act (OBBBA), employees can deduct qualified overtime compensation from their federal taxable income. Only overtime that the FLSA requires is qualified, and employers report it separately. So overtime is sent under one of two pay codes:

Pay codeUse it for
FLSA_QUALIFIED_OVERTIMEOvertime the FLSA requires: hours over 40 in a workweek, for an employee who isn't exempt
FLSA_NON_QUALIFIED_OVERTIMEAll other overtime, like daily overtime that only a state requires, overtime under a company policy or union contract, or overtime paid to an exempt employee

Calculate both the same way. The pay code only says which rule required the overtime. The deduction itself covers only the premium portion of qualified overtime: for overtime paid at 1.5 times the regular rate, that's the extra half. When a state rule and the FLSA both apply in the same week, the hours the FLSA requires go under FLSA_QUALIFIED_OVERTIME, and the rest under FLSA_NON_QUALIFIED_OVERTIME. See State and local rules for an example.

For a worker paid a single hourly rate with nothing else that week, the regular rate is just the hourly rate:

WeekCalculationPay codeAmount
45 hours at $20.0040 × $20.00REGULAR_HOURLY$800.00
5 × $20.00 × 1.5FLSA_QUALIFIED_OVERTIME$150.00
Gross$950.00

Overtime with more than one rate

When a worker earns more than one rate in a workweek, or earns a shift differential, bonus, or commission that counts toward the regular rate, the regular rate is usually a weighted average:

  1. Add up the worker's pay for the week that counts toward the regular rate (their "straight-time" pay for all hours).
  2. Divide it by the total hours worked. That's the regular rate.
  3. Overtime hours have already been paid at straight time in step 1, so each one is owed an extra half of the regular rate on top.

For example, a worker works 32 hours at $20.00 and then 16 hours at $26.00, for 48 hours in the week:

StepCalculationResult
Straight-time pay(32 × $20.00) + (16 × $26.00)$1,056.00
Regular rate$1,056.00 ÷ 48 hours$22.00
Overtime premium8 overtime hours × $22.00 × 0.5$88.00
Gross$1,056.00 + $88.00$1,144.00

One way to send that, keeping each job's rate visible, is to pay the first 40 hours as regular time and the last 8 at the $26.00 rate plus the $11.00 premium:

Pay codeLabelUnitsRateAmount
REGULAR_HOURLYWarehouse32$20.00$640.00
REGULAR_HOURLYForklift8$26.00$208.00
FLSA_QUALIFIED_OVERTIMEForklift8$37.00$296.00
Gross$1,144.00

What matters is that the total meets the requirement. A bonus that's paid for a longer period, like a monthly or quarterly bonus, raises the regular rate for each workweek it covers, so it can mean extra overtime is owed for those weeks too. See Fact Sheet #56C.

Piece-rate and per-task pay

Some workers are paid per delivery, per job, or per piece instead of per hour. The amount is units × the rate per unit. Create a pay code for it, like DELIVERIES, with type TAXABLE_PAY, and send the count and rate as unitCount and unitRate.

For a non-exempt employee, piece-rate pay counts toward the regular rate, so overtime is calculated the same way as above: total pay ÷ total hours worked, then half of that for each overtime hour. Total pay for the week also has to meet the applicable minimum wage for every hour worked.

State and local rules

The FLSA is a floor. Many states, and some cities, have their own rules on overtime, minimum wage, meal and rest breaks, and pay for hours like split shifts or reporting time. Where federal and state rules both apply, the worker is owed whichever is more generous.

Some states require daily overtime. For example:

  • California requires 1.5× the regular rate for hours over 8 in a workday, and 2× for hours over 12. On the seventh consecutive day of work in a workweek, the first 8 hours are paid at 1.5× and hours over 8 at 2×.
  • Alaska, Colorado, and Nevada also have daily overtime rules, each with its own thresholds and exceptions.

The same week can give different results under different rules. A worker in California earning $20.00 an hour works 10, 8, 13, 8, and 6 hours, Monday to Friday, for 45 hours:

Under the FLSA aloneUnder California's daily and weekly rules
Regular hours4038 (8 + 8 + 8 + 8 + 6)
Overtime hours5 (over 40 for the week)6 (2 on Monday, 4 on Wednesday)
Double-time hours01 (Wednesday, over 12)
Gross$950.00$980.00

Hours already paid as daily overtime generally aren't counted again toward weekly overtime. In this week, the 38 regular hours don't pass 40, so no weekly overtime is added.

The FLSA alone would require overtime for 5 of these hours, the hours over 40. So 5 overtime hours are qualified, and California's extra overtime hour is non-qualified:

Pay codeUnitsRateAmount
REGULAR_HOURLY38$20.00$760.00
FLSA_QUALIFIED_OVERTIME5$30.00$150.00
FLSA_NON_QUALIFIED_OVERTIME1$30.00$30.00
DOUBLE_TIME_HOURLY1$40.00$40.00
Gross$980.00

Hourly pay resources


Salary

Dividing an annual salary into pay periods

A salary is usually stated as an annual amount and paid in equal parts each pay period. Divide the annual salary by the number of pay periods in a year, and send it under REGULAR_SALARY:

Pay frequencyPeriods per year$62,400 a year is
Weekly52$1,200.00
Biweekly26$2,400.00
Semimonthly24$2,600.00
Monthly12$5,200.00

Some years have an extra pay date: 53 weekly pay dates, or 27 biweekly ones. Employers handle this differently. Some keep the per-period amount the same, so the worker earns more that year, and others divide the annual salary by the actual number of pay dates. Choose a policy and apply it consistently.

When a worker starts or leaves partway through a pay period, the salary is prorated. Common methods are a daily rate (the period's salary ÷ workdays in the period × days worked) and an hourly equivalent (see below). Check state rules, and the FLSA salary basis rules for exempt employees, before deducting from a salary for partial periods or absences.

Salary based on hours

Some salaried workers are paid by converting the salary to an hourly equivalent, then multiplying it by hours in the period. The math is the same as regular hourly pay. The hourly equivalent of an annual salary is usually the salary ÷ 2,080 (40 hours × 52 weeks):

CalculationResult
Hourly equivalent$62,400 ÷ 2,080$30.00
Biweekly pay for 80 hours80 × $30.00$2,400.00
Pay for 48 hours, for a mid-period start48 × $30.00$1,440.00

Send it under REGULAR_SALARY, with the hours and hourly equivalent as unitCount and unitRate.

Exempt and non-exempt employees

Under the FLSA, some salaried employees are exempt from overtime. To be exempt, an employee generally has to be paid on a salary basis, at or above a minimum salary level, and do work that meets a duties test, such as executive, administrative, or professional work. A salaried employee who doesn't meet the tests is non-exempt, and is owed overtime like an hourly worker.

For a non-exempt employee paid a salary for a 40-hour week, the regular rate is the weekly salary ÷ 40. With the same $62,400 salary, that's $1,200.00 ÷ 40 = $30.00, so each overtime hour is owed $45.00 (1.5 × $30.00). If the worker works 44 hours in the first week of a biweekly period and 40 in the second:

Pay codeUnitsRateAmount
REGULAR_SALARY80$30.00$2,400.00
FLSA_QUALIFIED_OVERTIME4$45.00$180.00
Gross$2,580.00
📘

Everee doesn't use exempt status in Payroll Infrastructure

Payroll Infrastructure doesn't use a worker's exempt or non-exempt status, and doesn't decide whether a worker is owed overtime. It pays the amounts you send, under the pay codes you choose. Deciding who is exempt, and calculating overtime for those who aren't, is up to you and the companies you serve.

Salary resources


Other kinds of pay

Paid time off and holidays

Paid leave is usually hours × the worker's hourly rate, or hourly equivalent for a salaried worker. Pay out a company's leave types with their own pay codes, which start with TIME_OFF_TYPE_. See Managing leave and PTO. The default HOLIDAY, VACATION, and SICK pay codes are also available.

Under the FLSA, paid time off isn't hours worked, so it doesn't count toward the 40-hour overtime threshold, and it isn't part of the regular rate. Extra pay for working on a holiday, like time and a half, is a company policy rather than a federal requirement.

Bonuses and commissions

Send bonuses under BONUS and commissions under COMMISSION. A bonus is often a flat amount. A commission is usually a base, like sales, × a commission rate:

CalculationResult
Commission$18,000 in sales × 5%$900.00

For non-exempt employees, a non-discretionary bonus, one promised in advance or tied to a goal like attendance or production, counts toward the regular rate, and can mean extra overtime is owed. So do commissions. A truly discretionary bonus, where both the decision and the amount are at the employer's discretion, doesn't. See Overtime with more than one rate.

Tips

Send tips under TIPS. The amount is the tips the worker received, from your tip records or a tip pool. Federal and state rules limit how tips can count toward minimum wage, and who can share in a tip pool. See Fact Sheet #15: Tipped Employees Under the FLSA.

Mileage, per diem, and reimbursements

These are usually unit-based. The rates below are only examples:

KindCalculationExample
MileageMiles driven × per-mile rate120 miles × $0.70 = $84.00
Per diemDays traveling × daily rate3 days × $68.00 = $204.00
Expense reimbursementThe receipted amount$57.40

Whether an amount is taxable depends on how it's paid, not what it's called. Reimbursements paid under an accountable plan, where the worker substantiates the business expense and returns any excess, generally aren't wages. Mileage at or below the IRS standard mileage rate, and per diem at or below the federal per diem rate for the location, are common ways to substantiate an amount. Amounts above those rates, or allowances paid without substantiation, are generally taxable wages.

So choose the pay code by tax treatment:

  • For a non-taxable reimbursement, use REIMBURSEMENT, or create your own NON_TAXABLE_PAY pay code, like MILEAGE_REIMBURSEMENT, so the amounts are reported separately.
  • For a taxable amount, use a taxable pay code. The default MILEAGE and PER_DIEM pay codes are taxable.
  • When part of an amount is over the IRS or federal rate, send the part up to the rate under a non-taxable pay code, and the excess under a taxable one.

Flat allowances, like a monthly phone or vehicle stipend that isn't tied to substantiated expenses, are generally taxable wages. Create a TAXABLE_PAY pay code for each one.

Reimbursements are excluded from the FLSA regular rate, but a taxable allowance may not be. Check whether it counts before leaving it out of an overtime calculation.

Contractor pay

Contractors aren't employees, so overtime and minimum wage rules don't apply to them, and tax generally isn't withheld. Send the amount you've agreed to pay under CONTRACTOR, or another pay code, with units and a rate if the work is billed that way.


Practical tips

  • Keep precision until the end. Calculate with the full regular rate and round only each item's amount to the cent. Rounding the rate first can leave the worker a few cents short.
  • Calculate overtime per workweek. Even when you pay biweekly or semimonthly.
  • Separate FLSA overtime from other overtime. Use FLSA_QUALIFIED_OVERTIME only for overtime the FLSA requires, so qualified overtime is reported correctly.
  • Send one item per rate and per kind of pay. It keeps pay stubs readable and makes each amount easy to check.
  • Use a pay code for each thing you track. A custom pay code costs nothing, and keeps different kinds of pay separate on pay stubs, reports, and the general ledger.
  • Check the minimum wage. For each workweek, total pay for hours worked ÷ hours worked should meet the highest applicable federal, state, or local minimum wage, especially for piece-rate, commission, and tipped workers.

Next steps


Did this page help you?