Need to calculate Overnight Duration in military-time? Calculator Online Pro makes it easier to work with military-times directly when a calculation starts in the evening and ends after midnight.
If a military-time calculation starts in the evening and ends after midnight, the calculation crosses into a new day. Calculator Online Pro makes these Overnight Duration calculations easier by helping you work with 24-hours times directly, without repeatedly converting between AM and PM.
Whether you are calculating a night shift, work schedule, duty period, travel duration, or time between two 24-hours times, the key is to account for midnight correctly.
Calculate Overnight Military-Time in Two Steps
For an overnight calculation, split the duration into two parts:
1. Calculate the time from the starting military-time until 2400.
2. Add the time from 0000 to the ending military-time.
Example: 2200 to 0600
Suppose a shift starts at 2200 and ends at 0600 the next day.
Step 1: 2200 to 2400
Step 2: 0000 to 0600
Total:
So, 2200 to 0600 = 8 hours.
How to Calculate Overnight Duration Without Converting to AM/PM
You do not need to change military-time into standard time first. Work directly with the 24-hour format.
For example:
2300 → 2400 = 1 hour
0000 → 0500 = 5 hours
Total = 6 hours
Therefore:
This approach is particularly useful when working with schedules that already use four-digit military-time.
Overnight Military-Time Examples

| Start | End | Overnight Duration |
|---|---|---|
| 2100 | 0500 | 8 hours |
| 2200 | 0600 | 8 hours |
| 2300 | 0700 | 8 hours |
| 1800 | 0600 | 12 hours |
| 2130 | 0530 | 8 hours |
| 2215 | 0510 | 6 hours 55 minutes |
| 2345 | 0615 | 6 hours 30 minutes |
These examples show why simply subtracting the ending time from the starting time can produce an incorrect result when the calculation crosses midnight.
Calculate Overnight Duration With Minutes
Overnight calculations become slightly more detailed when minutes are included, but the same method works.
Example: 2215 to 0510
From 2215 to 2400:
From 0000 to 0510:
Add them together:
So:
Calculate an Overnight Work Shift
Overnight shifts are one of the most common reasons people need to calculate military-time duration.
For example, an employee works from:
Break the calculation at midnight:
1900 to 0300 = 8 hours
This makes it easier to calculate total working hours without manually converting the schedule to AM/PM.
Use Calculator Online Pro for Overnight Duration Calculations
Manual overnight calculations can become confusing when your times include minutes or when several time periods need to be calculated.
The Calculator Online Pro Military-Time Converter provides a quick way to work with military-time values and supports accurate 24-hour time conversion. The site also provides related time tools, including Time Duration and Add Time calculators.
Why Use Our Military-Time Tools?
Common Overnight 24-hour Time Calculations
2000 to 0400
2000 → 2400 = 4 hours
0000 → 0400 = 4 hours
2300 to 0800
2300 → 2400 = 1 hour
0000 → 0800 = 8 hours
1730 to 0130
1730 → 2400 = 6 hours 30 minutes
0000 → 0130 = 1 hour 30 minutes
2340 to 0610
2340 → 2400 = 20 minutes
0000 → 0610 = 6 hours 10 minutes
A Quick Formula for Overnight 24-hour Time
When the ending time is earlier than the starting time, the calculation crosses midnight.
You can use:
For example:
This simple method works for both whole hours and calculations involving minutes.
When the End Time Is After the Start Time
Not every military-time calculation is overnight.
For example:
Because 1600 is later than 0800:
Likewise:
The midnight method is only necessary when the ending time falls on the following day.
0000 and 2400 in Overnight Calculations
Midnight can sometimes cause confusion.
For most calculations, using 2400 as the end of the first day and 0000 as the beginning of the next day makes the overnight calculation easier. Calculator Online Pro’s military-time reference also distinguishes 0000 as the start of a new day and 2400 as the end of a day.
Calculate Overnight Duration Faster
If you regularly calculate night shifts, duty periods, travel times, or schedules, you can avoid repeatedly doing the midnight split manually.
Use the Military-Time Converter when you need military-time conversions, or use the Time Duration Calculator when you need to determine the duration between times.
For related calculations, you can also use the Add Time Calculator.
Military-Time to Standard Time Guide
If you need to continue with military-time conversions, Calculator Online Pro provides a dedicated guide for converting military-time to standard time.
Standard Time to Military-Time Guide
You can also continue with the guide for converting standard time into military-time when you need to work with the 24-hour format.
Military-Time vs 24-Hour Time Guide
Continue with the related Calculator Online Pro guide when you want to explore military -time and 24-hour time together.
How to Subtract Military-Time
When you need to work with military-time subtraction, Calculator Online Pro also provides a dedicated guide for the calculation process.
Frequently Asked Questions About Overnight Military-Time
How do I Overnight Military-Time Calculation?
If the end time is earlier than the start time, the calculation crosses midnight. Calculate the time from the start to 2400, then add the time from 0000 to the ending time.
How many hours are between 2200 and 0600?
There are 8 hours between 2200 and 0600.
How many hours are between 2300 and 0500?
There are 6 hours between 2300 and 0500.
How do I calculate 1900 to 0300?
Calculate 1900 to 2400 as 5 hours, then 0000 to 0300 as 3 hours. The total is 8 hours.
Can I calculate Overnight Duration without converting military-time to AM/PM?
Yes. You can calculate directly using the 24-hour military-time format by splitting the calculation at midnight.
What if my overnight calculation includes minutes?
Use the same method. Calculate the first portion up to midnight, calculate the second portion after midnight, and then add the hours and minutes together.
Related Military-Time Guides
Continue with these practical guides from Calculator Online Pro:
Calculate Military-Time With Less Manual Work
For a quick and convenient way to work with 24-hour time, use the Calculator Online Pro Military-Time Converter and related time-calculation tools.
They help you handle conversions and time calculations without relying on manual AM/PM conversions.
Ready to calculate military-time?
Use the Calculator Online Pro Military-Time Converter for quick 24-hour time calculations.
