How to Calculate Overnight Shifts in Military Time

An overnight shift becomes much easier to calculate once you treat the clock-out time as belonging to the next day.

For example:

2200 → 0600 = 8 hours

You do not subtract 06:00 - 22:00 as if both times occurred on the same day. Instead, count from 2200 to midnight, then from midnight to 0600:

  • 2200 → 0000 = 2 hours
  • 0000 → 0600 = 6 hours
  • Total = 8 hours

If you have an overnight shift to check right now, use the Time Duration Calculator to calculate the elapsed time quickly.

How to Work Out Overnight Hours in Military-Time

The simplest formula is:

Overnight shift hours = time from start to midnight + time from midnight to end

Then subtract any unpaid break.

Example: 2200 to 0600

Start: 2200

End: 0600

From 2200 to 0000:

2 hours

From 0000 to 0600:

6 hours

Therefore:

2 + 6 = 8 hours

So a 2200–0600 military-time shift is 8 hours before any break deduction.

Quick Overnight Shift Hours Chart

StartEndTotal Shift
180002008 hours
190003008 hours
200004008 hours
210005008 hours
220006008 hours
230007008 hours
1800060012 hours
1900070012 hours
2000080012 hours
220006308 hours 30 minutes

This gives you a quick way to check common night shift hours, third-shift schedules, and overnight work hours.

The Fastest Rule for Overnight Work Hours

How to Calculate Overnight Shifts in Military Time

There is one rule that solves most cross-midnight calculations:

If the end time is earlier than the start time, treat the end time as occurring on the following day.

For example:

Start: 2130

End: 0530

Because 0530 is earlier than 2130, the shift crosses midnight.

2130 → 0000 = 2 hours 30 minutes

0000 → 0530 = 5 hours 30 minutes

Total = 8 hours

This approach works for night shifts regardless of whether they last 4, 8, 10, 12, or more hours.

Want to read military-time more confidently? Learn How to Say Military-Time Out Loud for practical pronunciation examples.

Calculate Overnight Shift Hours With the 24-Hour Method

You can also calculate the shift by adding 24 hours to the next-day clock-out time.

2200 to 0600

0600 + 24 hours = 3000

3000 − 2200 = 800

So the shift is:

8 hours

2130 to 0530

0530 + 24 hours = 2930

2930 − 2130 = 800

Result:

8 hours

This method is especially useful when you’re working with a timesheet or repeatedly calculating employee shift durations.

How to Work Out Overnight Hours With Breaks

First calculate the complete shift duration. Then subtract only the break time that should not be included in the working hours.

Example: 2200–0600 With a 30-Minute Break

Total elapsed shift:

8 hours

Unpaid break:

30 minutes

Worked time:

8 hours − 30 minutes = 7 hours 30 minutes

So:

2200–0600 with a 30-minute unpaid break = 7.5 working hours

Do not automatically subtract every break. Whether a break counts as working time depends on the applicable workplace policy or employment rules.

More Overnight Shift Examples

2000 to 0500

2000 → 0000 = 4 hours

0000 → 0500 = 5 hours

Total = 9 hours

2100 to 0630

2100 → 0000 = 3 hours

0000 → 0630 = 6 hours 30 minutes

Total = 9 hours 30 minutes

2230 to 0615

2230 → 0000 = 1 hour 30 minutes

0000 → 0615 = 6 hours 15 minutes

Total = 7 hours 45 minutes

2330 to 0045

2330 → 0000 = 30 minutes

0000 → 0045 = 45 minutes

Total = 1 hour 15 minutes

Even a shift that crosses midnight by only a few minutes follows the same calculation method.

How to Calculate a 12-Hour Overnight Shift

A common night shift is 1900 to 0700.

Calculate the two parts:

1900 → 0000 = 5 hours

0000 → 0700 = 7 hours

Total = 12 hours

So:

1900–0700 = 12-hour overnight shift

Other common 12-hour schedules include:

  • 1800–0600
  • 1900–0700
  • 2000–0800

If you have a different start and finish time, enter them into the Time Duration Calculator rather than manually counting each hour.

How to Calculate Night Shift Hours With a 30-Minute Break

Suppose your shift is:

1900–0700

Total elapsed time:

12 hours

Break:

30 minutes

