Rules checked on

How the hours are counted

Every calculator on this site runs the same small engine in your browser. This page describes it in the order it works, with the official text behind each step. All thresholds sit in one parameter file read on October 11, 2026; the tests that guard the engine reproduce the examples the agencies publish.

1. Reading a time

A typed time is turned into minutes after midnight. "8", "830", "8:30" and "8.30" are all half past eight; "am" and "pm" are read when present, and without them the 24-hour clock is used, so "1730" is 5:30 pm. Anything else is refused and the field turns amber, rather than counting as zero.

2. Measuring a shift

The shift is the out time minus the in time. When the out time is earlier than or equal to the in time, it belongs to the next day, which is how a night shift from 10 pm to 6 am gives eight hours. The unpaid break is subtracted next. The site treats as unpaid only what you type in the break field, and its labels follow the federal rules: rest periods of about 5 to 20 minutes count as hours worked (29 CFR 785.18), a bona fide meal period during which you are completely relieved of duty, ordinarily 30 minutes or more, does not (29 CFR 785.19).

3. Rounding punches

When rounding is chosen, each punch is moved to the nearest 5 minutes, 6 minutes (a tenth of an hour) or 15 minutes, and the shift is measured between the rounded punches. These are the three increments named in 29 CFR 785.48(b), which accepts the practice only if it does not, over time, underpay the work actually done. On the quarter hour, a punch 7 minutes past rounds down and one 8 minutes past rounds up. The calculator never rounds the total of the day or the week, because the rule is about recorded starting and stopping times.

4. Splitting the workweek

Hours are first split day by day under the daily rule of the chosen state, then week by week. In California hours past 8 in a workday are time and a half and hours past 12 are double time; when an employee works all seven days of the workweek, the first 8 hours of the seventh are time and a half and the rest double time (DLSE overtime FAQ). Alaska counts after 8 hours a day for employers of 4 or more (Alaska Wage and Hour Act). Nevada counts after 8 hours only for employees paid less than 1.5 times its minimum wage of $12.00, that is under $18.00 an hour (DOL state table). Colorado counts after 12 hours a day or 12 consecutive hours (COMPS Order #40, Rule 4).

The weekly step then walks through the days in workweek order and counts only the hours still at straight time. When they pass 40, each further straight-time hour becomes overtime (Fact Sheet #23). Because an hour already paid as daily overtime is never counted again, this gives exactly the "whichever is greater" result that Colorado's Rule 4.1.2 asks for, and the usual California payroll practice. Seven reference weeks, computed by the engine at the rate shown:

Reference cases of the overtime engine (also run as automated tests).
CaseTotalRegularOvertimeDoubleGross
Five 9-hour days, FLSA454050$950.00
Same week, California454050$950.00
One 13-hour day, California13841$320.00
Seven days 8, 8, 8, 8, 8, 4, 10, California5440122$1,240.00
Ten-hour day, Nevada at $1510820$165.00
Ten-hour day, Nevada at $25101000$250.00
Three 14-hour days, Colorado423660$900.00

5. The regular rate

Overtime multiplies the regular rate, not only the base wage. With two rates in one week the calculator follows 29 CFR 778.115: total straight-time pay divided by all hours, then half of that rate added for each overtime hour. For a nonexempt employee paid a weekly salary meant to cover all hours, the Department of Labor's own example is reproduced: $405 for 45 hours gives a regular rate of $9.00 and $22.50 of extra half-time.

6. Calendars and paydays

Federal holidays are computed from their legal rules (fixed dates, or the nth Monday or Thursday of a month) with the weekend rule that OPM applies: a Saturday holiday is observed on Friday, a Sunday holiday on Monday. The computed 2026 list is checked against OPM's published list in the tests. Business days are weekdays that are not observed federal holidays. Biweekly paydays repeat every 14 days from any payday you give; semimonthly ones fall on the 15th and the last day of the month, and when a payday lands on a weekend or holiday the calculators move it to the previous business day, a common policy that you can switch off.

7. Salary, hourly rate and PTO

Salary to hourly divides by the hours actually scheduled (40 hours over 52 weeks is 2,080) and shows the federal civilian method, which divides annual basic pay by 2,087 hours, the average number of paid hours in a year over a 28-year cycle (OPM, 5 U.S.C. 5504(b)). PTO accrual is plain arithmetic on your employer's policy; for California sick leave the engine uses the Labor Commissioner's figures: one hour for every 30 hours worked, use of at least 40 hours or 5 days a year, and an accrual cap that may not be lower than 80 hours or 10 days (DLSE paid sick leave).

8. What the engine does not model

  • Exemptions: the calculators assume a nonexempt employee. Executive, administrative, professional and many industry exemptions are not tested.
  • Alternative workweek schedules in California and flexible work hour plans in Alaska, which move the daily threshold.
  • Meal and rest period premiums owed when a break is missed; the breaks guide explains them but the time card does not add them.
  • Local minimum wages and city ordinances, union contracts, tips and tip credits, taxes and deductions.
  • Daylight saving time: clock times are used as written, so a night shift across the change counts one hour more or less than the real elapsed time.

Found an error? The contact page says what to send. The publisher and its sources are presented on the about page.

Published by

Publisher of free time card, overtime and pay-period calculators built on U.S. federal and state wage-hour rules

Rules checked on · Editorial policy · Contact

Estimate only, not legal advice: hours and gross pay before taxes and deductions. The overtime split follows the federal rule or the state rule you pick; union contracts, alternative workweek schedules, exemptions and local ordinances can change it. Check your pay stub against your employer’s written workweek.

Federal and state wage-hour rules for 2026, last read on the official texts on