Night shifts break naive time math: subtract a start time from an earlier-looking end time and you get a negative number instead of a duration. Our new Time Duration Calculator handles that case correctly, automatically.
- Overnight-aware — enter a start of
22:00and an end of06:00and you get8:00, not-16:00. When the end time crosses into the next day, a “Crosses midnight” note appears so it’s never a silent assumption. - Decimal hours included — timesheets and payroll tools usually
want
8.5rather than8:30. Both figures come from the same calculation, shown side by side. - Total minutes, too — for anyone who needs the raw number rather than a formatted duration.
- Instant, live updates — change either time field and the result recalculates immediately, no button to click.
- Private by default — the math runs entirely in your browser; nothing you enter is sent anywhere.
Try a same-day shift like 09:15 to 17:45 (8 hours 30 minutes, or
8.5 decimal hours) or an overnight one like 22:00 to 06:00 (8
hours, crossing midnight) and watch both figures update instantly.