Same-day vs overnight clock spans#
When both times sit on the same calendar day and the end is later than the start — 09:00 to 17:00 — the duration is simply the difference on a 24-hour clock. Night shifts reverse that order: 22:00 to 06:00 crosses midnight, so a naive end-minus-start would go negative. This calculator detects that case and adds a full day before subtracting, which matches how a night nurse or warehouse worker actually counts the shift. Identical start and end times resolve to zero rather than a full day, so you do not get a surprising 24-hour answer from leaving both fields on the same value.
Why unpaid breaks are subtracted in minutes#
Payroll and timesheet tools often need “hours worked” after removing a lunch or unpaid rest. Expressing that break as whole minutes (30, 45, 60) keeps the input unambiguous and matches how most schedules write it. The break is subtracted from the clock span only; if you enter a break longer than the span, the tool errors instead of inventing a negative work day. That keeps the “with breaks” use case honest for people searching for a time duration calculator that handles unpaid lunch without forcing a second manual subtraction.
Adding and subtracting hours and minutes#
Project estimates, meeting stacks, and timesheet corrections are often lists of small durations — 1h 30m plus 45m minus 15m — not a single start/end pair. The add/subtract mode lets each row carry its own hours, minutes (0–59), and sign so you can build a running total without converting everything to decimal hours first. Negative totals are allowed when subtracted rows outweigh added ones; the HH:MM line shows a leading minus so the signed result stays readable next to the decimal-hours figure.
Decimal hours vs HH:MM — two common formats#
Billing systems and spreadsheets often want decimal hours (1.25 for an hour and fifteen minutes), while timesheets and shift boards prefer HH:MM (01:15). Both answer the same duration; converting by hand is a frequent source of off-by-a-few-minutes errors. Showing hours, leftover minutes, decimal hours, and HH:MM together means you can copy whichever format your destination needs without a second tool. Multi-day date-time spans can exceed 24 hours in the HH:MM field (for example 26:30), which is intentional — it is a duration clock, not a time-of-day.