1. Exact minutes first, decimals last
Every clock time is stored as whole minutes since midnight and every duration as whole minutes. Decimal hours are only a display format: decimal hours = minutes ÷ 60, rounded to 2 decimals (half up) once, at the very end. Totals, overtime and pay are always computed on the minutes, never by adding decimals that were already rounded.
Why it matters: three 20-minute tasks are 1:00, which is 1.00 hour. Adding 0.33 + 0.33 + 0.33 would give 0.99. Five shifts of 7:20 are 36:40 = 36.67 hours, not 5 × 7.33 = 36.65.
2. Time card
Hours worked in a day = clock-out − clock-in − unpaid break. When clock-out is earlier than clock-in, the shift crosses midnight and 24 hours are added (10:00 PM to 6:00 AM = 8:00). With several in/out pairs, each pair is added and the gaps between them are not counted.
Example we test: 8:52 AM to 5:34 PM with a 30-minute break = 8:12 = 8.20 hours.
Short breaks of 5 to 20 minutes are normally paid work time under federal rules (29 CFR 785.18); bona fide meal periods, usually 30 minutes or more, are not (29 CFR 785.19). The calculator subtracts only the break you enter as unpaid.
3. Overtime
Federal rule (FLSA): hours over 40 in a fixed workweek of 7 consecutive days are paid at 1.5 times the regular rate (U.S. Department of Labor). Each workweek stands alone: two weeks are never averaged (29 CFR 778.104).
Example we test: 45 hours at $20 = 40 × $20 + 5 × $30 = $950.
California: over 8 hours in a workday or 40 in a workweek at 1.5×, over 12 hours in a workday at 2×, and special rules for the 7th consecutive day (Labor Code § 510). Other states with their own rules are listed on the overtime-by-state page, each with its official source; for every other state we link to the DOL state labor offices instead of guessing. When both federal and state rules apply, the calculator uses the one that pays more.
A night shift differential paid by the employer is part of the regular rate used for overtime (29 CFR 778.207).
4. Time clock rounding
Each punch is rounded to the nearest 5, 6 or 15 minutes, half up. For quarter hours that means 1 to 7 minutes round down and 8 to 14 round up: the "7-minute rule" is just this arithmetic (Texas Workforce Commission). Rounding is allowed only if, over time, it does not cut the hours employees are paid for (29 CFR 785.48(b)), so the calculator always shows rounded time next to actual time and the difference in pay.
5. Money
Pay is computed in whole cents from the exact minutes and rounded to the cent once. Estimates are before taxes and deductions.
6. How we check
- More than a thousand automated tests run on every build. They cover every minute from 0 to 59, midnight shifts, 24-hour shifts, invalid inputs (25:00, negative values, letters), overtime boundaries (exactly 40:00, 40:01) and each worked example on this page.
- Results are compared with the leading time card calculators. On the cases above, everyone agrees to the minute.
- Legal figures are taken only from official sources (U.S. Department of Labor, eCFR, state labor agencies and codes), with the date we checked them. We do not state a rule without a source.
7. Limits
ClockDecimal gives estimates for planning and checking. It does not know your contract, union agreement, exemptions (for example salaried exempt employees) or special industry rules. For a dispute, ask your employer, your state labor agency or the Wage and Hour Division.
Found an error? Tell us through the contact page: every report is checked against the sources above, and this page is updated with a new review date.