Xerobit

Time Card Calculator: Daily and Weekly Work Hours

Enter your clock-in and clock-out times for each day to calculate total hours worked. This time card calculator handles overnight shifts, deducts unpaid breaks, rounds to the nearest interval, and shows results in both hh:mm and decimal format. Everything runs locally in your browser without uploading any data.

Result

  • Monday
    8:30 (8.50 hrs)
  • Tuesday
    8:30 (8.50 hrs)
  • Wednesday
    8:30 (8.50 hrs)
  • Thursday
    8:30 (8.50 hrs)
  • Friday
    8:30 (8.50 hrs)
  • Weekly Total
    42:30 (42.50 hrs)

Overnight shifts are detected when clock-out is the same as or earlier than clock-in. Check your employer's own rounding and break policy.

By · Published · How we build and test tools

How to use the time card calculator

  1. Enter clock-in and clock-out times for each day using 24-hour format (e.g., 08:00, 17:30). Leave a day blank if you did not work.
  2. Set the unpaid break duration in minutes. This amount is subtracted from every day that has times entered.
  3. Choose a rounding rule if your employer rounds punch times to the nearest 5, 6, or 15 minutes.
  4. Read the daily totals and the weekly total displayed below in both hh:mm and decimal hours.

How the time card calculator works

The calculation converts each clock-in and clock-out time into total minutes since midnight. For example, 08:00 becomes 480 minutes and 17:30 becomes 1050 minutes. The difference gives the raw shift length.

If the clock-out time is earlier than or equal to the clock-in time, the tool assumes an overnight shift and adds 24 hours (1440 minutes) to the result. A shift from 22:00 to 06:00 therefore computes as (360 - 1320 + 1440) = 480 minutes, or 8 hours.

After computing the raw minutes, the unpaid break is subtracted. If rounding is enabled, the net minutes are divided by the rounding interval, rounded to the nearest whole number using half-up rounding (exact halves go up), and multiplied back. Finally, the minutes are formatted as hours and minutes, and separately converted to decimal hours by dividing by 60.

Rounding rules explained

Employers round paid time in different ways. In the United States, Department of Labor rules allow rounding to the nearest five minutes, one tenth of an hour or quarter hour, as long as it averages out over time and does not always favor the employer. This time clock calculator supports those three options and applies them to each day's net minutes:

  • Nearest 5 minutes: A day of 547 minutes becomes 545 (9:05); 548 minutes becomes 550 (9:10).
  • Nearest 6 minutes (tenth of an hour): Six minutes equals exactly 0.1 hours, which suits payroll and billing systems that use tenths. A day of 547 minutes becomes 546 minutes (9.10 hours).
  • Nearest 15 minutes (quarter hour): A day of 547 minutes becomes 540 (9:00); 548 minutes becomes 555 (9:15).

Rounding is applied after the unpaid break is deducted, so it changes the net paid time for the day, not the raw punch times. Exact halves round up. Check your own employer's policy, because some round each punch instead of the whole day.

Common time card values reference

Use this table to quickly verify your decimal conversions when filling out a timesheet manually.

Minuteshh:mmDecimal hours
150:150.25
300:300.50
450:450.75
601:001.00
4808:008.00
5108:308.50
5409:009.00

If you need to convert between 12-hour and 24-hour clocks before entering times, use a military time converter. For converting existing decimal totals back to hours and minutes, see the time converter to decimal chart.

Handling overnight and split shifts

An overnight shift occurs whenever the clock-out time is numerically less than or equal to the clock-in time. The calculator automatically adds 24 hours to produce the correct duration. For instance, clocking in at 23:00 and out at 07:00 yields 8 hours, not negative 16 hours.

If you work a split shift (two separate blocks in one day), enter only the first block's start and the last block's end, then increase the unpaid break field to cover the gap plus any actual unpaid meal period. Alternatively, sum two separate calculations manually. This approach keeps the time card calculator simple while still producing accurate totals.

Practical tips for accurate timesheets

Always record times in 24-hour format to avoid AM/PM confusion. Enter 13:00 instead of 1:00 PM. Double-check that your unpaid break matches your employer's policy: some deduct 30 minutes automatically, while others require you to clock out and back in.

When your employer uses tenth-of-an-hour rounding, select the 6-minute option. This ensures your decimal output aligns exactly with payroll systems that expect increments of 0.1. For contractors who bill clients, pairing this tool with the hours calculator helps track multiple projects across the same week.

Worked examples

ExampleInputResult
Standard 9-to-5 weekMonday In: 09:00; Monday Out: 17:00; Tuesday In: 09:00; Tuesday Out: 17:00; Wednesday In: 09:00; Wednesday Out: 17:00; Thursday In: 09:00; Thursday Out: 17:00; Friday In: 09:00; Friday Out: 17:00; Unpaid break (minutes per day): 30; Round daily hours to: noneMonday: 7:30 (7.50 hrs); Tuesday: 7:30 (7.50 hrs); Wednesday: 7:30 (7.50 hrs); Thursday: 7:30 (7.50 hrs); Friday: 7:30 (7.50 hrs); Weekly Total: 37:30 (37.50 hrs)
Overnight shift with quarter-hour roundingMonday In: 22:00; Monday Out: 06:30; Tuesday In: 22:00; Tuesday Out: 06:30; Wednesday In: 22:00; Wednesday Out: 06:30; Thursday In: 22:00; Thursday Out: 06:30; Friday In: 22:00; Friday Out: 06:30; Unpaid break (minutes per day): 30; Round daily hours to: 15Monday: 8:00 (8.00 hrs); Tuesday: 8:00 (8.00 hrs); Wednesday: 8:00 (8.00 hrs); Thursday: 8:00 (8.00 hrs); Friday: 8:00 (8.00 hrs); Weekly Total: 40:00 (40.00 hrs)
Part-time weekend scheduleSaturday In: 10:00; Saturday Out: 18:15; Sunday In: 11:00; Sunday Out: 16:45; Unpaid break (minutes per day): 0; Round daily hours to: 5Saturday: 8:15 (8.25 hrs); Sunday: 5:45 (5.75 hrs); Weekly Total: 14:00 (14.00 hrs)

FAQ

How do I enter times in this time card calculator?

Use 24-hour format with a colon, such as 08:00 for 8 AM or 17:30 for 5:30 PM. Leave both fields blank for days you did not work.

Does it handle overnight shifts?

Yes. If your clock-out time is earlier than or equal to your clock-in time, the calculator automatically adds 24 hours to compute the correct duration.

What does the 6-minute rounding option mean?

Six minutes equals exactly one-tenth of an hour. Many payroll systems use tenths, so rounding to the nearest 6 minutes produces clean decimal values like 8.1 or 8.2 hours.

Is the break deducted from every day?

The unpaid break in minutes is subtracted from each day where you have entered both a clock-in and clock-out time. Days left blank are ignored.

Can I use this as a time clock calculator for multiple employees?

This tool calculates one person's week at a time. Run it separately for each employee, or export the results to a spreadsheet for batch processing.

Are my times sent to a server?

No. All calculations happen entirely in your browser. No data is uploaded or stored anywhere.