Calculators.Life Calculator
Physics

Work Hours Calculator

Input Parameters

Scenarios
Enter time as hhmm (e.g., 900 for 9:00 or 10 for 10:00)
Enter time as hhmm (e.g., 500 for 5:00)

Computed Results

Total Hours (Decimal)
64
Regular Hours (Decimal)40
Overtime Hours (Decimal)24
Total Time (hh:mm)64:00
Regular Time (hh:mm)40:00
Overtime Time (hh:mm)24:00

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.

Gross Minutes = End Time − Start Time ( + 1,440 if overnight)

2. Deduct Breaks:
Any unpaid break time entered for that specific day is subtracted from the gross minutes to find the net time worked.

Net Daily Minutes = Gross Minutes − Break Minutes

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.

Overtime Minutes = Total Weekly Minutes − 2,400

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.

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.

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.

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.

How to Use the Calculator

Follow these steps to calculate your weekly hours:

  1. Enter your start time for Monday using a standard format (e.g., 900 for 9:00) and select AM or PM.
  2. Enter your end time for Monday and select AM or PM.
  3. Input the total duration of any unpaid breaks in minutes (e.g., 30 for a half-hour lunch).
  4. Repeat this process for each day of the week you worked. Leave days blank or clear the inputs if you did not work.
  5. Review the results section to see your total, regular, and overtime hours in both decimal and standard time formats.

Inputs & Outputs Table

FieldTypeDescription
Start Time (Mon-Sun)InputThe time your shift begins, entered as hhmm (e.g., 900 for 9:00).
Start AM/PMInputSelect whether the start time is in the morning (AM) or afternoon/evening (PM).
End Time (Mon-Sun)InputThe time your shift ends, entered as hhmm.
End AM/PMInputSelect whether the end time is in the morning (AM) or afternoon/evening (PM).
Break (minutes)InputThe total unpaid break time taken during the shift, in minutes.
Total Hours (Decimal)OutputThe total weekly hours worked, displayed as a decimal.
Regular Hours (Decimal)OutputThe portion of total hours up to 40, displayed as a decimal.
Overtime Hours (Decimal)OutputAny hours worked beyond the standard 40-hour threshold, displayed as a decimal.
Total Time (hh:mm)OutputThe total weekly hours worked, formatted as hours and minutes.
Regular Time (hh:mm)OutputThe regular hours worked, formatted as hours and minutes.
Overtime Time (hh:mm)OutputThe 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.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.