Time Clock Calculator
Last updated:
How to Use This Calculator
Step 1: Enter your clock-in time in 24-hour format (e.g., 09:00 for 9 AM, 14:30 for 2:30 PM). This is when you started working.
Step 2: Enter your clock-out time in 24-hour format (e.g., 17:30 for 5:30 PM). If you worked past midnight, the calculator handles overnight shifts automatically.
Step 3: Enter your break time in minutes. If you took a 30-minute lunch break, enter 30. If you took no break, enter 0. Break time is subtracted from your total hours.
Step 4: Optionally enter your hourly rate. If provided, the calculator estimates your pay including overtime (time-and-a-half after 8 hours). Leave it blank or at 0 if you only need hours.
Step 5: Click Calculate. The result shows total hours worked, regular hours (up to 8), overtime hours, and estimated pay if a rate was entered.
How Work Hours and Overtime Are Calculated
Most employers track work time using clock-in and clock-out times. Your total hours worked equals the difference between clock-out and clock-in, minus any break time. This sounds simple, but several factors add complexity.
Break time is typically unpaid and must be subtracted from total hours. The US Department of Labor requires employers to provide meal breaks of 30 minutes or more for shifts over a certain length, though requirements vary by state. Short rest breaks (5-20 minutes) are generally counted as paid work time.
Overtime in the United States is governed by the Fair Labor Standards Act (FLSA). The standard rule: any hours over 40 in a workweek must be paid at 1.5 times the regular hourly rate (time-and-a-half). Some states, like California, also require daily overtime for hours over 8 in a single day. This calculator uses the 8-hour daily threshold for overtime estimation.
Overnight shifts cross midnight, which means the clock-out time is numerically smaller than the clock-in time. For example, clocking in at 22:00 (10 PM) and out at 06:00 (6 AM) is 8 hours, not negative 16 hours. The calculator detects this and adds 24 hours to handle the day boundary.
Rounding rules vary by employer. Some companies round to the nearest 15 minutes, others to 6 minutes (tenths of an hour). This calculator shows exact hours and minutes without rounding — your employer's payroll system will apply their specific rounding rules.
Time Clock Calculation Formula
Total Minutes = (Clock-Out Time − Clock-In Time) − Break Minutes
If clock-out is earlier than clock-in (overnight shift), add 1,440 minutes (24 hours) before subtracting.
Total Hours = Total Minutes ÷ 60
Regular Hours = min(Total Hours, 8)
Overtime Hours = max(Total Hours − 8, 0)
Estimated Pay = (Regular Hours × Hourly Rate) + (Overtime Hours × Hourly Rate × 1.5)
Example: Clock in 09:00, clock out 18:30, break 45 minutes, rate $22/hr.
- Total minutes: (18:30 − 09:00) = 570 minutes − 45 break = 525 minutes
- Total hours: 525 ÷ 60 = 8.75 hours
- Regular: 8.00 hours × $22 = $176
- Overtime: 0.75 hours × $22 × 1.5 = $24.75
- Total pay: $200.75
Common Shift Hours Reference
| Shift | Clock In | Clock Out | Hours (no break) | With 30min break |
|---|---|---|---|---|
| Standard day | 09:00 | 17:00 | 8.0 | 7.5 |
| Extended day | 08:00 | 18:00 | 10.0 | 9.5 |
| Half day | 09:00 | 13:00 | 4.0 | 3.5 |
| Evening | 16:00 | 00:00 | 8.0 | 7.5 |
| Night shift | 22:00 | 06:00 | 8.0 | 7.5 |
| 12-hour shift | 07:00 | 19:00 | 12.0 | 11.5 |
| Part-time AM | 08:00 | 12:00 | 4.0 | 4.0 |
| Part-time PM | 13:00 | 17:00 | 4.0 | 4.0 |
| Split shift | 06:00 | 10:00 | 4.0 | 3.5 |
| Overtime shift | 07:00 | 20:00 | 13.0 | 12.5 |
Examples
Example 1: Standard 9-to-5 with Lunch
Clock in 09:00, clock out 17:00, break 30 minutes, rate $20/hr. Result: 7.5 hours worked. Regular: 7.5h, overtime: 0h. Pay: $150.00. You worked a standard shift with no overtime.
Example 2: Long Shift with Overtime
Clock in 07:00, clock out 19:00, break 60 minutes (1 hour), rate $18/hr. Result: 11 hours worked. Regular: 8h ($144), overtime: 3h at $27/hr ($81). Total pay: $225.00.
Example 3: Overnight Shift
Clock in 22:00 (10 PM), clock out 06:30 (6:30 AM next day), break 30 minutes, rate $25/hr. Result: 8 hours worked. The calculator correctly handles the midnight crossover. Regular: 8h, overtime: 0h. Pay: $200.00.
Tips for Tracking Work Hours
Use 24-hour format to avoid AM/PM confusion. 17:00 is always 5 PM. This eliminates errors where 5:00 could mean morning or evening.
Include all breaks. Only enter unpaid break time. Short rest breaks (under 20 minutes) are typically paid and should not be subtracted. Meal breaks of 30+ minutes are usually unpaid.
Overtime calculation is an estimate. Federal overtime is based on 40 hours per week, not 8 hours per day (except in some states like California). This calculator uses a daily 8-hour threshold for estimation. Check with your employer for their specific overtime policy.
Track your hours daily. Small discrepancies of 5-10 minutes per day add up to hours per month. Use this calculator to verify your employer's timesheet calculations.
The hourly rate field is optional. If you just need to know how many hours you worked, leave the rate blank. The calculator will still show total hours, regular, and overtime.
Frequently Asked Questions
Does the calculator handle overnight shifts?
How is overtime calculated?
Should I include paid breaks in the break time?
Can I calculate hours for multiple days?
What time format should I use?
Why does my pay not match my paycheck?
Related Calculators
Work Hours Calculator
Free work hours calculator. Enter your daily hours and days per w...
Time Calculator
Free time calculator. Add or subtract hours, minutes, and seconds...
Time Duration Calculator
Free time duration calculator. Enter a start and end time to find...
Random Number Generator
Free random number generator. Generate one or multiple random int...