Time Clock Calculator

Use this time clock calculator to total a shift from its clock in and clock out punches, see how 5-, 6- or 15-minute rounding changes the result, and work out what time to clock out to reach a set number of hours. Add as many punch pairs as your shift has; the gaps between them are treated as unpaid time off the clock.

Total your clock in and out punches

Time format
  1. Punch 1
    4:008:00 AM–12:00 PM
  2. Punch 2
    4:1512:30 PM–4:45 PM
Rounded total
8:15
8.25 decimal hours
Exact punches
8:12
8.20 h
Rounding effect
+3 min
rounded minus exact
Unpaid gaps
0:30
time between punch pairs

What time should I clock out?

8, 7.5 or 7:30

Clock out at 4:30 PM to work 8:00 hours.

How do you calculate hours from a time clock?

Subtract each clock-in from the clock-out after it, then add the pairs together; time between pairs, like a clocked-out lunch, is not counted. When your employer rounds punches, round every in and out time to the chosen increment before subtracting, which is how the calculator above shows both the exact and the rounded total.

How to use the clock in and out calculator

  1. Pick 12-hour or 24-hour time. Times such as 756, 7:56 or 4:38 pm are all understood.
  2. Enter the first clock-in and clock-out. If you punched out for lunch, the return from lunch starts a new punch pair: press Add punch pair and enter the second in and out times.
  3. Choose how your employer rounds punches. Leave it on No rounding to see your exact clock in hours.
  4. Read the total in hours and minutes and in decimal hours, the difference rounding made, and the unpaid time between pairs.

The second box, the clock out time calculator, answers a different question: given when you clocked in, how long you must work and how long your unpaid lunch is, it tells you when to punch out.

The 7-minute rule on a time clock

The federal hours-worked rules recognize that employers commonly record start and stop times to the nearest 5 minutes, the nearest tenth of an hour or the nearest quarter hour. That practice is accepted only if, over a period of time, it does not result in failing to pay employees for all the time they actually worked (29 CFR 785.48(b)).

"7-minute rule" is the everyday name for rounding to the nearest quarter hour; the regulation itself does not use that name. Each quarter hour has a 7-minute window on either side:

Actual punchMinutes past :00Rounded to
8:07 AM78:00 AM (down)
8:08 AM88:15 AM (up)
7:53 AM7 before 8:008:00 AM (up)
4:22 PM7 past 4:154:15 PM (down)

Because rounding goes both ways, it should even out over weeks. A policy that only ever rounds in the employer's favor is the kind the rule warns against. The 6-minute option rounds to tenths of an hour (2 minutes down, 3 minutes up), which matches decimal-hour payroll.

Time clock calculator with lunch and breaks

A clocked-out lunch shows up as the gap between two punch pairs. A bona fide meal period, ordinarily 30 minutes or more with you completely relieved from duty, generally does not have to be paid (29 CFR 785.19). Short rest breaks are treated differently: periods of about 5 to 20 minutes must be counted as hours worked (29 CFR 785.18), so an employee time clock usually keeps running through them.

The Unpaid gaps figure adds up all the time between punch pairs, so you can check that a 30-minute lunch really was 30 minutes on the punch clock.

Worked example: one shift, rounded and exact

The calculator opens with this shift: clock in 7:56 AM, out to lunch 12:03 PM, back 12:33 PM, clock out 4:38 PM.

  • Exact time: 7:56–12:03 is 4:07 and 12:33–4:38 is 4:05, so the shift is 8 hours 12 minutes (8.20 hours).
  • Rounded to the nearest 15 minutes: 8:00–12:00 is 4:00 and 12:30–4:45 is 4:15, so the shift is 8 hours 15 minutes (8.25 hours), 3 minutes more than the exact punches.

The lunch gap is 30 minutes either way. On another day the same rounding could cost a few minutes instead, which is why it has to balance out over time.

Finding your clock-out time

The clock-out time is the clock-in time plus the hours you need to work plus any unpaid lunch:

clock-out = clock-in + hours to work + unpaid lunch

For an 8-hour shift starting at 8:00 AM with a 30-minute lunch, that is 8:00 AM + 8:00 + 0:30 = 4:30 PM. A night shift starting at 10:00 PM with the same lunch ends at 6:30 AM the next day; the calculator marks results that cross midnight. You can enter the hours as 7.5 or 7:30, whichever you have.

From punches to your time card

This tool handles one shift at a time. To total a full week of time in and out entries with overtime and pay, carry each day's total into the time card calculator. If your time clock prints 24-hour times, the military time converter has a chart for reading them. Nothing you enter here leaves your browser.

Results are estimates, not legal or payroll advice. Your employer's timekeeping policy or state law may differ.

Frequently asked questions

How do you calculate time clock hours?

Subtract each clock-in from the clock-out that follows it and add the results together. Punches of 7:56 AM to 12:03 PM and 12:33 PM to 4:38 PM give 4 hours 7 minutes plus 4 hours 5 minutes, or 8 hours 12 minutes (8.20 decimal hours). If your employer rounds punches, round each in and out time first, then subtract.

What is the 7 minute rule?

The 7-minute rule is the common name for rounding time clock punches to the nearest quarter hour: 1 to 7 minutes past a quarter hour rounds down and 8 to 14 minutes rounds up. Federal rules allow rounding to the nearest 5 minutes, tenth of an hour or quarter hour only if, over time, it does not leave employees unpaid for time they actually worked (29 CFR 785.48(b)). The regulation itself does not use the name "7-minute rule".

When do I clock out for an 8-hour shift?

Clock out 8 hours after you clock in, plus the length of any unpaid lunch. Starting at 8:00 AM with a 30-minute unpaid lunch, you clock out at 4:30 PM; with no unpaid lunch, at 4:00 PM. Paid rest breaks of about 5 to 20 minutes count as work time, so they do not push the clock-out time later.