Military Time Duration Calculator (24-Hour Elapsed Time)

Military Time Duration Calculator

Enter two 24-hour military times as HHMM from 0000 to 2359 to find elapsed hours and minutes, decimal hours, total minutes, and the matching 12-hour clock times, including overnight shifts and break deductions.

🕑Real Shift & Duty Presets

📝Time Inputs

Four digits, 0000 to 2359. Example: 0900 is 9:00 AM.

Four digits, 0000 to 2359. Example: 1730 is 5:30 PM.

Unpaid lunch or rest minutes removed from the total.

Extra end seconds for fine timing. Leave 0 for whole minutes.

Duration 0h 0m hours and minutes elapsed
Decimal hours 0.00 total minutes / 60
Total minutes 0 end minus start
12-hour equivalents -- start and end on a 12-hour clock

🔢How The Math Works

HHHours 00 to 23
MMMinutes 00 to 59
×60Hours to minutes
1440Minutes per day

🗂Military to 12-Hour Conversion Chart

Military12-HourSpokenMinutes From MidnightPeriod
000012:00 AMZero hundred0Midnight
03003:00 AMOh three hundred180Late night
06006:00 AMOh six hundred360Early morning
09009:00 AMOh nine hundred540Morning
120012:00 PMTwelve hundred720Noon
13451:45 PMThirteen forty-five825Afternoon
17305:30 PMSeventeen thirty1050Evening
20008:00 PMTwenty hundred1200Night
220010:00 PMTwenty-two hundred1320Late night
235911:59 PMTwenty-three fifty-nine1439End of day

📊Duration Comparison Grid

ScenarioStartEndDurationDecimal12-Hour Span
Day shift090017308h 30m8.509:00 AM to 5:30 PM
Night watch220006008h 00m8.0010:00 PM to 6:00 AM
Midnight to noon0000120012h 00m12.0012:00 AM to 12:00 PM
Full duty0700190012h 00m12.007:00 AM to 7:00 PM
Short meeting134516152h 30m2.501:45 PM to 4:15 PM
Graveyard230007008h 00m8.0011:00 PM to 7:00 AM
Half day080012004h 00m4.008:00 AM to 12:00 PM
Morning PT060007301h 30m1.506:00 AM to 7:30 AM

🕑Minutes to Decimal Hours

MinutesDecimalMinutesDecimal
5 min0.0835 min0.58
10 min0.1740 min0.67
15 min0.2545 min0.75
20 min0.3350 min0.83
25 min0.4255 min0.92
30 min0.5060 min1.00

📋24-Hour Format Guide

RangeReads As12-Hour RuleExample
0000 to 0059Zero hundredsHour 00 becomes 12 AM0015 is 12:15 AM
0100 to 1159MorningSame number, add AM0930 is 9:30 AM
1200 to 1259Noon hourHour 12 stays 12 PM1230 is 12:30 PM
1300 to 2359Afternoon and nightSubtract 12, add PM1830 is 6:30 PM
2400End of day markerSame as 0000 next day2400 is 12:00 AM

Full Formula Breakdown

Parse HHMMSplit the four digits so HH is the first two and MM is the last two. Validate HH is 00 to 23 and MM is 00 to 59.
Minutes since midnightstartMin = HH × 60 + MM. For 0900 that is 9 × 60 + 0 = 540 minutes.
Raw durationduration = endMin − startMin. For 0900 to 1730 that is 1050 − 540 = 510 minutes.
Overnight wrapIf the result is negative or zero on auto mode, add 1440 minutes so the span crosses midnight (2400).
Break deductionSubtract the break minutes and any extra end seconds from the total working span.
Hours and minuteshours = floor(total / 60) and minutes = total modulo 60. 510 minutes gives 8 h 30 m.
Decimal hoursdecimal = total / 60. 510 / 60 = 8.50 hours at two decimal places.

💡Military Time Tips

Midnight and noon: 0000 is midnight and reads as 12:00 AM, while 1200 is noon and reads as 12:00 PM. Do not confuse the two, since one starts the day and the other is the halfway mark.
Overnight spans: When the end time is a smaller number than the start, the shift crosses 2400 into the next day. The calculator adds a full 1440 minutes so an end like 0600 after a 2200 start returns 8 hours, not a negative value.

It explains shift length versus break duration. Using military time eliminate any confusion regarding AM or PM. It’s simply a straight number count between 0 and 2359. Instead of having two half-days (each with their own restart at noon), it make it one long, linear line across the entire day.

Enter those four-digit numbers into the calculator, which will convert them to total minutes, decimal equivalent, and elapsed hours. If your shift wrap over midnight, this tool do it for you; no need to guess when your shift began/ended. Forget about the clock face; it’s just math.

How This Time Calculator Works

Each hour is simply sixty minutes plus any that come before it in the day. So 0 minutes = midnight, 720 minutes = noon, 1050 minutes = 1730. Your tool turns both times into a value representing minutes after midnight (since the day begin). It takes the later value minus the earlier.

If the end time come before the start time, this happens across midnight. Doing this manually will fail. In this case, it would of include an extra 1440 minutes to show that the end is on the following day.

Payroll systems prefers decimal hours over standard minutes and hours. Computers struggle with fractions like thirty minutes when they needs to multiply time by an hourly rate. That’s why it converts that half hour to 0.5 which is a clean and consistent number for multiplication. These are the kinds of conversions shown in the reference table: fifteen minutes equals 0.25.

This is used to double check your paycheck or estimate how much work will cost on a job you’re bidding. It takes the messy clock time and make it something you can use financially.

Manual math sucks at breaks. Working from 0900; 1730? Great. But did you take a 45-minute lunch? Well, then you’ve cut your billables down. With this calculator, you can enter your break minutes, and it will subtract them from the total time before showing the result. It’s important because labor law says there should of some sort of unpaid resting period. Fail to subtract this and you’ll accidentally overestimate how productive you were.

Its preset options address typical workdays. For example, an eight-and-a-half hour workday is a classic: 0900-1730 (a.k.a. This is a standard day shift. Then there’s overnight shifts such as 2200-0600; these are good tests of the overnight logic (starting late and stopping early). This give you the ability to check whether the tool will work as expected within your specific industry.

Because it lets you double-check duration on the fly, it can save you from scheduling errors. When spoken, the rules for reading out loud military time include stating “oh nine hundred” instead of “nine oh zero.” If the first number is a zero, each individual number in that hour are spoken out. Otherwise, they’re said as a whole word.

For example, midnight is either 2400 or zero hundred, depending on if you think of it as beginning or ending the cycle. And noon will always be twelve hundred. Being able to speak military time correctly matters in situations like radio communications. Clear communication means safe communication. When every second counts, you don’t want to confuse similar sounding times.

How do they convert from mil-time to normal time? (See the format guide) Hours from zero to eleven keep their numbers and add an AM. Twelve o’clock remains twelve, only now it’s PM. After that, you simply subtract twelve from the hour value to get the PM version: 1800 converts to six PM.

That’s one reason a lot of folks love the calculator. It removes the need for mental math as they move between formats in the midst of a hectic shift. Keeping track of time has to be fair and precise. Whether that’s doing overtime at your job or reporting how many hours you served in the military, you want to know exactly how long it was so there’s no dispute about it.

So the tool does the math for you and lets you get on with what you’re doing. Take the mysterious 24 hour codes and make them clear and unarguable. Just put in when you started and stopped and add your break times, and let the app take care of everything else. A couple of seconds to punch in the numbers gives you peace of mind.

More then that.

Military Time Duration Calculator (24-Hour Elapsed Time)