How to Calculate Shift Duration Using Military Time

Calculate shift hours by subtracting the start time from the end time, accounting for overnight shifts, and deducting unpaid breaks. Then convert your final working time into decimal hours if your timesheet requires it.

Calculate Shift Hours Quickly

To calculate work hours using military-time, find the elapsed time between your start and end times, account for any shift that crosses midnight, and subtract unpaid breaks.

For example, a shift from 0730 to 1600 lasts 8 hours 30 minutes. If you take a 30-minute unpaid break, your net working time is 8 hours, or 8.00 decimal hours.

Day shift: 0800 to 1630 = 8 hours 30 minutes before breaks.
Night shift: 2200 to 0600 = 8 hours.
Shift with lunch: 0900 to 1730 minus 30 minutes = 8 hours.
Timesheet entry: 7 hours 45 minutes = 7.75 decimal hours.

Start by checking that your clock-in and clock-out times are in the correct 24-hour format. This makes the duration easier to calculate, especially when your shift ends on the following day.

Convert your clock times before calculating shift hours.

Use the Military-Time Converter to check standard AM/PM times and convert them to 24-hour format.

Open the Military-Time Converter →

Need more help with timekeeping for different work schedules?

Military-Time for Shift Workers Guide →

Military-Time Shift Calculator – Calculate Work Hours Step by Step

Follow these steps to calculate the hours worked between two military-times without confusing hours, minutes, or AM/PM.

1. Record Your Start Time and End Time

Write both times in four-digit military format. For example, 8:00 AM becomes 0800, while 5:00 PM becomes 1700.

Start: 0800
End: 1700

Keep the minutes in their correct positions and make sure both times belong to the intended shift.

2. Subtract the Start Time From the End Time

For a shift from 0800 to 1700, the total elapsed time is 9 hours.

1700 − 0800 = 9 hours

This is the total shift duration before deducting any unpaid breaks.

3. Adjust for Overnight Shifts

If your shift ends the following morning, add 24 hours to the end time before subtracting the start time.

2200 to 0600 next day
30:00 − 22:00 = 8 hours

A shift from 2200 to 0600 the next day lasts 8 hours before breaks.

4. Subtract Unpaid Breaks

Deduct your unpaid lunch or rest break where applicable. A 9-hour shift with a 30-minute unpaid break gives you 8.5 hours of paid working time.

9 hours − 0.5 hours = 8.5 hours

Only deduct breaks according to your workplace’s timekeeping policy and applicable employment rules.

Military-Time Shift Duration Formula

Use this formula to calculate total working hours:

Hours worked = End time − Start time − Unpaid breaks

For overnight shifts, add 24 hours to the end time before subtracting the start time. This accounts for the fact that the shift continues into the next calendar day.

Calculate the difference using hours and minutes rather than treating the entire military-time number as a decimal.

Example: 0900 to 1745

17:45 − 09:00 = 8 hours 45 minutes

The elapsed duration is 8 hours 45 minutes, not 8.45 hours.

Convert the final duration into decimal hours only after calculating the time difference.

Need help reading and writing military-time entries correctly?

How to Write Military-Time Correctly →

Military-Time Shift Duration Examples

These examples cover common work schedules, including regular shifts, evening work, overnight shifts, and shifts with unpaid breaks.

Start TimeEnd TimeBreakTotal Hours Worked
08001600None8 hours
0730160030 min8 hours
0900173030 min8 hours
0600143030 min8 hours
14002200None8 hours
22000600 next dayNone8 hours
19000700 next day60 min11 hours
23000730 next day30 min8 hours

These totals assume the listed break is unpaid and the shift follows the stated start and end times. For shifts crossing midnight, the end time belongs to the next calendar day.

Need to check the final minute of a day or understand a late-night time entry?

What Does 2359 Mean in Military-Time? →

How to Calculate Overnight Shift Hours in Military-Time

An overnight shift can be confusing because the ending time is numerically smaller than the starting time. The key is to recognize that the shift continues into the next calendar day.

