Formulas and sources
Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.
Hours worked each day
A clock-out earlier than the clock-in ends the next day. With rounding on, each punch moves to the nearest 5, 6 or 15 minutes, a punch halfway between rounds up, and the break is never rounded.
Source: The rounding steps are the three that federal rules name, accepted only if, over a period of time, rounding still pays for all the time worked [1]. Rest breaks of about 5 to 20 minutes count as hours worked; a bona fide meal period, ordinarily 30 minutes or more, does not [1]. The Department of Labor’s health care fact sheet reads 15-minute rounding as 1 to 7 minutes down and 8 to 14 up [2].
Gross pay with weekly overtime
When Overtime is Weekly
- R
- regular hours: up to 40 in each workweek
- O
- overtime hours: those over 40 in that workweek
- r
- the hourly rate you enter
On a two-week card, each week’s overtime is worked out separately. The weekly threshold and the multiplier can be changed.
Source: Uses the federal overtime rule, 29 U.S.C. 207(a)(1) [3], and its workweek and payday rules, 29 CFR 778.104 and 778.106 [4]. Federal civil-service overtime is set separately by 5 U.S.C. 5542(a) [7]. The law sets at least 1.5 times the regular rate, which night-shift differentials and most attendance and production bonuses can make higher than the hourly rate [4].
Gross pay with daily and weekly overtime
When Overtime is Daily + weekly
- R
- regular hours: up to 8 a day, and up to 40 a week counting only those
- O
- overtime hours: over 8 and up to 12 in a day, and regular hours over 40 in the week
- D
- double-time hours: over 12 in a day
- r
- the hourly rate you enter
Daily overtime hours are left out of the weekly count, so no hour is paid as overtime twice. The thresholds and multipliers can be changed, and a Double Time After of 24 means no double time.
Source: Based on California Labor Code section 510(a) [5], with daily overtime left out of the weekly 40 as California’s Division of Labor Standards Enforcement reads it [6]. This formula has no seventh-day rule and no alternative workweek schedules. With daily overtime after 10 hours and no double time, it gives the pay in both of Oregon’s manufacturing examples [8].
Gross pay without overtime
When Overtime is None
- hours
- every hour worked on the card
- r
- the hourly rate you enter
Every hour is paid at the same rate.
Source: Standard formula; no single publisher.
Per month and per year
With an hourly rate
The average week is the card’s gross pay ÷ its weeks: one, or two on a two-week card.
Source: Uses the 52-week, 12-month conversion in 29 CFR 778.113(b) [4].
The same week under each overtime rule: the California 12-Hour Shifts example
Sources
- U.S. Department of Labor, Wage and Hour Division. 29 CFR part 785: Hours Worked, sections 785.18, 785.19 and 785.48(b). eCFR, current as of October 1, 2026.Our automated tests check this calculator against 2 cases from it.
- U.S. Department of Labor, Wage and Hour Division. Fact Sheet #53: The Health Care Industry and Hours Worked. Revised July 2009.Our automated tests check this calculator against 2 cases from it.
- U.S. Government Publishing Office. United States Code, Title 29, Section 207: Maximum hours, subsections (a)(1) and (j). 2024 edition.
- U.S. Department of Labor, Wage and Hour Division. 29 CFR part 778: Overtime Compensation, sections 778.104, 778.106, 778.113(b), 778.115, 778.207(b) and 778.211. eCFR, current as of October 1, 2026.Our automated tests check this calculator against 3 cases from it.
- State of California. California Labor Code, section 510, subdivision (a). As amended by Stats. 1999, Ch. 134; read October 5, 2026.
- California Division of Labor Standards Enforcement. Understanding AB 60: An In Depth Look at the Provisions of the "Eight Hour Day Restoration and Workplace Flexibility Act of 1999". Memorandum of December 23, 1999.Our automated tests check this calculator against 2 cases from it.
- U.S. Government Publishing Office. United States Code, Title 5, Section 5542: Overtime rates; computation, subsection (a). 2024 edition.
- Oregon Bureau of Labor and Industries. Manufacturing and Canneries: For Employers, daily and weekly overtime, Overtime examples 1 and 2. Undated page, read October 5, 2026.Our automated tests check this calculator against 5 cases from it.
What this calculator does not cover
- It uses one hourly rate. It does not work out a regular rate that takes in shift differentials, bonuses or two rates of pay.
- It does not model California’s seventh-day rule (a week with hours on all seven days says so), alternative workweek schedules, the 8 and 80 system, or Nevada’s daily overtime.
- A shift past midnight counts on the day it starts, even on the last day of a workweek; an employer’s workweek is a fixed 168 hours, so there it would split the shift at the boundary.
- Federal civil-service overtime under 5 U.S.C. 5542(a), which can count hours over 8 in a day, is not modeled [7].
- A shift that crosses midnight counts on the day it started. California’s Division of Labor Standards Enforcement treats a workday as starting at midnight unless the employer sets another start, which can split such a shift.
- On the night clocks change, a shift counts by the clock, so it can be an hour longer or shorter than the time worked.
- It shows gross pay only, with no tax, deductions, tips or paid time off.
Sources checked on
How we choose sources and test the calculators: How CalcTrail calculates