If you pay hourly staff, “how is overtime calculated in payroll?” is one of those questions that sounds simple until you’re staring at a timesheet the night before a pay run. Weekly overtime, daily overtime, double-time, holiday pay — the rules stack, they vary by where you operate, and getting them wrong costs money in both directions. Underpay and you risk a wage claim. Overpay and you’re quietly bleeding labor budget.
This is a plain-English walkthrough of how these numbers actually get worked out, and how a time clock that already knows everyone’s hours can do the arithmetic for you before it hands off to your payroll provider. We’ll keep the legal parts honest: rules differ by country and by state, so treat the examples as rules of thumb and confirm your own jurisdiction.
Start with the regular rate and the workweek
Every overtime calculation begins with two things: a person’s regular rate of pay and a defined workweek.
The regular rate is usually just the hourly rate, but it can be more — some jurisdictions require certain bonuses or shift differentials to be folded in before overtime is figured. The workweek is a fixed, recurring seven-day period your business declares (it doesn’t have to be Monday–Sunday, but once set it should stay put). Overtime is almost always measured against that workweek, not against a calendar week or a pay period.
Once those two anchors are set, the rest is layering. In Punchwell, the pieces that feed the math — each employee’s pay type, rate, and pay frequency — live on the employee record, and the payroll export engine uses them to build a payout report for the current pay period. It calculates the categories below and produces per-employee figures plus an employer summary total. One honest boundary worth stating up front: it computes and exports the numbers as data (CSV, or a connector like SurePayroll or Gusto). It does not move money — no direct deposit, no tax filing — so there’s no payment-processor or tax-custody risk sitting on your WordPress site.
Weekly overtime (the most common rule)
The most widely applied rule is weekly overtime. Under the US federal standard (the FLSA rule of thumb), hours worked over 40 in a workweek are paid at 1.5× the regular rate — “time and a half.”
A quick illustration. Say someone earns $20/hour and works 46 hours in a week:
- 40 hours at $20 = $800 (regular)
- 6 hours at $30 (1.5×) = $180 (overtime)
- Gross for the week = $980
That 40-hour threshold is the federal floor in the US. Some states set stricter rules, and many countries define overtime entirely differently — so the threshold and multiplier are the two dials you always confirm locally.
Daily overtime and double-time
Here’s where a lot of small businesses trip up: some jurisdictions also require daily overtime, on top of the weekly rule.
The best-known example is California, where (as a general illustration, not legal advice) hours over 8 in a single day are paid at 1.5×, and hours over 12 in a day tip into double-time at 2×. There are also seventh-consecutive-day rules. The point isn’t the specific thresholds — it’s that “did this person cross 40 this week?” isn’t always the whole story. You may also need “did this shift cross 8, or 12, hours today?”
This is exactly why Punchwell’s payout report computes both weekly and daily overtime, plus double-time, rather than only totting up the week. If your jurisdiction only uses the weekly rule, the daily figures simply come out as zero; if it uses both, they’re already separated for you. Either way, the raw punches — including overnight shifts that cross midnight — are turned into clean daily and weekly totals before any multiplier is applied.
Holiday pay is mostly policy, not law
People often assume holiday pay works like overtime. In the US, it usually doesn’t. Federal law generally does not require premium pay for working a public holiday — holiday premiums are typically an employer policy (or a union agreement), not a legal mandate. Other countries do mandate holiday entitlements, which is another reason to check locally.
So “holiday pay” in a payroll calculation is really two separate questions:
- Which days count as holidays? That’s your holiday calendar. Punchwell lets you build one and even import public-holiday presets or an iCal file for common countries, computed locally with a preview before saving.
- What premium, if any, applies to hours worked on those days? That’s your policy — often 1.5× or 2×, but entirely your call.
The payout report includes a holiday-pay category so that, once you’ve defined which days qualify, hours landing on them are tallied separately from ordinary and overtime hours. Paid time off itself is handled by the leave and PTO side of the plugin, where approving paid leave draws down an accrued balance and records it in a ledger.
Don’t forget worker classification
One more variable changes the math before you even start: who is on the clock. A W-2 hourly employee is generally owed overtime; a genuine 1099 contractor generally isn’t.
Punchwell lets you set a worker classification per person (1099 contractor, full-time, part-time, temp, intern), and it includes a toggle to exclude 1099 contractors from overtime — defaulting to the FLSA-aligned behavior. That keeps a misclassified overtime line from quietly inflating a contractor’s payout report. As always, classification itself is a legal determination you make, not one the software makes for you.
Keeping the dollar figures private
Because these reports contain pay rates and gross amounts, they’re sensitive. In Punchwell the dollar figures on the payout report are admin/manager-only. Individual employees don’t see the company-wide numbers — though, if you enable it, each person can see their own rate, hours, and estimated gross through the opt-in “My Pay” self-service view. Nothing leaves your server to make that happen: it’s all computed inside your own WordPress database.
The bottom line
So, how is overtime calculated in payroll? Start with the regular rate and a fixed workweek, apply weekly overtime (commonly 1.5× over 40 hours), layer on any daily overtime or double-time your jurisdiction requires, add holiday premiums per your own policy, and account for who’s actually an overtime-eligible employee. The rules are fiddly, but they’re rules — which means a time clock that already holds accurate punches can do the layering for you and hand your provider a payroll-ready file.
If you’d rather stop doing this arithmetic by hand each pay period, see how the payroll export report handles overtime, double-time, and holiday pay — then take the payroll-ready CSV to whichever provider you already use.
Punchwell is an independent, third-party maintained fork of the GPL-licensed “WP Human Resource Management” plugin. Sturdyhaus is not affiliated with, endorsed by, or sponsored by wpspear, weDevs, or the original author. Other product names (SurePayroll, Gusto) are referenced descriptively only and belong to their respective owners. This article is general information, not legal, tax, or payroll advice — overtime, double-time, and holiday-pay rules vary by jurisdiction, so confirm the current rules that apply to you.