Clock-In / Clock-Out to Decimal Calculator

Calculate total payable shift hours from clock-in and clock-out times, automatically deducting unpaid breaks. Net payroll hours equal total elapsed minutes minus break duration divided by 60, delivering exact decimal hours ready for payroll.

Clock In / Clock Out Calculator
Precision:
$

Decimal hours worked

0.00 hrs

Calculating payroll hours directly from employee punch timestamps is fraught with common calculation pitfalls: forgetting to subtract unpaid meal breaks, mishandling shifts that cross midnight, and confusing clock minutes with decimal portions. For instance, an 8:00 AM to 4:45 PM shift with a 30-minute unpaid lunch results in 8 hours and 15 minutes of net billable labor—which translates into 8.25 decimal hours, not 8.15 (see our guide to converting shift hours to decimal). For graveyard and medical shifts (e.g., 10:00 PM to 6:30 AM), standard subtraction produces negative values unless an automatic 24-hour rollover adjustment is applied. This tool resolves all three challenges automatically, rendering audit-ready decimal totals with optional FLSA quarter-hour rounding. If you already have total accumulated time, use our standard hours to decimal tool.

⚠ Overnight shift trap: both times entered as PM

A payroll clerk processing a graveyard shift (10:00 PM to 6:30 AM) accidentally enters both times as PM: 10:00 PM to 6:30 PM. The system calculates 8.5 hours — which happens to look correct — but assigns it to the wrong shift window: the same day, not crossing midnight. This triggers incorrect overtime calculation when the employee's day-total is tallied. For any shift crossing midnight, always confirm the clock-out is the next calendar day, or use 24-hour notation (22:00 to 06:30+1) to remove ambiguity entirely.

Common Shift Hours to Decimal Equivalents

Shift Times & Lunch BreakNet Decimal HoursShift Description
8:00 AM – 4:30 PM (30m lunch)8.00 hrsStandard 8-hour shift
9:00 AM – 5:00 PM (30m lunch)7.50 hrsOffice 7.5-hour workday
8:00 AM – 5:00 PM (60m lunch)8.00 hrsStandard 1-hour lunch shift
7:00 AM – 3:30 PM (30m lunch)8.00 hrsEarly morning trades shift
8:30 AM – 5:00 PM (30m lunch)8.00 hrsStandard corporate schedule
8:00 AM – 1:00 PM (0m lunch)5.00 hrsMorning half-day shift
9:00 AM – 1:15 PM (0m lunch)4.25 hrsPart-time schedule with quarter
8:00 AM – 5:15 PM (45m lunch)8.50 hrsExtended shift with 30m overtime
10:00 PM – 6:30 AM (30m lunch)8.00 hrsOvernight graveyard shift
7:30 AM – 4:00 PM (30m lunch)8.00 hrsManufacturing production shift

Frequently Asked Questions

How do I calculate total shift hours from clock-in and clock-out times?

Subtract the clock-in time from the clock-out time to determine elapsed time, subtract any unpaid meal break minutes, and divide the net minutes by 60. For example, 8:30 AM to 5:00 PM is 8 hours 30 minutes (510 minutes). Deducting a 30-minute unpaid lunch leaves 480 minutes, which equals 8.00 decimal hours (480 ÷ 60 = 8.00).

How do I calculate overnight shifts that pass midnight?

If a shift crosses midnight (e.g., in at 10:00 PM and out at 6:30 AM), add 24 hours to the checkout time before subtracting. 10:00 PM (22:00) to 6:30 AM (30:30 adjusted) is 8 hours and 30 minutes. After deducting a 30-minute lunch, the payable time is 8.00 decimal hours.

Should unpaid meal breaks be deducted before or after decimal conversion?

Always subtract unpaid meal breaks from the raw minutes worked before converting to decimal format. Deducting rounded decimal values after the fact can introduce rounding discrepancies between timesheets and payroll reports.

What if an employee clocks in 5 minutes early?

Under federal wage guidelines, minor early punches can either be compensated based on actual minute-by-minute work or rounded using a consistent, neutral 7/8-minute quarter-hour rounding rule.