Work Hours

Time Clock Calculator

Turn a list of clock-in and clock-out punches into total decimal hours for payroll. Add as many pairs as you have, deduct a lunch break, and get a payroll-ready total. 12- and 24-hour time both work.

Punches
1
2
3
4
5
6
7
8
9
10
11
12
Options

How the time clock calculation works

For each punch pair: minutes = (clock out − clock in, +24h if overnight) − unpaid break. The minutes for every pair are added, then converted to decimal hours by dividing by 60. Payroll systems want the decimal form: 8 hours 27 minutes is entered as 8.45, not 8.27.

Reading a punch record

Punch clocks print times like 07:58 and 16:31. Enter them exactly as shown — you don't need to convert to AM/PM. If your clock rounds punches to the nearest quarter hour, enter the rounded times.

When to use a different tool

Frequently asked questions

How do I convert clock in and clock out times to decimal hours?
Find the elapsed time for each punch pair, subtract any unpaid break, then divide the minutes by 60. 8:02 AM to 4:29 PM is 8 hours 27 minutes, which is 8.45 decimal hours. This calculator does every pair and adds them up.
How is this different from the Time Card Calculator?
The Time Card Calculator is built around a Monday–Sunday work week, weekly overtime, and gross pay. This tool takes a plain list of punch pairs in any quantity and gives you one number: decimal payroll hours. Use it when you're entering hours into a timesheet or payroll system.
Does it accept 24-hour (military) time?
Yes. Enter 0800, 08:00, 8:00 AM, or 1645 — all work. Punch clocks usually print 24-hour time.
How does it handle a shift that runs past midnight?
If the clock-out time is earlier than the clock-in time, the pair is treated as crossing midnight and marked (overnight).
Can I deduct lunch?
Set one unpaid break value and it's subtracted from every punch pair. If breaks vary by shift, use the Time Card Calculator instead, which takes a break per day.

Further reading: How Time Cards Work