OTHER · WORK HOURS
Work Hours Calculator
Calculate total weekly hours worked from daily clock-in and clock-out times. Supports up to 7 days, overnight shifts, and a configurable overtime threshold.
| Day | Clock in | Clock out | Hours |
|---|---|---|---|
| Monday | 09:00 | 17:00 | 8:00 |
| Tuesday | 09:00 | 17:00 | 8:00 |
| Wednesday | 09:00 | 17:00 | 8:00 |
| Thursday | 09:00 | 17:00 | 8:00 |
| Friday | 09:00 | 17:00 | 8:00 |
| Total | 40:00 | ||
About This Calculator
Enter your clock-in and clock-out times for each day of the week to see your total hours worked. The calculator accumulates hours across up to 7 days, handles overnight shifts automatically, and flags any hours over your standard workweek threshold (default 40 hours).
How It Works
For each day, the calculator subtracts the clock-in time from the clock-out time (both in minutes since midnight). If clock-out is earlier than clock-in, the shift is treated as overnight and 1,440 minutes (24 hours) is added. Day totals are summed for the weekly total. Overtime = total − standard threshold (zero if below threshold).
The Formula
totalHours = Σ (clockOutMinutes[i] − clockInMinutes[i]) / 60
- clockOutMinutes[i]
- clock-out time for day i (minutes since midnight)
- clockInMinutes[i]
- clock-in time for day i (minutes since midnight)
Frequently Asked Questions
- How is this different from the Time Card Calculator?
- The Time Card Calculator handles a single shift with an unpaid break deduction — it focuses on net pay hours for one day. The Work Hours Calculator accumulates hours across multiple days in a week to give you a weekly total, without pay calculations. Use the Time Card Calculator per-day for payroll accuracy; use this calculator for weekly hour totals.
- Does this handle overnight shifts?
- Yes. If your clock-out time is earlier than your clock-in time (for example, 22:00 to 06:00), the calculator automatically treats it as an overnight shift and adds 24 hours to the difference. The result row will show '+1d' to indicate the shift crosses midnight.
- Can I use this to calculate overtime?
- Yes. Set the 'Standard workweek hours' field to your overtime threshold (commonly 40 hours in the US, but some industries use 37.5 or 44). Any hours above that threshold appear as overtime. This calculator shows raw overtime hours — it does not compute pay rates. Use the Overtime Pay Calculator for dollar amounts.