How we calculate
Hours per day, night shifts, weekly total and pay with overtime.
1. Hours per day
(end − start − break) ÷ 60- From 08:00 to 18:00 there are 600 minutes.
- Minus a 30-minute break:
600 − 30 = 570 - In hours:
570 ÷ 60 = 9.5 h
2. Night shift
If end ≤ start, we add 24 hours to the end.- You start at 22:00 and finish at 06:00.
- The end moves to the next day:
360 + 1,440 = 1,800 minutes - Hours worked:
(1,800 − 1,320) ÷ 60 = 8 h
3. Weekly total
The sum of each day's hours.- Five days of 9.5 h add up to 47.5 h.
4. Pay with overtime
regular × rate + overtime × rate × multiplier- A 40 h limit, a rate of US$20 and a 1.5 multiplier.
- Regular hours:
40 × US$20 = US$800 - Overtime:
7.5 × US$20 × 1.5 = US$225 - Total:
US$800 + US$225 = US$1,025.00
We don't round intermediate steps. Hours show up to two decimals and pay shows two decimals. You set the limit and the multiplier.