Military Time Converter

Military time converter: 12-hour (HH:MM AM/PM) to 24-hour (HHMM) and back.

Convert Bidirectional ISO 8601
Rate this calculator · 3.8 (4)

12-hr ↔ 24-hr (military) time

Bidirectional · ISO 8601 output · spoken form

Instructions — Military Time Converter

1

Pick the direction

Toggle 12-hr → 24-hr to convert a standard clock reading to military time. Toggle 24-hr → 12-hr to go the other way. The inputs swap automatically.

2

Enter the time

For 12-hour input, type hour (1-12), minute (0-59), and pick AM or PM. For military input, type the four-digit time (0000-2359). 12:00 AM converts to 0000, and 12:00 PM converts to 1200.

3

Read the result

The result panel shows the converted time as the headline, with ISO 8601 (HH:MM:SS) and the spoken military form below. Quick picks cover the boundary cases — midnight, noon, and end-of-day.

The simple rule: for PM times other than 12, add 12 to the hour. 3 PM = 15:00. For AM, the hour stays the same except 12 AM, which becomes 00.
Speak it right: 1500 is "fifteen hundred," not "one thousand five hundred." 1545 is "fifteen forty-five hours."

Formulas

Military time, also called the 24-hour clock, runs from 0000 to 2359. The conversion to and from 12-hour time has four piecewise cases that handle the two special hours: 12 AM (midnight, 0000) and 12 PM (noon, 1200).

12-hour to 24-hour
$$ H_{24} = \begin{cases} 0 & H_{12} = 12, \text{AM} \\ H_{12} & H_{12} < 12, \text{AM} \\ H_{12} + 12 & H_{12} < 12, \text{PM} \\ 12 & H_{12} = 12, \text{PM} \end{cases} $$
Minutes stay the same. Only the hour changes.
24-hour to 12-hour
$$ H_{12} = \begin{cases} 12, \text{AM} & H_{24} = 0 \\ H_{24}, \text{AM} & 0 < H_{24} < 12 \\ 12, \text{PM} & H_{24} = 12 \\ H_{24} - 12, \text{PM} & H_{24} > 12 \end{cases} $$
The reverse conversion. Note that AM and PM each cover 12 hours, but they meet at the two boundary times 0000 and 1200.
ISO 8601 form
$$ \text{ISO 8601: HH:MM:SS} $$
The international standard published by ISO in 1988. 1545 in military notation becomes 15:45:00 in ISO. Aviation, computing, and any cross-border communication use this form.
Zulu (UTC) Time
$$ Z = H_{24,\text{local}} - \text{UTC offset} $$
Zulu time is military shorthand for UTC. 1500 EST (UTC-5) = 2000Z. Used by NATO, NOAA, and international air traffic control.
Crossing midnight
$$ H_{24,\text{next day}} = (H_{24} + \Delta h) \bmod 24 $$
To add hours that wrap past midnight, take the result modulo 24. 2200 + 4 hours = 0200 the next day.
Minutes past midnight
$$ M_{\text{since 00:00}} = H_{24} \times 60 + M $$
For scheduling math, convert military time to minutes since midnight. 1545 becomes 945 minutes since midnight.

Reference

12-hour to 24-hour Time Reference
12-hourMilitary (24-hr)Spoken
12:00 AM (midnight)0000Zero hundred hours
1:00 AM0100Zero one hundred hours
2:00 AM0200Zero two hundred hours
6:00 AM0600Zero six hundred hours
7:30 AM0730Zero seven thirty hours
9:00 AM0900Zero nine hundred hours
10:00 AM1000Ten hundred hours
11:30 AM1130Eleven thirty hours
12:00 PM (noon)1200Twelve hundred hours
1:00 PM1300Thirteen hundred hours
2:30 PM1430Fourteen thirty hours
3:00 PM1500Fifteen hundred hours
4:45 PM1645Sixteen forty-five hours
6:00 PM1800Eighteen hundred hours
7:30 PM1930Nineteen thirty hours
9:00 PM2100Twenty-one hundred hours
10:30 PM2230Twenty-two thirty hours
11:00 PM2300Twenty-three hundred hours
11:59 PM2359Twenty-three fifty-nine hours

NATO time zones (Zulu time reference)

Each NATO letter codes one hour of UTC offset. Zulu (Z) is UTC+0, the reference for all international military, aviation, and meteorological coordination.

Western letters
LetterOffsetExample city
Z (Zulu)UTC+0London
N (November)UTC-1Azores
Q (Quebec)UTC-4Atlantic Time
R (Romeo)UTC-5New York (EST)
S (Sierra)UTC-6Chicago (CST)
T (Tango)UTC-7Denver (MST)
U (Uniform)UTC-8Los Angeles (PST)
Eastern letters
LetterOffsetExample city
A (Alpha)UTC+1Berlin, Paris
B (Bravo)UTC+2Cairo, Kyiv
C (Charlie)UTC+3Moscow, Riyadh
E (Echo)UTC+5Karachi
G (Golf)UTC+7Bangkok
H (Hotel)UTC+8Beijing, Singapore
K (Kilo)UTC+10Sydney