Suppose you start work at 10:00 PM and finish at 6:30 AM.

Start time: 2200
End time: 0630 the next day
Adjust the end time: 0630 + 24 hours = 30:30
Subtract the start time: 30:30 − 22:00 = 8 hours 30 minutes
8 hours 30 minutes − 30-minute break
= 8 hours net working time

Your total shift duration is 8 hours 30 minutes before breaks. If you take a 30-minute unpaid break, your net working time is 8 hours.

Other common overnight shift calculations include:

2100 to 0500 = 8 hours.
2300 to 0700 = 8 hours.
1800 to 0600 = 12 hours.
2330 to 0800 = 8 hours 30 minutes.

If you regularly work night shifts, verify your start and end times before recording the total on your timesheet.

Learn a dedicated method for shifts that run across midnight.

Calculate Overnight Shifts Using Military-Time →

How to Subtract Breaks From Military-Time Shift Hours

How to Calculate Shift Duration Using Military Time

Your shift length and your actual working time may be different. The difference depends on whether your breaks are paid or unpaid and on the rules that apply to your workplace.

Use this calculation:

Net working time = Total shift duration − Unpaid break duration

Example: 0830 to 1730 With a 45-Minute Break

A shift starts at 0830 and ends at 1730, with a 45-minute unpaid lunch break.

1. Total shift duration: 9 hours.
2. Unpaid break: 45 minutes.
3. Net working time: 8 hours 15 minutes.
4. Decimal hours: 8.25.
9:00 − 0:45 = 8:15
8 hours 15 minutes = 8.25 hours

The final timesheet entry is 8.25 hours, assuming the entire 45-minute break is unpaid.

Do not automatically subtract every break. Follow your employer’s timekeeping policy and the applicable employment rules.

Use these related guides to improve your military-time calculations and timesheet accuracy.

Military-Time for Shift Workers →

How to Convert Military-Time Shift Hours to Decimal Hours

Many timesheets and payroll systems require decimal hours instead of a format such as 8 hours 30 minutes. To convert your calculated shift duration, divide the remaining minutes by 60 and add the result to the whole hours.

Use this formula:

Decimal hours = Hours + (Minutes ÷ 60)

Use this quick reference when entering shift durations into a timesheet.

Hours and MinutesDecimal Hours
4 hours 15 minutes4.25
6 hours 30 minutes6.50
7 hours 15 minutes7.25
7 hours 30 minutes7.50
7 hours 45 minutes7.75
8 hours 15 minutes8.25
8 hours 30 minutes8.50
8 hours 45 minutes8.75
10 hours 30 minutes10.50

Why 7 Hours 30 Minutes Equals 7.50

Divide 30 minutes by 60 to get 0.5, then add 7 hours.

7 + (30 ÷ 60) = 7.50

Do not enter 7 hours 30 minutes as 7.30 decimal hours. Minutes are based on 60 minutes per hour, while decimal hours represent a fraction of an hour.

If you need to convert AM/PM entries before recording a shift, check the time format first and then calculate the duration.

Explore Military Time Examples From 0000 to 2359

Use the complete military time conversion chart to check hours, minutes, and AM/PM equivalents.

Military Time Examples Guide →

How to Calculate Total Hours Worked for a Timesheet

If you work different shifts throughout the week, calculate the net hours for each shift first, then add the results together. Keep the daily totals in hours and minutes until you are ready to convert them to decimal hours.

For example, consider this three-day schedule:

DayShiftUnpaid BreakNet Time
Monday0800–163030 min8 hours
Tuesday0900–173030 min8 hours
Wednesday2200–0600None8 hours
TotalThree shifts24 hours
8 + 8 + 8 = 24 working hours

Your total for these three shifts is 24 working hours.

For a full weekly timesheet, use the same method for each day, making sure you record overnight shifts against the correct work dates. If your payroll system tracks overtime, apply the relevant overtime rules separately rather than assuming every hour beyond a daily shift is automatically overtime.

