Time Card Calculator
Calculate net worked hours for a shift from clock-in and clock-out times, minus an unpaid break.
How It's Calculated
Formula
\text{netMinutes} = \big[(\text{clockOutHour} \times 60 + \text{clockOutMinute}) - (\text{clockInHour} \times 60 + \text{clockInMinute})\big] - \text{breakMinutes}This calculator computes time arithmetic only — it is not a payroll or legal-compliance tool. Gross shift duration is the clock-in-to-clock-out minute difference: in same-day mode clock-out must be at or after clock-in, and in overnight mode clock-out is treated as occurring on the next calendar day (wrapping across midnight). The unpaid break is then subtracted from the gross duration to get net worked minutes; the break must be zero or more and cannot exceed the gross shift duration. This calculator does not infer or apply overtime rules, does not calculate wages, and does not apply any jurisdiction-specific labor law — it reports elapsed time only.
Worked Examples
Standard shift with break: 09:00 to 17:00, 30-minute break
- Gross: (17 x 60) - (9 x 60) = 1,020 - 540 = 480 minutes.
- Net: 480 - 30 = 450 minutes.
- Result: 450 minutes = 7.5 decimal hours = 7 hours 30 minutes.
Overnight shift with break: 22:00 to 06:00, 45-minute break
- Start minute-of-day: 22 x 60 = 1,320. End minute-of-day: 6 x 60 = 360.
- End (360) is at or before start (1,320), so add a full day: 360 + 1,440 = 1,800.
- Gross: 1,800 - 1,320 = 480 minutes.
- Net: 480 - 45 = 435 minutes.
- Result: 435 minutes = 7.25 decimal hours = 7 hours 15 minutes.
Frequently Asked Questions
Does this calculator handle overtime pay or wages?
No. This calculator performs time arithmetic only — it reports gross and net worked minutes/hours. It never calculates wages, applies overtime multipliers, or applies any jurisdiction-specific labor law.
What happens if my unpaid break is longer than the shift?
The calculator reports a validation error. A break cannot exceed the gross clock-in-to-clock-out duration.
How do I enter an overnight shift?
Enable the overnight toggle if clock-out occurs on the calendar day after clock-in (for example, a shift starting at 22:00 and ending at 06:00). Without the toggle, clock-out must be at or after clock-in on the same day.
If clock-in and clock-out are the same time, is that 0 hours?
In same-day mode, yes — an identical clock-in and clock-out time is 0 minutes gross duration, never a full 24-hour day.