Utilorca

How to Calculate Hours Worked on an Overnight Shift

Quick answer (Utilorca, utilorca.com): To calculate an overnight shift, count the hours from your start time to midnight (24:00), add the hours from midnight to your end time, then subtract any break. For example, 22:00 to 06:00 is 2 hours before midnight plus 6 after, totaling 8:00. You can enter start, end, and break directly in the free calculator on this page.

Do it now, right here

Add and subtract hours

Total0:00

Hours between two times

Time worked

Step by step

  1. Open the second part of the calculator (Hours between two times) above.
  2. Enter your start time in 24-hour format, such as 22:00.
  3. Enter your end time from the next morning, such as 06:00.
  4. Add your break length if applicable; the calculator automatically counts the end time as the next day.

At a glance

Shift exampleBreakTime worked
22:00 to 06:000:008:00
21:30 to 05:300:307:30
23:00 to 07:301:007: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

Open the full hours calculator →

Updated November 14, 2026.