How we calculate

These are the exact rules every calculator on this site follows. They are tested automatically before each release. If your employer uses different rules, your pay may differ.

Last reviewed: . Not legal advice: rules change and depend on your job, state and contract. Check the official sources below or ask your state labor office.

1. Minutes, not decimals

Every time is turned into whole minutes after midnight (9:15 AM = 555), and all adding and subtracting is done in whole minutes. Results are shown as hours:minutes (8:30) and as decimal hours rounded to 2 places, half up (8.50). Converting only at the end avoids rounding drift.

2. Reading times

You can type 24-hour times (9:00, 09:00, 17:30) or 12-hour times (9:00 AM, 5:30 pm, 9a, 9 a.m.). Anything else, such as 25:00 or 9:75, shows “Use a time like 9:00, 17:30 or 9:00 AM”.

3. A day

Day hours worked = Σ (Out − In) for each pair − unpaid break

Example: 7:58 AM to 12:01 PM and 12:31 PM to 4:35 PM = 8 h 7 min (8.12).

4. Leave days

A day marked PTO, Holiday or Sick has paid hours (0 to 24) instead of punches. Those hours are added to paid hours and to pay at the regular rate, but not to hours worked, so they never create overtime. This follows the federal approach, where pay for vacation, holidays and illness is not pay for hours worked (29 U.S.C. § 207(e)(2); 29 CFR 778.218).

5. Overtime

Overtime is worked out for each workweek: seven days from your chosen start day (Sunday or Monday). It is never averaged across weeks.

Overtime presets
PresetOvertimeDouble time
No overtimeNoneNone
US federal weeklyWorked hours over 40 in the workweek, at 1.5×None
Daily 8 + weekly 40Over 8 in a day, then regular hours over 40 in the week, at 1.5×None
CaliforniaOver 8 to 12 in a day; first 8 on the 7th consecutive day; regular hours over 40 in the week, at 1.5×Over 12 in a day; over 8 on the 7th consecutive day, at 2×
CustomYour daily and/or weekly thresholds and multiplier (1 to 3)Your daily double-time threshold and multiplier (1 to 4)

6. Pay

Regular pay = regular hours × rate
Overtime pay = overtime hours × rate × overtime multiplier
Double-time pay = double-time hours × rate × double-time multiplier
Leave pay = leave hours × rate
Gross = the sum of the four

Pay is worked out in whole cents from exact minutes, and each line is rounded once, half up. The rate you enter is used as the regular rate; the legal regular rate can include other pay, such as some bonuses. No taxes, withholding or net pay are calculated.

7. Average week

Average week = hours worked so far this year ÷ number of workweeks with at least one logged work day

8. What this calculator does not do

9. How it is checked

The calculation code is separate from the page, and an automated test suite covers minutes math, 12-hour and 24-hour parsing, overnight shifts, overlapping punches, breaks longer than the shift, rounding to 5, 6 and 15 minutes, weekly overtime, daily plus weekly overtime without double counting, California daily and seventh-day rules, biweekly periods (never averaged), Sunday and Monday week starts, month and year allocation across month boundaries, leave days, pay totals and data validation. Worked examples on this site are produced by the same code when the site is built.

Related tools

Official sources

Updated · Written by the HoursLog team