ThisCalculator

Everyday

Hourly Clock In Calculator: Work Hours & Pay

Updated · Standard formula, shown below

Hours worked 8.00 h
Gross pay
160.00 $
Result
Clock in (24h)
9
You entered
Clock out (24h)
17.5
You entered

Hourly Clock In Calculator: Work Hours & Pay

This calculator works out your total hours worked and gross pay from your clock-in and clock-out times. Enter your start time, end time, and hourly rate, and it returns your shift duration (in hours and minutes) and the corresponding pay before taxes. It handles overnight shifts and breaks automatically if you provide them.

Formula

The core calculation is simple subtraction:

Hours worked = (Clock-out time − Clock-in time) − Break duration

Where:

  • Clock-in time and Clock-out time are expressed in decimal hours (e.g., 9:30 AM = 9.5, 5:15 PM = 17.25).
  • Break duration is in minutes, converted to hours by dividing by 60.
  • Hours worked is the result in hours (e.g., 7.5 means 7 hours 30 minutes).
  • Gross pay = Hours worked × Hourly rate.

If the clock-out time is earlier than the clock-in time (e.g., 10 PM to 6 AM), the calculator adds 24 hours to the end time automatically, so overnight shifts are handled correctly.

Worked Example

Using the default values from the calculator above:

  1. Clock in: 9.0 (9:00 AM)
  2. Clock out: 17.5 (5:30 PM)
  3. Break: 30 minutes

Step 1: Raw time difference = 17.5 − 9.0 = 8.5 hours

Step 2: Subtract break in hours: 30 / 60 = 0.5 hours

Step 3: Hours worked = 8.5 − 0.5 = 8.0 hours

Step 4: Gross pay = 8.0 × $20 = $160.00

The calculator shows 8.00 hours and $160.00, matching the manual calculation.

Why Use a Clock-In Calculator?

Manual time tracking is prone to arithmetic errors, especially when shifts cross noon or midnight. A clock-in calculator removes the guesswork from:

  • Verifying a paycheck or timesheet.
  • Planning a work schedule within a weekly hour limit.
  • Estimating overtime pay (if you add the overtime rate manually).
  • Comparing a salaried offer to an hourly one.

It is also useful for freelancers who track billable hours by the clock rather than by task.

How to Read the Results

The first output, Hours worked, is the number of hours you actually worked after subtracting breaks. The second, Gross pay, is the amount before any deductions like taxes, insurance, or retirement contributions. If you need net pay (take-home), you must subtract those deductions separately.

The result is shown in decimal hours (e.g., 7.50). To convert to hours and minutes, multiply the decimal part by 60: 0.50 × 60 = 30 minutes, so 7.50 hours = 7 hours 30 minutes. Many payroll systems use decimal hours, so this format is standard.

Common Mistakes and How to Avoid Them

  • Mixing AM/PM with 24-hour time: Always use 24-hour format (e.g., 14:00 for 2 PM). The calculator assumes you enter decimal hours in 24-hour format.
  • Forgetting breaks: Unpaid breaks must be subtracted. If you work through lunch, enter 0.
  • Overnight shifts: If you clock in at 22:00 and out at 06:00, the calculator adds 24 hours to the end time automatically, so you get 8 hours, not −16.
  • Rounding too early: Do not round the hours before multiplying by the rate. Round only the final pay amount to two decimals.

Limitations of the Formula

This calculator handles only a single shift. If you work multiple shifts in a day or have a split shift (e.g., two separate blocks), you must add the results manually. It also does not account for:

  • Overtime rates (e.g., 1.5× after 8 hours) – you can calculate that by splitting the shift and using different rates.
  • Holiday or weekend differentials.
  • State or local labor laws regarding minimum shift durations or break requirements.
  • Tips, commissions, or bonuses.

For payroll purposes, always check with your employer or local labor board for the exact rules that apply to you.

Frequently Asked Questions

How do I convert my clock-in time to decimal hours?

Take the hour and add the minutes divided by 60. For example, 8:45 AM becomes 8 + 45/60 = 8.75. In 24-hour format, 3:20 PM becomes 15 + 20/60 = 15.33.

What if I work overnight and the calculator gives a negative number?

It shouldn’t. The calculator automatically adds 24 hours to the clock-out time if it is less than the clock-in time. If you still see a negative, double-check that you entered the times in decimal hours, not as hour:minute pairs.

Does this calculator include overtime?

No. It calculates straight-time pay only. To include overtime, split the shift into regular hours (e.g., first 8) and overtime hours, then multiply each by its respective rate and add them.

Can I use this for a 12-hour shift?

Yes. Enter the start and end times in decimal hours and the break duration. For a 12-hour shift with a 30-minute break, the result would be 11.5 hours.

Is gross pay the same as what I take home?

No. Gross pay is before deductions. Federal and state taxes, Social Security, Medicare, health insurance premiums, and retirement contributions are subtracted to get net pay. Use a paycheck calculator for a more complete estimate.

Related

Formula used
in start | Clock in (24h) | - | 9.0 | 0
in end | Clock out (24h) | - | 17.5 | 0
in rate | Hourly rate | $ | 20 | 0
in break | Break (minutes) | min | 30 | 0
out hours | Hours worked | h | (end - start) - break / 60 | 2
out pay | Gross pay | $ | hours * rate | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.