Note: J (Juliet) is local time (your offset, whatever it is). Y (Yankee) and X (Xray) are UTC-12 and UTC-11 respectively; the letter I is skipped to avoid confusion with the digit 1.

Article — Military Time Converter

Military time conversion explained

Military time is a 24-hour clock that runs from 0000 (midnight) to 2359 (11:59 PM). To convert 12-hour time to military time, add 12 to any PM hour except 12 PM, and turn 12 AM into 00. The minutes never change. 3:45 PM = 1545. 12:00 AM = 0000. 12:00 PM = 1200.

The format dates to NATO's Allied Communication Publication 121 (ACP 121), which standardizes how military forces write and speak time. The same clock is used by the FAA for aviation, by the National Weather Service for weather observations, by every US hospital for medication orders, and by most railways outside the United States.

What military time is

Military time uses four digits to express any time of day uniquely. The first two are the hour (00 to 23), the last two are the minute (00 to 59). There is no colon, no AM, no PM. Each four-digit string maps to exactly one time, so a written or spoken value cannot be misread.

The format solves a practical problem. With AM/PM, the time "7:00" depends on context. With 24-hour notation, 0700 is morning and 1900 is evening. There is no overlap. The US Naval Observatory, which serves as the official US time authority, uses 24-hour time on all its public time displays for the same reason.

Did you know

The 24-hour clock is older than the 12-hour clock by about a thousand years. Ancient Egyptian and Babylonian astronomers divided the day into 24 hours by 1500 BCE. The 12-hour clock with AM/PM became common only in medieval Europe, when mechanical church clocks needed simpler dials with a single 12-hour rotation.

How to convert 12-hour to military time

The rules depend on whether the time is AM or PM and on whether the hour is 12.

  • 1:00 AM to 11:59 AM: pad the hour with a leading zero. 9:30 AM = 0930.
  • 12:00 AM (midnight): use 0000 (or write 2400 for the very end of the previous day).
  • 12:00 PM (noon): use 1200 unchanged.
  • 1:00 PM to 11:59 PM: add 12 to the hour. 3:00 PM = 15:00 = 1500. 9:45 PM = 21:45 = 2145.

The minutes are always copied through. The AM/PM marker disappears entirely. That is the whole rule set — four cases.

How to convert military time to 12-hour

The reverse direction is the same pattern run backward.

  • 0000 to 0059: convert to 12:MM AM. 0030 = 12:30 AM.
  • 0100 to 1159: drop the leading zero and append AM. 0830 = 8:30 AM.
  • 1200 to 1259: keep the hour as 12 and append PM. 1245 = 12:45 PM.
  • 1300 to 2359: subtract 12 from the hour and append PM. 1815 = 6:15 PM.
Fast mental conversions
0700 = 7 AM 1300 = 1 PM
1500 = 3 PM 1700 = 5 PM
1900 = 7 PM 2100 = 9 PM

The two confusing boundaries: 0000 and 1200

Midnight and noon trip almost everyone the first time. The 12-hour clock numbers them inconsistently: 12 AM is midnight (the start of the day), 12 PM is noon (the middle of the day). There is no widely used 0 AM or 0 PM. So 12:00 AM converts to 0000, while 12:00 PM converts to 1200. The difference is twelve hours, but the 12-hour numbers look almost identical.

Some scheduling software writes midnight as 2400 instead of 0000 to disambiguate "end of Tuesday" from "start of Wednesday." Most military and aviation use prefers 0000 paired with the calendar date, which removes the ambiguity by stamping the day alongside the time.

12 PM is not midnight

It is a very common mistake: 12 PM is noon, not midnight. The mnemonic is that AM (ante meridiem) means "before noon" and PM (post meridiem) means "after noon," but noon itself sits exactly at the boundary. The Library of Congress and US Government Publishing Office style guides recommend writing "12 noon" or "12 midnight" in any document where the meaning could be misread.

Who uses military time outside the military

Hospitals are the largest civilian users in the United States. The Joint Commission, which accredits about 80 percent of US hospitals, recommends 24-hour notation for medication administration records and shift handovers, because a 7:00 PM dose written as "7:00" could be administered twelve hours late. The US Veterans Health Administration mandates 24-hour notation across all its facilities.

Aviation runs on UTC (Zulu time) using 24-hour notation. Flight plans, weather reports (METAR), and air traffic control transmissions are all in HHMMZ form. Outside the United States, railway timetables, public broadcast schedules, and most government documents use 24-hour notation as the default. Europe in particular has used 24-hour time as the everyday written norm since the 1960s.

Zulu time, UTC, and the NATO time zone letters

