Overnight shift hours calculator
Calculate an overnight shift of less than 24 hours with an unpaid break. Equal start and end times mean zero hours.
Input
How to use this tool
- Enter your values or choose a local file. Replace the example data with your own.
- Review options, units and assumptions, then run the tool.
- Check the result before copying or downloading it. Keep an original copy of important files.
Method & assumptions
Calculate an overnight shift of less than 24 hours with an unpaid break. Equal start and end times mean zero hours.
((end − start + 1440) mod 1440 − break) ÷ 60Worked example
21:00 → 09:00; 30 min → 11.5 h
Limits & important notes
Dates use UTC calendar arithmetic. Weekdays exclude Saturdays and Sundays only, not holidays. Date ranges exclude the end date. Shift hours do not adjust for daylight-saving changes.
Content updated:
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
Useful next steps
Date difference calculator
Count elapsed calendar days and equivalent weeks between two dates, excluding the end date.
Date & timeAge calculator
Calculate completed years, months and days at a reference date. Month-end anniversaries clamp to the last valid day.
Date & timeAdd or subtract days
Move a calendar date forward or backward by a whole number of days.
Date & time