Time card · overnight shifts · overtime · decimal hours

Military Time Hours CalculatorMilitary Time Card Calculator with Overtime & Decimal Hours

To total hours in military time, subtract the start from the end time (borrowing 60 minutes when needed), add 24 hours for overnight shifts, then subtract unpaid breaks. This calculator does it for a full week, splits regular and overtime hours, converts to decimal hours for payroll and can add or subtract time.

Overtime follows the U.S. Department of Labor FLSA overtime rule; rounding notes follow 29 CFR 785.48.

Manzoor Ahmad, developer of the Military Time Hours Calculator
Built and tested by Manzoor AhmadCalculator developer · Last reviewed October 30, 2026
7 daysWeekly time card
1.5×Overtime after 40 hrs
÷60Minutes to decimal
+24hOvernight shifts

Military time hours calculator

Enter times like 0700 or 07:00. Overnight shifts are handled for you.

DayTime inTime outBreak (min)Hours
Mon–
Tue–
Wed–
Thu–
Fri–
Sat–
Sun–

Total hours this week

0:00

0.00 decimal hours

Σ

How to calculate hours worked in military time

To find hours worked in military time, subtract the start time from the end time, borrowing 60 minutes from the hour when needed, then subtract unpaid breaks. For an overnight shift, add 2400 to the end time first. Example: 0645 to 1530 is 15:30 − 6:45 = 8 hours 45 minutes; minus a 30-minute break gives 8:15, or 8.25 decimal hours.

  1. Write both times as four digitsUse the military time converter if your clock shows AM and PM. 6:45 AM is 0645 and 3:30 PM is 1530.
  2. Handle overnight shiftsIf the end time is smaller than the start (in at 2200, out at 0630), add 24 hours to the end time: 0630 becomes 3030.
  3. Subtract, borrowing 60 minutesWhen the end minutes are smaller, borrow one hour: 15:30 − 6:45 becomes 14:90 − 6:45 = 8:45.
  4. Remove breaks and convertSubtract unpaid break minutes, then divide leftover minutes by 60 for decimal hours: 8:15 = 8 + 15/60 = 8.25.

The formula

minutes = (end_h×60 + end_m) − (start_h×60 + start_m) if minutes < 0: minutes = minutes + 1440 (overnight) worked = minutes − break_minutes decimal hours = worked ÷ 60

Overtime: under the federal Fair Labor Standards Act, non-exempt employees earn at least 1.5 times their regular rate for hours over 40 in a workweek. The calculator applies that weekly rule; some states (for example California) also use daily overtime.

Worked examples

Shift (military time)Hours workedDecimal hours
0645 → 1530, 30-min break8:45 − 0:30 = 8:158.25
0800 → 1700, 60-min break9:00 − 1:00 = 8:008.00
1900 → 0730 (overnight), 45-min break12:30 − 0:45 = 11:4511.75
2200 → 0630 (overnight), 30-min break8:30 − 0:30 = 8:008.00
1215 → 1652, no break4:374.62

Rounding time cards to the quarter hour

Federal rules allow employers to round clock times to the nearest 5, 6 or 15 minutes as long as it averages out fairly over time (29 CFR 785.48). The common “7-minute rule” works like this:

Minutes past the hourQuarter-hour decimalRule
0 to 7 minutes.00Round down to the hour
8 to 22 minutes.25Quarter hour
23 to 37 minutes.50Half hour
38 to 52 minutes.75Three quarters
53 to 60 minutes.00Round up to next hour

Mistakes to avoid

Subtracting like decimals

1530 − 0645 is not 885. Minutes run to 60, not 100, so you must borrow an hour: the answer is 8:45.

Writing 8:45 as 8.45 hours

Forty-five minutes is 0.75 of an hour, so 8:45 equals 8.75 decimal hours. Paying 8.45 shorts the worker 18 minutes.

Negative overnight shifts

A night shift from 2200 to 0630 is 8.5 hours, not −15.5. The calculator adds a day automatically when out is earlier than in.

Forgetting unpaid breaks

Meal breaks of 30 minutes or more are usually unpaid. Short rest breaks (5 to 20 minutes) generally count as paid time under federal rules.

Keep going

Related military calculators

Military hubAll Military Calculators

Every pay, retirement, VA, PT test, ASVAB and time tool in one place, filtered by who you are.

Convert firstMilitary Time Converter

Turn AM/PM clock-in times into four-digit military time before you total them.

Annual payHourly to Salary Calculator

Turn the hourly rate from your time card into a yearly salary.

Take-homePaycheck Calculator

See what your gross pay looks like after federal and state taxes.

Zone shiftsZulu Time Converter

Working with UTC schedules? Convert Zulu time to your local zone.

Leave daysMilitary Leave Calculator

Service members: track the 2.5 days of leave earned each month.

Straight answers

Military Time Hours Calculator FAQ

Subtract the start time from the end time. If the end minutes are smaller, borrow 60 minutes from the hour. For example, 1530 − 0645: borrow an hour so 15:30 becomes 14:90, then 14:90 − 6:45 = 8:45, or 8.75 hours.

Add 24 hours to the end time before subtracting. In at 2200 and out at 0630: 0630 becomes 3030, and 30:30 − 22:00 = 8:30. The calculator does this automatically whenever the out time is earlier than the in time.

0700 to 1530 is 8 hours 30 minutes (8.5 hours). With a 30-minute unpaid lunch, it is 8 hours.

0800 to 1700 is 9 hours. Subtract a one-hour lunch and it is an 8-hour workday.

Divide the minutes by 60. 15 minutes is 0.25, 30 is 0.50, 45 is 0.75 and 20 minutes is 0.33 of an hour.

1900 to 0700 is 12 hours, a standard night shift. The calculator treats it as running past midnight.

Under federal rules, bona fide meal periods of 30 minutes or more where you are fully relieved of duty are usually unpaid. Short breaks of 5 to 20 minutes generally count as paid work time.

The Fair Labor Standards Act requires at least 1.5 times the regular rate for hours over 40 in a workweek for non-exempt employees. Enter your hourly rate and the calculator splits regular and overtime pay.

Yes. Use the Add / subtract tab: start at 2200, add 8 hours 30 minutes and you get 0630 the next day.

8 hours 45 minutes is 8.75 decimal hours, because 45 ÷ 60 = 0.75.

People also search for:

military time card calculatormilitary time calculatorhow to calculate hours worked in military timetime card calculator with lunchovernight shift hours calculatordecimal hours calculatoradd military time
Manzoor Ahmad

Manzoor Ahmad

Calculator developer & web designer · 13+ years in web development and SEO

Last reviewed: October 30, 2026

I am a pharmacist turned tech geek, and I design, code and test every calculator on DexoCalc myself. I have not served in the military, so this tool does not run on opinion: every result comes from simple minute arithmetic you can check with the formula on this page, the overtime rule comes from the Department of Labor, and I tested overnight, midnight (2400) and multi-day cases before publishing.

Spot a result that does not match an official source? Tell me and I will re-check it.

Sources

  1. U.S. Department of Labor: Overtime Pay (FLSA)
  2. 29 CFR 785.48: Use of time clocks (rounding)
  3. 29 CFR 785.18 and 785.19: Rest and meal periods
  4. U.S. DOL Fact Sheet #22: Hours Worked

Disclaimer: DexoCalc is independent and not affiliated with the Department of Defense or the Department of Labor. Payroll results are estimates; your employer’s timekeeping policy and state law decide final pay.

Keep this tool one tap away

Add DexoCalc to your Google Preferred Sources or bookmark this page so it is there the next time you need it.