Clock In Clock Out Calculator
Work out your total shift length from clock-in and clock-out times.
What this calculator measures
Enter the time you clocked in and the time you clocked out, and the tool returns the raw shift length three ways: total minutes, decimal hours and hours-and-minutes. With the defaults of 09:00 to 17:00 the result is 480 minutes, 8.00 decimal hours, or 8h 00m — the standard full-time workday. The figure is the gross span between the two punches; breaks come out of it separately.
How the shift length is computed
Both punches convert to minutes since midnight — 09:00 is 540 and 17:00 is 1,020 — and the clock-in value is subtracted from the clock-out value, giving 480 minutes here. The decimal-hours output divides by 60, so 480 ÷ 60 = 8.00, while the hours-and-minutes output uses floor division and a remainder. When the clock-out value is earlier than the clock-in value, the span is negative and the tool adds 1,440 minutes, treating the shift as one that crossed midnight.
Midnight-crossing shifts
An evening shift that runs 22:00 to 06:00 punches out “before” it punched in on the clock face. The subtraction gives 360 − 1,320 = −960 minutes, the +1,440 correction turns it into 480 minutes, and the calculator reports an 8-hour overnight shift. The same rule covers any shift within one 24-hour cycle; a double longer than 24 hours needs to be split into two days first.
Worked example with the default punches
Clock in 09:00, clock out 17:00: the span is 1,020 − 540 = 480 minutes. In decimal form that is 8.00 hours, the number most payroll systems expect on the line. If an unpaid 30-minute lunch sits inside the shift, paid time drops to 450 minutes, or 7.50 decimal hours — half an hour of pay at, say, $20 per hour is $10, which is why unrecorded breaks are the most common source of timesheet disputes.
How rounding rules change the paid total
| Punch pair | Raw span | Nearest 15 min | Nearest 5 min |
|---|---|---|---|
| 08:58 – 17:02 | 8 h 04 min | 8.00 h | 8.00 h |
| 09:08 – 17:00 | 7 h 52 min | 7.75 h | 7.83 h |
| 09:15 – 16:45 | 7 h 30 min | 7.50 h | 7.50 h |
| 22:00 – 06:00 | 8 h 00 min | 8.00 h | 8.00 h |
The second row shows the swing a rounding rule creates: raw 7 h 52 min pays 7.75 hours under 15-minute rounding, because the 09:08 punch rounds up to 09:15 while the 17:00 punch stays put, and 7.83 hours under 5-minute rounding. That is roughly 8 minutes of pay per shift decided purely by the convention. FLSA rules allow rounding as long as it does not systematically favor the employer, which is why the 7/8 split — first 7 minutes of each quarter round down, last 8 round up — is the most common convention.
Breaks, meals and what to subtract
- Unpaid meal breaks: subtract the full break span, typically 30 or 60 minutes, from the raw shift length
- Paid rest breaks: do not subtract — under FLSA rules short breaks of 5 to 20 minutes are compensable work time
- Automatic meal deductions: many timeclock systems deduct 30 minutes by default, so verify whether your punches already exclude it
- Split shifts: total the separate punched segments individually, then sum, rather than measuring first-in to last-out
With the default 480-minute shift, one 30-minute unpaid lunch and two paid 15-minute breaks leave 450 paid minutes — 7.50 hours — while all 480 minutes stay on the clock as time on premises. Keeping the two numbers apart is what separates an accurate timesheet from a guess.
Decimal hours versus hours and minutes
The two outputs describe the same span in different notations. 480 minutes is 8.00 decimal hours and 8h 00m — identical here because the shift is whole hours. For a span like 7 h 53 min the decimal is 7.88, and the trap is writing 7.53, which reads as 7 hours 31.8 minutes. The minutes after the decimal point are sixtieths of an hour, not hundredths, so converting back and forth requires multiplying or dividing by 60, never by 100. Payroll imports almost universally take the decimal form, while timesheets people read take the hours-and-minutes form.
Common mistakes when totalling a shift
- Subtracting hours and minutes separately without borrowing — converting both punches to minutes first avoids the error entirely
- Missing the midnight rollover — 22:00 to 06:00 is 8 hours, not −16
- Writing decimal hours with minute digits — 7 h 53 min is 7.88 h, not 7.53 h
- Treating the raw span as paid time when a 30 or 60-minute unpaid meal deduction applies
- Summing first-in to last-out across split shifts, which inflates the total by the unpaid gap between segments
For a full week of daily totals with weekly overtime, the Time Card Calculator accumulates multiple punch pairs, and the Elapsed Time Calculator measures any two 24-hour times without the timesheet context.
Frequently asked questions
How many hours is 09:00 to 17:00?
480 minutes, which is 8.00 decimal hours or 8h 00m. It is the standard full-time shift before break deductions.
How do I calculate hours between clock-in and clock-out?
Convert both times to minutes since midnight, subtract the clock-in value from the clock-out value, and add 1,440 minutes if the result is negative because the shift crossed midnight.
Does this include breaks?
No. The result is the raw span between the punches. Subtract unpaid breaks separately — a 480-minute shift with a 30-minute unpaid lunch pays 450 minutes, or 7.50 hours.
What if my shift crosses midnight?
The calculator adds 24 hours when the clock-out value is earlier than the clock-in value. A 22:00 to 06:00 shift correctly totals 480 minutes, or 8 hours.
What is 7 hours 53 minutes in decimal hours?
7.88 hours, since 53 ÷ 60 = 0.883. Writing 7.53 is the classic error — it would read as 7 hours 31.8 minutes on a payroll system.
How much pay do I lose to a rounding rule?
Under 15-minute rounding, a raw 7 h 52 min shift (09:08 to 17:00) pays 7.75 h, because the punch rounds up to 09:15. FLSA rules require the rounding to be neutral over time, not systematically against you.
Are rest breaks paid while meal breaks are not?
Usually yes. Short FLSA rest breaks of 5 to 20 minutes are compensable work time, while bona fide unpaid meal periods of 30 minutes or more are deducted, if you are fully relieved of duties.
What happens if I clock out before I clock in by mistake?
If the span is within 24 hours the calculator interprets it as a midnight-crossing shift and reports a large positive value. Correct the punch order first; the tool has no way to know the entries were reversed.
How do I total a split shift with a gap in the middle?
Time each punched segment separately and add the results. Measuring from the first clock-in to the last clock-out would count the unpaid gap as work.
Method and sources
- Clock time difference arithmetic with midnight handling.