Work Hours Calculator
Input Parameters
Computed Results
The work hours calculator determines your total weekly hours worked by subtracting unpaid break times from your daily shifts. It automatically separates your schedule into regular hours (up to 40 hours) and overtime hours, providing the final totals in both standard time (hh:mm) and decimal formats for easy payroll estimation.
Practical Use Cases
Tracking exact hours worked is essential for accurate timekeeping and scheduling. This calculator is commonly used to total up weekly timesheets, ensuring that all daily shifts are accounted for. It is particularly useful for schedules that include unpaid lunch breaks, varying daily shift lengths, or overnight shifts that cross midnight. By automatically splitting the weekly total into regular and overtime hours, it provides a clear view of standard work requirements versus extra time logged.
Formula & Calculation Explanation
The calculator processes your schedule by converting all start and end times into total minutes from midnight. The core calculation steps are as follows:
1. Calculate Daily Gross Minutes:
For each day, the start time is subtracted from the end time. If the shift crosses midnight (the end time is numerically smaller than the start time), the calculator automatically adds 24 hours (1,440 minutes) to the difference to account for the overnight period.
2. Deduct Breaks:
Any unpaid break time entered for that specific day is subtracted from the gross minutes to find the net time worked.
3. Determine Regular and Overtime Hours:
The net minutes for all seven days are summed to find the weekly total. The first 40 hours (2,400 minutes) are classified as regular time. Any time exceeding 40 hours is classified as overtime.
Finally, the minutes are converted back into standard hours and minutes (hh:mm) and divided by 60 to provide a decimal format rounded to two decimal places.
Verified Scenario Walkthroughs
Below are verified examples demonstrating how different schedules are calculated. Note: In these examples, an entry of 0 AM to 0 PM calculates as a 12-hour period (12:00 AM to 12:00 PM).
Part-time student schedule
Working Monday through Wednesday from 10:00 AM to 2:00 PM with a 30-minute break each day, plus four 12-hour default periods (0 AM to 0 PM) Thursday through Sunday.
- Total Hours: 58.5 (58:30)
- Regular Hours: 40 (40:00)
- Overtime Hours: 18.5 (18:30)
Standard 40-hour work week
Working Monday through Friday from 8:30 AM to 5:00 PM with a 60-minute break each day, plus two 12-hour default periods (0 AM to 0 PM) on the weekend.
- Total Hours: 61.5 (61:30)
- Regular Hours: 40 (40:00)
- Overtime Hours: 21.5 (21:30)
High overtime crunch week
Working Monday through Friday from 8:00 AM to 8:00 PM with 30-minute breaks, Saturday from 9:00 AM to 5:00 PM with a 60-minute break, and one 12-hour default period (0 AM to 0 PM) on Sunday.
- Total Hours: 76.5 (76:30)
- Regular Hours: 40 (40:00)
- Overtime Hours: 36.5 (36:30)
Night shift crossing midnight
Working Monday through Wednesday from 10:00 PM to 6:00 AM with no breaks, plus four 12-hour default periods (0 AM to 0 PM) Thursday through Sunday.
- Total Hours: 72 (72:00)
- Regular Hours: 40 (40:00)
- Overtime Hours: 32 (32:00)
How to Use the Calculator
Follow these steps to calculate your weekly hours:
- Enter your start time for Monday using a standard format (e.g., 900 for 9:00) and select AM or PM.
- Enter your end time for Monday and select AM or PM.
- Input the total duration of any unpaid breaks in minutes (e.g., 30 for a half-hour lunch).
- Repeat this process for each day of the week you worked. Leave days blank or clear the inputs if you did not work.
- Review the results section to see your total, regular, and overtime hours in both decimal and standard time formats.
Inputs & Outputs Table
| Field | Type | Description |
|---|---|---|
| Start Time (Mon-Sun) | Input | The time your shift begins, entered as hhmm (e.g., 900 for 9:00). |
| Start AM/PM | Input | Select whether the start time is in the morning (AM) or afternoon/evening (PM). |
| End Time (Mon-Sun) | Input | The time your shift ends, entered as hhmm. |
| End AM/PM | Input | Select whether the end time is in the morning (AM) or afternoon/evening (PM). |
| Break (minutes) | Input | The total unpaid break time taken during the shift, in minutes. |
| Total Hours (Decimal) | Output | The total weekly hours worked, displayed as a decimal. |
| Regular Hours (Decimal) | Output | The portion of total hours up to 40, displayed as a decimal. |
| Overtime Hours (Decimal) | Output | Any hours worked beyond the standard 40-hour threshold, displayed as a decimal. |
| Total Time (hh:mm) | Output | The total weekly hours worked, formatted as hours and minutes. |
| Regular Time (hh:mm) | Output | The regular hours worked, formatted as hours and minutes. |
| Overtime Time (hh:mm) | Output | The overtime hours worked, formatted as hours and minutes. |
Frequently Asked Questions
How does the calculator handle overnight shifts?
If your shift's end time is earlier in the day than your start time (for example, starting at 10:00 PM and ending at 6:00 AM), the calculator automatically recognizes it as an overnight shift and adds 24 hours to the calculation to determine the correct duration.
What is the difference between decimal hours and hh:mm format?
The hh:mm format displays exact hours and minutes (e.g., 8:30 means 8 hours and 30 minutes). Decimal format converts the minutes into a fraction of an hour (e.g., 8.50 hours), which is the standard format used by most payroll systems to calculate wages.