Step by step
- Open the second part of the calculator (Hours between two times) above.
- Enter your start time in 24-hour format, such as 22:00.
- Enter your end time from the next morning, such as 06:00.
- Add your break length if applicable; the calculator automatically counts the end time as the next day.
At a glance
| Shift example | Break | Time worked |
|---|---|---|
| 22:00 to 06:00 | 0:00 | 8:00 |
| 21:30 to 05:30 | 0:30 | 7:30 |
| 23:00 to 07:30 | 1:00 | 7:30 |
Related questions
How does the calculator know a shift goes past midnight?
Whenever the end time is earlier than the start time, such as 22:00 to 06:00, the calculator automatically treats the end time as the following day.
Should I use 24-hour military time for overnight shifts?
Yes, 24-hour format avoids AM and PM confusion. For example, enter 22:00 for 10:00 PM and 06:00 for 6:00 AM.
Can I subtract an unpaid meal break from a night shift?
Yes. Enter the break duration in hours and minutes in the Break field, and it will be deducted from the total time worked.
More questions: hours calculator
- How to Calculate Hours Worked With a Lunch Break
- How to Convert Minutes to Decimal Hours
- How to Add and Subtract Hours and Minutes
- How to Calculate Pay From Hours Worked
- How to Calculate Weekly Hours Worked
- What Is an Hours Bank Arrangement and How to Calculate It
- How to Calculate Hours and Minutes in Excel
Open the full hours calculator →
Updated November 14, 2026.