Work Hours Calculator
Measure exact working duration for a single shift with unpaid lunch deduction, overnight shift rollover support, and decimal conversion.
How to Use the Work Hours Calculator
Pick the exact clock time you started and finished work.
If your shift starts in the evening and ends the next morning (e.g., 10 PM to 6 AM), our tool detects the midnight crossing automatically.
Choose your scheduled unpaid lunch or dinner break period.
See total time formatted as hours/minutes (7h 45m) and decimal hours (7.75 hrs) for timesheet entry.
Formula & Calculation Logic
When working across midnight, adding 1,440 minutes (24 hours) accurately reconciles the day change without error. Dividing remaining net minutes by 60 produces fractional decimal hours required by electronic payroll systems.
Worked Example
Graveyard Shift Hospital Nurse Walkthrough
A registered nurse starts an overnight shift at 7:00 PM (19:00) and clocks out at 7:30 AM (07:30) the following morning, with a 45-minute mandatory unpaid meal break. Total elapsed shift time is 12 hours 30 minutes (750 minutes). Deducting 45 minutes leaves 705 net working minutes, which equals 11 hours 45 minutes or exactly 11.75 decimal hours.
Visual Explanation Diagram
Clock showing a work shift with an unpaid break removed
Frequently Asked Questions
The calculation automatically detects when end time is earlier than start time and adds a full 24-hour cycle (1,440 minutes) so overnight and graveyard shifts compute accurately.
Divide the minutes (45) by 60: 45 / 60 = 0.75. Therefore, 7 hours and 45 minutes is 7.75 decimal hours.
Under FLSA regulations, employers can round employee time to the nearest quarter hour (15 minutes). Minutes 1 through 7 round down, while minutes 8 through 14 round up to 15 minutes.
Under federal wage law, short rest breaks (lasting between 5 and 20 minutes) must be counted as paid hours worked and cannot be deducted.