Working time:

11 hours 30 minutes

For decimal timesheets:

11 hours 30 minutes = 11.50 hours

This is important because 11:30 and 11.30 are not the same thing when recording decimal hours.

Need help writing 24-hour times correctly? Read the Military-Time Writing Guide for additional examples and formatting guidance.

Convert Overnight Shift Hours to Decimal Hours

Payroll and timesheet systems often require decimal hours instead of hours and minutes.

Use:

Decimal hours = whole hours + (minutes ÷ 60)

Common conversions

Time WorkedDecimal Hours
8 hours8.00
8 hours 15 minutes8.25
8 hours 30 minutes8.50
8 hours 45 minutes8.75
9 hours 15 minutes9.25
9 hours 30 minutes9.50
10 hours 30 minutes10.50
11 hours 45 minutes11.75

7 hours 30 minutes

30 ÷ 60 = 0.50

Therefore:

7.50 decimal hours

You can use a Time to Decimal Calculator when you need to convert your shift result for payroll or a timesheet.

Need payroll-ready decimal hours?

Convert hours and minutes into decimal time quickly without manual calculations.

Convert to Decimal

How to Calculate Overnight Hours for a Timesheet

If you’re entering a night shift into a timesheet, keep these three figures separate:

1. Clock-in time
2. Clock-out time
3. Unpaid break

For example:

Timesheet EntryValue
Clock in2200
Clock out0630
Total elapsed8 hr 30 min
Unpaid break30 min
Hours worked8 hr
Decimal hours8.00

This makes it much easier to verify the final number before submitting a timesheet.

How to Calculate Weekly Overnight Shift Hours

If you work several overnight hours, calculate each shift separately before adding the weekly total.

Example

DayShiftWorked Time
Monday2200–06008 hours
Tuesday2200–06008 hours
Wednesday2200–06308.5 hours
Thursday2100–05008 hours
Friday2200–06008 hours
Weekly total = 40.5 hours

The safest approach is to calculate each shift first and then add the completed durations. This prevents accidentally subtracting or adding midnight more than once.

For combining separate time values, the Add Time Calculator can also save manual work.

How to Convert AM/PM Overnight hours to Military-Time

If your schedule is written in standard AM/PM time, convert it to 24-hour format before calculating.

Standard-TimeMilitary-Time
6:00 PM1800
7:00 PM1900
8:00 PM2000
9:00 PM2100
10:00 PM2200
11:00 PM2300
12:00 AM0000
1:00 AM0100
2:00 AM0200
4:00 AM0400
6:00 AM0600
7:00 AM0700
8:00 AM0800

For example:

10:00 PM–6:00 AM

↓

2200–0600

Your Military-Time Converter can handle the conversion when you don’t want to convert each time manually. Calculator Online Pro’s converter also includes common 24-hour clock conversions such as 0000 for midnight, 1200 for noon, and 1830 for 6:30 PM.

Need a reliable reference for formatting 24-hour times? Learn How to Write Military-Time Correctly with practical time examples.

Common Overnight Shift Calculation Mistakes

Subtracting the Clock Times Directly

A calculation such as:

0600 − 2200

doesn’t represent the actual shift because 0600 occurs on the following day.

Instead:

0600 + 2400 − 2200 = 0800

Result: 8 hours

Forgetting the Break

A 2200–0600 shift is 8 hours elapsed.

If there is a 30-minute unpaid break:

8:00 − 0:30 = 7:30

Do not report the full 8 hours as worked time if that break should be excluded.

Treating Decimal Hours Like Clock Minutes

This is another common timesheet error.

8 hours 30 minutes = 8.50 hours

It is not 8.30 hours.

Minutes are based on 60, so:

30 ÷ 60 = 0.50

Converting the Wrong Midnight

Remember:

0000 = midnight at the beginning of the new day

For example:

2300 → 0000 = 1 hour

not zero hours.

Calculator Online Pro’s military-time reference uses 0000 for 12:00 AM/midnight and distinguishes it from 2400, which is sometimes used to describe the end of a day.

Working with different shift patterns? Read Military-Time for Shift Workers for practical shift-hour and schedule examples.

How to Work Out Overnight Hours in Excel

If you’re managing employee timesheets, the same overnight principle can be applied in spreadsheet calculations.