Working with multiple clock-in and clock-out entries?

Military-Time for Timesheets – Calculate Work Hours →

Common Mistakes When Calculating Shift Duration Using Military-Time

Small timekeeping errors can create incorrect timesheet totals. Check these points before submitting your work hours.

1. Forgetting Midnight

A shift from 2200 to 0600 lasts 8 hours, not a negative duration.

2200 to 0600 next day = 8 hours

2. Confusing Military-Time With Decimal Time

1530 means 3:30 PM, not 15.30 decimal hours.

1530 = 3:30 PM

3. Subtracting Minutes Incorrectly

When the end minutes are smaller than the start minutes, borrow 60 minutes from the hour column.

Example: 1700 − 0845
= 8 hours 15 minutes

4. Deducting Paid Breaks Automatically

Only subtract breaks according to the relevant pay and workplace rules.

5. Entering Minutes as Decimal Digits

Eight hours and 45 minutes is 8.75 hours, not 8.45.

8 + (45 ÷ 60) = 8.75

6. Ignoring the Next Workday

Record shifts crossing midnight with the appropriate dates, especially when reviewing payroll records.

For an easier conversion process, verify your clock times before working out the shift duration.

Need to understand how military-times are spoken when communicating a shift schedule?

How to Say Military-Time Out Loud →

Frequently Asked Questions

How do you calculate hours between two military-times?

Subtract the start time from the end time. If the shift crosses midnight, add 24 hours to the end time first. Then deduct any unpaid breaks. For example, 0800 to 1630 is 8 hours 30 minutes, or 8 hours after a 30-minute unpaid break.

How do you calculate an 8-hour shift in military-time?

Add 8 hours to your starting time. A shift beginning at 0700 ends at 1500, while a shift beginning at 1400 ends at 2200, assuming no unpaid break needs to be added to the scheduled duration.

How do you calculate a 12-hour shift using military-time?

Add 12 hours to the starting time, accounting for midnight if necessary. For example, a shift starting at 1800 ends at 0600 the next day. If you have a 30-minute unpaid break, the net working time is 11 hours 30 minutes.

How do you calculate hours worked from 0700 to 1530?

The duration from 0700 to 1530 is 8 hours 30 minutes. With a 30-minute unpaid break, the net working time is 8 hours, equivalent to 8.00 decimal hours.

How do you calculate work hours from 2300 to 0700?

The shift runs from 11:00 PM to 7:00 AM the following day. It lasts 8 hours before any unpaid breaks are deducted.

What is 7 hours and 45 minutes in decimal time?

Seven hours and 45 minutes equals 7.75 decimal hours. Divide 45 by 60 to get 0.75, then add 7.

Can military-time be used for employee timesheets?

Yes. Military-time can help keep clock-in and clock-out records consistent, particularly for night shifts, hospitals, security teams, transport services, and other workplaces operating around the clock. Follow your organization’s required time-entry format.

What is the easiest way to calculate shift hours without making mistakes?

Record the start and end times in 24-hour format, calculate the elapsed duration, account for overnight shifts, and subtract applicable unpaid breaks. Then convert the result to decimal hours if your timesheet requires it. The Military-Time Converter can help you verify the time format before calculating.

Calculate Military-Time Accurately With Calculator Online Pro

Accurate shift calculations help employees, managers, and payroll teams maintain consistent work-hour records. Whether you are checking a standard daytime shift, calculating overnight hours, or preparing a weekly timesheet, the process becomes easier when you use the correct time format and handle breaks consistently.

Before calculating your total hours, make sure your start and end times are correct. Work out the elapsed time, adjust for shifts that cross midnight, and subtract unpaid breaks where applicable.

Military-Time Converter

Convert AM/PM time to 24-hour time and verify your shift entries before calculating work hours.

Time Converter →

© 2026 Calculator Online Pro
Expert Guides for Chronology, Mathematics, and Data Logic.

Leave a Comment

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

Scroll to Top