Sum the hours from a list of shifts (start and end times).
Shift Duration Calculator
Find hours worked from a start and end time, handling overnight shifts and an optional break.
- Free
- No sign-up
- Runs in your browser
Input
A clock time, H:MM (24-hour).
A clock time, H:MM (24-hour).
Unpaid break to subtract, in minutes.
Fill in Start time and End time to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter the start and end clock times and any unpaid break.
- 2
If the end is at or before the start, the shift is treated as crossing midnight.
Questions about Shift Duration Calculator
Does it handle overnight shifts?
Yes. If the end time is at or before the start, it adds 24 hours, so a 22:00–06:00 shift is eight hours.
Is anything sent anywhere?
No. The calculation runs entirely in your browser; your dates never leave the page.
Does the Shift Duration Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Shift Duration Calculator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Shift Duration Calculator uploaded or stored?
No. The Shift Duration Calculator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Shift Duration Calculator on a phone or tablet?
Yes. The page is responsive, so the Shift Duration Calculator works the same in a mobile browser as on a desktop, and there is no app to install.
Related tools
Other tools you might reach for next.
Split total hours into regular and overtime against a threshold.
Find an age in years, months and days from a date of birth to a given date.
Find the difference between two dates in years, months and days, and the total days.
Count the number of days between two dates.
Count the business days (Monday–Friday) between two dates, inclusive.
Add a number of days to a date and get the resulting date and weekday.
Subtract a number of days from a date and get the resulting date and weekday.