How to Calculate Military Time: A Complete Guide

Military time trips people up more than it should. The concept is genuinely simple — but the conversion math feels awkward at first, especially in the afternoon hours. Once the logic clicks, you'll never need to think twice about it.

What Is Military Time?

Military time (also called the 24-hour clock) runs from 0000 to 2359, representing every minute of the day without repeating numbers. Unlike standard 12-hour time, there's no AM or PM. Each hour gets a unique number, so 0800 is always morning and 2000 is always evening — no ambiguity, no confusion.

This format is standard in the military, healthcare, aviation, emergency services, and most of the world outside the United States. Many operating systems, digital calendars, and apps support or default to it depending on your regional settings.

The Core Calculation Rules

AM Hours (Midnight to Noon)

This is the easy half. For any time from midnight to 12:59 PM, military time and standard time are nearly identical — just written without the colon and padded to four digits.

Standard TimeMilitary Time
12:00 AM (midnight)0000
1:00 AM0100
6:30 AM0630
9:45 AM0945
11:59 AM1159

The only exception: midnight is 0000, not 1200. Noon is 1200.

PM Hours (Noon to Midnight)

This is where people stumble. For any PM time after 12:59 PM, add 12 to the hour.

Standard TimeCalculationMilitary Time
1:00 PM1 + 12 = 131300
3:30 PM3 + 12 = 151530
6:15 PM6 + 12 = 181815
9:00 PM9 + 12 = 212100
11:59 PM11 + 12 = 232359

The formula: PM hour + 12 = military hour, then append the minutes.

Converting Military Time Back to Standard Time

Going the other direction is just as straightforward.

  • If the military time is 0000–1159, it's AM. Drop leading zeros for the hour and add AM (or keep 12:xx for noon).
  • If the military time is 1300–2359, subtract 12 from the hour to get the PM hour.

Example:1745 → 17 − 12 = 5 → 5:45 PM

Example:0830 → drop the leading zero → 8:30 AM

The midnight edge case catches people: 0000 is 12:00 AM, and 2400 technically equals 0000 of the next day (though 2400 is rarely used in practice).

How Military Time Is Spoken

Written military time and spoken military time follow slightly different conventions — worth knowing if you're working in a context where it's communicated verbally.

  • 0600 is spoken as "zero six hundred"
  • 1300 is spoken as "thirteen hundred"
  • 1530 is spoken as "fifteen thirty"
  • 0045 is spoken as "zero zero forty-five"

The word "hours" is sometimes added at the end ("fifteen hundred hours"), though this varies by context.

The Variables That Change Your Experience 🕐

Knowing the math is one thing. How you work with military time day-to-day depends on several factors.

Your device and OS settings matter significantly. Windows, macOS, iOS, and Android all allow you to toggle between 12-hour and 24-hour clock formats in system settings. Once switched, timestamps in apps, calendars, and notifications update automatically — meaning you may never need to manually convert at all.

Your software environment introduces variation. Some apps respect the system clock format; others have independent display settings. Scheduling tools, medical record systems, aviation software, and project management platforms often have their own 24-hour defaults regardless of your OS preference.

Your use case shapes how much precision matters. Casual users might only need to read a 24-hour timestamp occasionally. Healthcare workers, developers working with log files, or anyone managing international scheduling may need fast, reliable mental conversion dozens of times a day.

Familiarity and practice create a meaningful gap between users. Some people internalize the conversion quickly and run it automatically; others find it persistently disorienting, especially in the 1300–1700 range where the numbers feel least intuitive.

A Quick Reference You'll Actually Use

MilitaryStandardMilitaryStandard
000012:00 AM120012:00 PM
06006:00 AM18006:00 PM
07007:00 AM19007:00 PM
08008:00 AM20008:00 PM
100010:00 AM21009:00 PM
110011:00 AM220010:00 PM
13001:00 PM230011:00 PM
15003:00 PM235911:59 PM

Common Mistakes Worth Knowing 🚫

  • Forgetting to pad single-digit hours: 7:00 AM is 0700, not 700
  • Treating noon as 0000: Noon is 1200; midnight is 0000
  • Adding 12 to noon itself: 12:00 PM stays 1200, not 2400
  • Misreading 2000 as "two thousand": It's always read in pairs — "twenty hundred"

When Your Setup Matters More Than the Math

The conversion rules are fixed and universal. But whether mental math, a reference chart, a system setting, or a dedicated app best serves your workflow depends entirely on how frequently you encounter military time, what devices you're using, and how much of your work involves systems that log or display time in 24-hour format.

Someone occasionally reading a timestamp in a log file has different needs than a nurse charting medications every hour — and both have different needs than a developer parsing timestamps across time zones programmatically. The math is the same; the practical solution isn't.