For a basic start time in cell A2 and end time in B2, a common Excel approach is:

=MOD(B2-A2,1)

This allows the calculation to wrap past midnight instead of producing a negative duration.

If you also have an unpaid break, subtract the break duration from the calculated shift time.

For example, if the break is stored as a time value in C2:

=MOD(B2-A2,1)-C2

Make sure the result cell is formatted as a time duration or converted to decimal hours depending on how your timesheet is structured.

For everyday calculations, however, an online calculator is usually faster than building or maintaining a spreadsheet formula.

Calculate Overnight Shift Hours Without Manual Math

If you’re repeatedly checking night shift hours, third-shift hours, overnight work hours, or hours worked across midnight, Calculator Online Pro gives you several useful tools in one place.

Use the Right Calculator for the Task

Need the duration between clock-in and clock-out?
Use the Time Duration Calculator .
Need to convert AM/PM into military-time?
Use the Military-Time Converter .
Need decimal hours for payroll or timesheets?
Use the Time to Decimal Calculator .
Need to combine multiple shift durations?
Use the Add Time Calculator .
Convert → Calculate → Deduct breaks → Convert to decimal → Add shifts

Need to understand the final minute before midnight? See What 2359 Means in Military-Time and how it relates to the end of a day.

Overnight Shift Hours: Quick Reference

Overnight ShiftElapsed HoursWith 30-Minute Unpaid Break
1800–02008:007:30
1900–03008:007:30
2000–04008:007:30
2100–05008:007:30
2200–06008:007:30
2300–07008:007:30
1900–070012:0011:30
2000–080012:0011:30
2200–06308:308:00

Need to plan regular shifts around military-time? Learn How to Calculate Military-Time for Work Schedules with practical scheduling examples.

Frequently Asked Questions

How do I calculate an overnight shift in military-time?

If the end time is earlier than the start time, treat the end as occurring the next day. Calculate the time from the start to midnight, add the time from midnight to the end, and subtract any unpaid break.

How many hours is 2200 to 0600?

2200 to 0600 is 8 hours.

There are 2 hours from 2200 to midnight and 6 hours from midnight to 0600.

How many hours is 1900 to 0700?

1900 to 0700 is 12 hours.

Five hours occur before midnight and seven hours occur after midnight.

How do I calculate a 10 PM to 6 AM shift?

Convert the times to military-time:

10 PM = 2200
6 AM = 0600

Then calculate across midnight:

2200–0000 = 2 hours

0000–0600 = 6 hours

Total = 8 hours

How do you calculate overnight hours with a break?

First calculate the full elapsed shift. Then subtract the unpaid break.

For example:

2200–0600 = 8 hours

Less 30-minute unpaid break

= 7 hours 30 minutes

What is 8 hours 30 minutes in decimal time?

8 hours 30 minutes = 8.50 decimal hours.

Divide 30 minutes by 60 and add the result to 8.

What is 7 hours 45 minutes in decimal hours?

7 hours 45 minutes = 7.75 decimal hours.

Forty-five minutes equals 45 ÷ 60 = 0.75.

What happens when a shift ends at 0000?

The shift ends exactly at midnight. For example:

1600–0000 = 8 hours

The 0000 represents the beginning of the following calendar day.

Can I work out overnight hours without converting to military-time?

Yes. You can calculate an AM/PM shift directly, but converting it to 24-hour time often makes the midnight transition easier to see and reduces AM/PM confusion.

Calculate Your Overnight Shift Now

Don’t manually count across midnight every time you need to check a night shift.

Enter your start and end times into the Time Duration Calculator, convert times with the Military-Time Converter, and turn your final result into payroll-ready decimal hours with the Time to Decimal Calculator.

2200–0600 = 8 hours

8:00 − 0:30 unpaid break = 7:30

Calculate Your Overnight Shift

Get the elapsed time across midnight without manually counting every hour.

Calculate Shift Hours

For a shift such as 2200–0600, the answer is 8 hours. For a 30-minute unpaid break, it’s 7 hours 30 minutes. Let Calculator Online Pro handle the time maths so you can get back to your schedule.

Calculator Online Pro

Practical online calculators and helpful guides for everyday time, date, age, and calculation needs.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top