Zulu time is the military name for Coordinated Universal Time (UTC). The letter Z is the NATO phonetic alphabet code for the time zone at UTC+0, which is what Britain calls Greenwich Mean Time outside daylight saving. A weather observation taken at 1500 GMT is reported as 1500Z. A flight plan filed for 2030 UTC reads 2030Z.

NATO uses single-letter codes for each one-hour offset from UTC. Z is UTC+0, A is UTC+1, and the letters run through the alphabet (skipping J, which means "local time," and I to avoid confusion with the digit 1). The eastern offsets go A, B, C, D, E, F, G, H, K, L, M (UTC+12). The western offsets go N, O, P, Q, R, S, T, U, V, W, X, Y (UTC-12).

Eastern Time (R)
1500 EST
= 2000Z (UTC)
Berlin (A)
1500 CET
= 1400Z (UTC)

How to pronounce military time correctly

The conventions are old and unbreakable. Whole hours end in "hundred," never "thousand": 1500 is "fifteen hundred," 1800 is "eighteen hundred," 2200 is "twenty-two hundred." Times with minutes drop the word "hundred" and read the four digits in pairs: 1545 is "fifteen forty-five," 1830 is "eighteen thirty." Times with a single-digit minute keep the zero: 1505 is "fifteen oh-five."

Zero-padded hours are spoken with a leading "zero": 0730 is "zero seven thirty," not "seven thirty." Midnight (0000) is conventionally spoken as "midnight" rather than the awkward "zero hundred." The word "hours" is sometimes appended for formality: "Muster at zero six hundred hours" — but soldiers in routine conversation drop it.

Tip

If you are new to 24-hour time, practice with the public schedule for any European railway. Deutsche Bahn, SNCF, and Trenitalia all post departures as 13:42 or 19:08 in everyday signage. A week of reading them and the conversion will be automatic.

Mistakes to avoid when reading military time

The most common mistake is forgetting that 12:00 AM is 0000, not 1200. The second most common is forgetting that 12:00 PM is 1200, not 2400. Both errors send the converted time twelve hours off. The cure is to remember that the AM/PM number wraps from 11 to 12 at the boundary, while the 24-hour number wraps from 23 to 00 at midnight only.

The other recurring mistake is reading the four digits as a single number rather than as hour-minute pairs. 1545 is not "one thousand five hundred forty-five." It is fifteen forty-five — three o'clock in the afternoon plus 45 minutes. Reading the digits as a number is the giveaway that a civilian has not yet internalized the format.

FAQ

12:00 AM (midnight) = 0000. 12:00 PM (noon) = 1200. The 12-hour clock numbers wrap around at noon and midnight, which is why this pair confuses people. Military time avoids the ambiguity by counting from 0 to 23.
For times from 1:00 AM to 11:59 AM, drop the AM and pad the hour to two digits. 9:30 AM = 0930. For 12:00 AM (midnight), use 0000. For times from 12:00 PM to 11:59 PM, leave 12 PM as 1200 and add 12 to every other PM hour. 3:45 PM = 15:45 = 1545.
3:00 PM = 1500 (fifteen hundred hours). Add 12 to the PM hour for any PM time except 12 PM, which stays 1200.
1800 = 6:00 PM. Subtract 12 from the military hour for any value over 12. 1800 minus 12 = 6, and the time falls in the PM half of the day.
The 24-hour clock removes the AM/PM ambiguity that has caused operational errors. NATO Allied Communication Publication 121 (ACP 121) requires 24-hour notation for all signals. Aviation, hospitals, and emergency services use it for the same reason: a 12-hour reading like "7:00" could mean morning or evening, but 1900 cannot be misread.
Zulu time is military slang for Coordinated Universal Time (UTC). The letter Z is the NATO phonetic alphabet code for the time zone at UTC+0 (Greenwich Mean Time). NATO uses single-letter codes for each one-hour offset: A for UTC+1, B for UTC+2, and so on, with J reserved for local time.
Whole hours are spoken as "hundred" — 1500 is "fifteen hundred hours," never "one thousand five hundred." Times with minutes drop the "hundred": 1545 is "fifteen forty-five." Zero-padded values keep the leading zero: 0730 is "zero seven thirty."
Yes, the underlying clock is identical. The only difference is presentation. Military time writes the four digits with no separator (1545) and adds "hours" aloud. ISO 8601 inserts a colon (15:45) and is the same clock written for civilian and computing use.
Yes — most countries use it as the default. Europe, Asia, Latin America, and much of Africa write times as 18:30 in everyday life. The 12-hour clock with AM/PM remains the conversational norm in the US, Canada, Australia, and the UK, but their militaries, hospitals, and railways still use 24-hour time.
Treat the hour as a number 0-23. To add hours, sum them; if the result exceeds 23, subtract 24 and bump to the next day. 2200 + 4 hours = 26, which wraps to 0200 the next day. To go backwards across midnight, add 24 first: 0200 minus 4 = 24 + 2 - 4 = 2200 the previous day.