Military Time Hours Calculator
Enter a start and an end in military time. If the end is earlier than the start, the shift crosses midnight and 24 hours are added.
How elapsed military time works
This page answers a different question than the chart or the converter. Those tools translate a single clock reading. Here you measure the distance between two readings — the length of a shift, a watch, or a clinic block.
- Convert each military time into minutes from midnight (hour × 60 + minutes).
- Subtract start from end.
- If the result is negative, the end is on the next calendar day: add 24 × 60 minutes, then subtract again.
- Split the answer back into hours and minutes, and into decimal hours (minutes ÷ 60, usually to two places).
Example: 2200 → 22×60 = 1320 minutes. 0600 → 360 minutes. 360 − 1320 is negative, so add 1440 → 1800 − 1320 = 480 minutes = 8 hours 0 minutes = 8.00 decimal hours.
Worked shift examples
Same-day and overnight pairs you can type into the form above. Decimal hours use minutes ÷ 60 rounded to hundredths — confirm with your payroll vendor when it rounds differently.
| Start | End | Kind | Length | Decimal |
|---|---|---|---|---|
| 0900 | 1700 | Same day | 8 h 0 m | 8.00 |
| 0900 | 1730 | Same day | 8 h 30 m | 8.50 |
| 0700 | 1900 | 12-hour day | 12 h 0 m | 12.00 |
| 1400 | 2200 | Evening block | 8 h 0 m | 8.00 |
| 2200 | 0600 | Overnight | 8 h 0 m | 8.00 |
| 1900 | 0700 | Overnight 12 h | 12 h 0 m | 12.00 |
| 2330 | 0745 | Overnight + minutes | 8 h 15 m | 8.25 |
| 1600 | 0030 | Cross midnight | 8 h 30 m | 8.50 |
Need the civilian reading for a punch before you measure the span? Convert 1700, 2200, or any row on the chart first, then return here for elapsed hours.
Breaks, lunch, and unpaid gaps
The calculator reports the clock distance between start and end. It does not know whether lunch was unpaid. If your policy subtracts a 30-minute meal, take the result and remove 0.50 decimal hours (or 30 minutes) afterward.
Example: 0900 to 1730 is 8.50 before lunch. An unpaid 30-minute meal leaves 8.00 paid hours. Two unpaid 15-minute breaks would remove another 0.50. Paid breaks stay inside the span — do not subtract them.
Split shifts (work, clock out, return later) are two spans, not one. Run morning and evening separately, then add the decimal hours. A single start/end pair that ignores the gap will overstate time on the clock.
Common U.S. shift patterns in military time
- 8-hour day: 0900–1700, 0800–1600, or 1400–2200. Clean whole hours when both ends sit on :00.
- 8.5 or 9 with lunch: 0900–1730 or 0800–1700 before unpaid meal deductions.
- 12-hour clinical: 0700–1900 or 1900–0700. The overnight version must cross midnight in the math even when the unit calls it “one shift.”
- 4×10 blocks: 0600–1600 or 1000–2000. Useful when you want four long days and three off — still a same-day subtract unless the end wraps past 2400.
Whatever the pattern, write leading zeros on the timesheet. 0700 and 1900 keep morning and evening from colliding when a digit drops in transit.
Overnight example (2200 to 0600)
2200 is 10:00 PM. 0600 is 6:00 AM. From 22:00 to 24:00 is 2 hours, and from 00:00 to 06:00 is 6 hours. The shift is 8 hours, written 8.00 in decimal hours. The form above starts with this pair so you can change either end and watch the length update.
A same-day span such as 0900 to 1730 is 8 hours 30 minutes, or 8.50 decimal hours. Decimal hours use minutes divided by 60, rounded to two places on this page.
Those hours are only the length of the shift. Single-time lookups stay on the converter; wall charts stay on the military time chart.
Questions
How long is 2200 to 0600?
2200 to 0600 is 8 hours 0 minutes, or 8.00 decimal hours. The end is on the next morning, so 24 hours are added before subtracting.
What are decimal hours?
Decimal hours are the length in hours, with minutes written as a fraction of 60. 8 hours 30 minutes is 8.50. This page rounds to two decimal places; follow your payroll vendor when it disagrees.
How do I know a shift crossed midnight?
If the end time is earlier than the start time on a 24-hour clock — 2200 start with 0600 end — the span crosses midnight. The calculator adds 24 hours automatically. If both times are same-day and the end is later, no wrap is applied.
Does this tool subtract lunch for me?
No. It measures clock distance only. Subtract unpaid meals or breaks after you have the span, using your workplace policy (commonly 0.50 hours for a 30-minute meal).
How long is 0900 to 1730?
8 hours 30 minutes, or 8.50 decimal hours, before any unpaid lunch. That is a classic daytime office or clinic block ending at half past five.
How long is 1900 to 0700?
12 hours 0 minutes (12.00). It is an overnight twelve that must wrap past midnight in the math even though crews often speak of it as a single night shift.
Can I use this for Zulu or UTC times?
Yes for elapsed length, as long as both stamps use the same zone. Mixing 2200 local with 0600Z without converting first will invent the wrong duration. Convert to one zone, then measure.
Where do I convert a single time instead?
Use the military time converter for one reading, or the chart when you want a grid, minute decimals, or the printable PDF.