CalculatorSwitch
Calculator Switch
Work

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

ShiftClock InClock OutHours (no break)With 30min break
Standard day09:0017:008.07.5
Extended day08:0018:0010.09.5
Half day09:0013:004.03.5
Evening16:0000:008.07.5
Night shift22:0006:008.07.5
12-hour shift07:0019:0012.011.5
Part-time AM08:0012:004.04.0
Part-time PM13:0017:004.04.0
Split shift06:0010:004.03.5
Overtime shift07:0020:0013.012.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?
Yes. If your clock-out time is earlier than your clock-in time (for example, clock in at 22:00 and out at 06:00), the calculator automatically adds 24 hours to correctly calculate the 8-hour shift.
How is overtime calculated?
This calculator uses a daily overtime threshold of 8 hours. Hours beyond 8 are calculated at 1.5 times your hourly rate (time-and-a-half). Note that federal FLSA overtime is based on 40 hours per week, not daily. Your actual overtime policy may differ.
Should I include paid breaks in the break time?
No. Only enter unpaid break time (typically meal breaks of 30+ minutes). Short rest breaks of 5-20 minutes are generally considered paid work time under FLSA guidelines and should not be subtracted from your hours.
Can I calculate hours for multiple days?
This calculator handles one shift at a time. For weekly totals, calculate each day separately and add the hours. For comprehensive weekly time tracking, consider a dedicated timesheet tool or spreadsheet.
What time format should I use?
Use 24-hour format (military time). Enter 09:00 for 9 AM, 13:00 for 1 PM, 17:30 for 5:30 PM, 22:00 for 10 PM. This eliminates AM/PM confusion, especially for overnight shifts.
Why does my pay not match my paycheck?
Several factors can cause differences: your employer may round to the nearest quarter hour, apply weekly overtime instead of daily, deduct additional breaks, or use different overtime thresholds. This calculator provides an estimate based on the inputs provided.

Related Calculators

Was this useful?