Skip to content
OmniCalc logo
OmniCalc

Military Time Converter

Convert a 12-hour AM/PM time to four-digit military time. Understand midnight, noon, leading zeros, and the difference between clock format and time zones.

Last updated:

Share

Loading calculatorโ€ฆ

How to Use

  1. Enter a whole-number hour from 1 to 12.
  2. Enter a whole-number minute from 0 to 59.
  3. Select AM or PM.
  4. Read the four-digit military time, including any leading zero.
  5. Check noon and midnight carefully: 12 AM becomes 00 and 12 PM remains 12.
  6. Copy the result and add the date and time zone separately if needed for a schedule.

Calculator Overview

The Military Time Converter changes a 12-hour AM/PM clock time into four-digit 24-hour notation. Enter the hour, minute, and period: for example, 3:45 PM becomes 1545 and 8:30 AM becomes 0830. The output keeps leading zeros. The guide below also explains how to read a four-digit time back into ordinary AM/PM notation.

Military time, also called the 24-hour clock, is the international standard used by the armed forces, emergency services, aviation, hospitals, and shipping worldwide. It runs from 0000 (midnight) to 2359 (11:59 PM), eliminating AM/PM ambiguity. A meeting scheduled at 1400 is unambiguously 2:00 PM โ€” no one shows up 12 hours early or late.

Understanding military time is essential for anyone working with international schedules, healthcare documentation (military time is standard in medical charts), transportation logistics, or communication with military personnel. It is also commonly tested in academic settings, particularly in countries that use the 24-hour clock as their default.

For an AM time, keep hours 1 through 11 and replace hour 12 with 00. For a PM time, keep hour 12 and add 12 to hours 1 through 11. Minutes remain unchanged in every case. Thus 12:30 AM is 0030, 12:30 PM is 1230, and 6:30 PM is 1830.

To read the notation in reverse, separate the first two digits as the hour and the last two as the minute. Hour 00 means 12 AM; hours 01 through 11 use AM; hour 12 uses PM; and hours 13 through 23 subtract 12 and use PM. This is a reading method explained below; the input widget accepts the 12-hour time.

The 24-hour format is used as the default in most of Europe, Latin America, Asia, and Africa. The 12-hour AM/PM format is primarily used in the United States, Canada, Australia, and a few other countries. If you work across regions, understanding both formats prevents costly scheduling errors.

Four-digit clock notation identifies a time within a day, not a duration or time zone. For a schedule, write the date and zone alongside the result. Read the examples below for verbal forms such as fourteen hundred for 1400; follow the communication convention used by your workplace or organization.

Formula

Loading formula...

Formula and Step-by-Step Example

Military time uses a 4-digit format: HHMM, where HH is hours (00โ€“23) and MM is minutes (00โ€“59).

12-hour to Military Time - Midnight (12:00 AM) โ†’ 0000 - 12:01 AM โ€“ 12:59 AM โ†’ 0001 โ€“ 0059 - 1:00 AM โ€“ 11:59 AM โ†’ 0100 โ€“ 1159 - 12:00 PM โ€“ 12:59 PM โ†’ 1200 โ€“ 1259 (noon hour stays as-is) - 1:00 PM โ€“ 11:59 PM โ†’ add 1200 (1:00 PM โ†’ 1300, 11:59 PM โ†’ 2359)

Military Time to 12-hour - 0000 โ†’ 12:00 AM (midnight) - 0001โ€“0059 โ†’ 12:01 AM โ€“ 12:59 AM - 0100โ€“1159 โ†’ 1:00 AM โ€“ 11:59 AM - 1200โ€“1259 โ†’ 12:00 PM โ€“ 12:59 PM - 1300โ€“2359 โ†’ subtract 1200 and add PM

Pronunciation - 0830 โ†’ "oh-eight-thirty" or "zero-eight-thirty" - 1400 โ†’ "fourteen hundred hours" - 2315 โ†’ "twenty-three fifteen"

Worked example - Standard: 7:45 PM - Military: 7 + 12 = 19, 45 minutes โ†’ 1945 - Spoken: "nineteen forty-five"

Frequently asked questions

How do you convert military time to regular time?

Read the first two digits as the hour. 00 becomes 12 AM, 01โ€“11 remain AM, 12 remains PM, and 13โ€“23 subtract 12 and become PM. Keep the last two minute digits unchanged. For example, 0030 is 12:30 AM, 0830 is 8:30 AM, 1230 is 12:30 PM, and 1730 is 5:30 PM.

What time is 1800 in military time?

1800 military time is 6:00 PM. Subtract 1200: 1800 โˆ’ 1200 = 600, which is 6:00. Since the original is above 1200, it is PM.

What time is 0000 in military time?

0000 is midnight โ€” the very start of a new day. It is equivalent to 12:00 AM. The last minute of a day is 2359, which is 11:59 PM.

How do you read military time out loud?

Read hours and minutes as spoken digits. 0830 is "oh-eight-thirty." 1400 is "fourteen hundred hours." 1545 is "fifteen forty-five." Leading zeros are usually spoken as "oh" in military contexts.

What time is 2000 in military time?

2000 military time is 8:00 PM. 2000 โˆ’ 1200 = 800, which is 8:00. Spoken as "twenty hundred hours."

Why does the military use 24-hour time?

The 24-hour format eliminates AM/PM ambiguity in orders, logs, and coordination. A mission at 0200 cannot be confused with 2:00 PM. In multinational operations, the 24-hour clock also avoids translation errors across languages.

What time is 1200 in military time?

1200 is noon โ€” 12:00 PM. It is one of the few times that remains the same in both systems. 1201 is 12:01 PM, and 1259 is 12:59 PM.

What countries use the 24-hour clock by default?

Most of Europe, Latin America, Asia, and Africa use 24-hour time as the standard in everyday life. The United States, Canada, Australia, and a few others predominantly use 12-hour AM/PM format, though the 24-hour format appears in aviation, healthcare, and technical contexts.

What is the difference between military time and the 24-hour clock?

They are essentially the same system. Military time typically omits the colon and pads to four digits (0830), while the 24-hour clock may use a colon and not require zero-padding (8:30). The conversion math is identical.

Understand your result

Practical examples and detailed guide

Military time writes the time of day using a 24-hour clock, commonly as four digits. This converter takes an hour, a minute, and AM or PM, then produces the corresponding four-digit value. The guide explains the conversion, the special cases at noon and midnight, and how to keep clock notation separate from elapsed time and time zones.

What the four digits mean

In a value such as 1745, the first two digits are the hour and the final two digits are the minute. The value represents 17 hours and 45 minutes after the start of the calendar day, which is 5:45 PM. It is not the decimal number seventeen point forty-five hours.

The hour portion runs from 00 through 23 in this converter. The minute portion runs from 00 through 59. Keeping both portions at two digits makes the notation unambiguous. For example, 0005 means five minutes after midnight, while 0050 means fifty minutes after midnight.

Four-digit military time and colon-separated 24-hour time express the same basic clock reading. The values 0930 and 09:30 both correspond to 9:30 AM. Many civilian schedules prefer the colon because it visually separates hours from minutes; four-digit notation omits it.

The result does not contain a date, a location, or a time-zone offset. A meeting listed only as 1745 can still be ambiguous if participants are in different places. The format solves AM/PM ambiguity, but it does not by itself solve every scheduling ambiguity.

How to enter an AM or PM time

Enter the hour as a whole number from 1 to 12. Enter the minute as a whole number from 0 to 59. Then select AM or PM. For 7:05 in the evening, the fields should be hour 7, minute 5, and PM. The result is 1905.

Do not type the entire time into the hour field. Entering 705 is not the same as entering hour 7 and minute 5. Likewise, do not enter 19 as the hour and select PM: the input side uses the 12-hour clock, while the output side uses the 24-hour clock.

You can enter minute 5 without adding a leading zero yourself. The converter formats the output minute as 05. That formatting matters because the hour and minute each occupy a fixed number of positions in the final four-digit value.

Check AM or PM before copying a result. It is easy to enter the correct hour and minute but choose the wrong half of the day. For every hour except 12, changing AM to PM adds twelve hours, so the result can look plausible while representing a substantially different appointment time.

The conversion rule for morning times

For 1:00 AM through 11:59 AM, keep the hour number and write it using two digits. Thus 1:20 AM becomes 0120, 6:45 AM becomes 0645, and 11:59 AM becomes 1159. The minutes do not change during the conversion.

The leading zero on a morning hour is formatting, not a numerical operation. It signals that the hour portion contains two digits. Removing it from 0645 may still be understandable in casual writing, but it no longer matches the consistent four-digit form produced by this tool.

The exception is the hour beginning at midnight. Twelve AM maps to hour 00, so 12:15 AM becomes 0015. Thinking of midnight as the start of a new day's count helps: zero complete hours have passed at 12:00 AM.

A useful morning check is that an AM result begins with an hour from 00 through 11. If a morning input produces 13 or 20 as its hour portion, AM/PM has been handled incorrectly. The minute portion should be identical to the original clock minute.

The conversion rule for afternoon and evening

For 1:00 PM through 11:59 PM, add 12 to the hour. One PM becomes hour 13, five PM becomes hour 17, and eleven PM becomes hour 23. Keep the minutes exactly as entered. For instance, 8:42 PM becomes 2042.

Noon is the exception: 12 PM stays hour 12. Adding twelve to noon would produce hour 24, which is not how this converter represents noon. The input 12:30 PM therefore becomes 1230, not 2430.

The full mathematical rule can be written as hour24 = (hour12 modulo 12) + an offset. The offset is zero for AM and twelve for PM. Taking the remainder after division by twelve turns the input hour 12 into zero before the AM/PM offset is applied.

This single rule handles all twelve-hour inputs consistently, but you do not need modulo arithmetic to convert by hand. Remember the two special cases firstโ€”12 AM becomes 00 and 12 PM stays 12โ€”then preserve ordinary AM hours and add twelve to ordinary PM hours.

Midnight and noon without ambiguity

Midnight is 0000 in this tool. Noon is 1200. The difference is exactly twelve hours, even though both are called twelve o'clock in a 12-hour system. Always write the period when a time is expressed as 12:00 AM or 12:00 PM.

For deadlines, a date is essential. The expression midnight on Friday can be misunderstood as either the beginning of Friday or the boundary between Friday and Saturday. A precise schedule can say 00:00 on Saturday or 23:59 on Friday, depending on the intended cutoff and required precision.

Some documents use 2400 to identify the end of a stated day. That convention depends on the document or system. This converter uses the range 0000 to 2359 and represents midnight as 0000. It does not accept an input hour of 24 or produce 2400 as an alternative output.

When copying a midnight result into a reservation, rota, or travel note, attach the intended date. If an event runs from 2300 Friday to 0100 Saturday, the date change is part of the meaning. Clock notation alone does not tell a reader which day the ending time belongs to.

Worked examples across a complete day

A morning shift begins at 6:30 AM. The hour is 6, the minute is 30, and the period is AM. Because it is an ordinary morning hour, keep 6 and pad it to 06. The final output is 0630, equivalent to 06:30 on a colon-separated clock.

A delivery is expected at 12:05 PM. Noon-hour PM values retain hour 12. The minute remains 05, giving 1205. This example is useful because a mistaken add-twelve rule would incorrectly generate a value outside the ordinary 24-hour clock range.

A lesson starts at 4:15 PM. Add 12 to 4 to obtain 16, then append minute 15. The output is 1615. Reading it back gives sixteen fifteen in 24-hour notation or four fifteen PM in 12-hour notation.

A train departs at 12:08 AM. This is eight minutes into a new day, so hour 12 becomes 00. The output is 0008. The leading zeros are significant for readability and should remain when the time is pasted into a schedule or message.

Read a military time back into AM or PM

To read four digits, separate the first two from the last two. For 2147, the hour is 21 and the minute is 47. Since the hour is greater than 12, subtract 12 to obtain 9 and mark it PM. The result is 9:47 PM.

For an hour from 01 through 11, retain the hour and mark it AM. For hour 12, retain 12 and mark it PM. For hour 00, use 12 and mark it AM. These four cases cover every valid hour in the standard range used here.

For example, 0040 is 12:40 AM, 0740 is 7:40 AM, 1240 is 12:40 PM, and 1940 is 7:40 PM. Keeping the same minute value in all four examples makes it easier to see that the conversion changes the hour representation and period, not the position within the hour.

The widget above performs the forward conversion from AM/PM inputs. The reverse explanation is included so you can verify an output or read a schedule. Do not assume there is a separate reverse-input mode if it is not shown in the interface.

Clock time is not a decimal duration

The clock reading 0130 means one thirty, or one hour and thirty minutes after midnight. A duration of 1.30 decimal hours is one hour and eighteen minutes, because 0.30 ร— 60 = 18. The two notations use different bases for the fractional part.

To convert a duration in hours and minutes to decimal hours, divide the minutes by 60 and add the hours. A duration of two hours and forty-five minutes is 2 + 45/60 = 2.75 hours. Writing it as 2.45 would understate the duration.

This distinction matters when a timesheet, billing system, or spreadsheet asks for decimal hours. Converting a clock reading to military notation does not prepare it for decimal-hour multiplication. First calculate the elapsed interval, then convert that duration to the format required by the receiving system.

For example, a shift from 0900 to 1730 lasts eight hours and thirty minutes before breaks. That is 8.5 decimal hours. Subtracting the four-digit numbers gives 830, which resembles the hours-and-minutes notation but is not a decimal number of hours or minutes.

Calculate intervals using minutes after midnight

For a same-day interval, convert each clock time to total minutes after midnight. Multiply the hour by 60 and add the minutes. The time 14:20 is 14 ร— 60 + 20 = 860 minutes after midnight. The time 09:45 is 585 minutes after midnight.

Subtract the starting total from the ending total. In the example, 860 โˆ’ 585 = 275 minutes. Divide by 60 to get four complete hours with 35 minutes remaining. The elapsed duration is therefore four hours and thirty-five minutes, or about 4.5833 decimal hours.

For a simple overnight interval shorter than a day, add 1,440 minutes to the ending time before subtraction. A period from 22:30 to 01:15 gives a starting total of 1,350 and an adjusted ending total of 1,515. The difference is 165 minutes, or two hours and forty-five minutes.

That overnight shortcut assumes the relevant day contains an ordinary 24 hours in the chosen time reference. Local-clock changes can complicate real elapsed-time calculations. Use the time-duration or calendar tools with explicit dates and appropriate time-zone handling when the actual passage of time matters.

Time format does not convert a time zone

Changing 3:00 PM to 1500 changes how the same clock reading is written. It does not move the event from one city to another. Fifteen hundred in one location can correspond to a different local hour elsewhere, depending on the applicable time-zone offsets and the date.

For an international meeting, record the date, the time, and the zone or offset required by the participants. A time such as 15:00 with a stated UTC offset contains more scheduling information than 1500 alone. The converter above does not look up regional daylight-saving rules.

Avoid assuming that an abbreviation always identifies one unique zone. Abbreviations can be reused or interpreted differently. A clearly named location and date, or an explicit offset where appropriate, helps the receiving person determine the intended instant.

If your task is to convert between locations, use a time-zone-aware scheduling tool. If your task is merely to rewrite an AM/PM time as four digits, this converter is sufficient. Separating those questions keeps a correct notation change from being mistaken for a complete international scheduling calculation.

Leading zeros in spreadsheets and messages

Spreadsheet software can interpret a value such as 0030 as a number and display it as 30. The underlying information then loses its fixed-width appearance. To retain the four-digit text, use a text-formatted cell or the receiving application's supported time format.

Do not add a thousands separator to military time. The number 1,730 looks like a count of one thousand seven hundred thirty, whereas 1730 is a clock notation. Time text should not be passed through ordinary currency or numeric formatting rules.

If you need calculations in a spreadsheet, storing a real time value can be more useful than storing four text digits. A displayed format such as 17:30 may still represent a time value that the spreadsheet can subtract. Check the receiving system's expected representation rather than assuming all visible times are stored in the same way.

For a printed rota, consistency improves scanning. Choose one notation and use it throughout: either four digits for all times or a consistent colon-separated format. Mixing 730, 07:30, 7:30 AM, and 1930 on the same document increases the chance that a reader misinterprets one entry.

Pronunciation and communication

Four-digit times are often spoken as an hour pair followed by a minute pair, with an appropriate expression for an exact hour. However, spoken conventions vary by organisation and context. The important practical objective is that the receiving person can identify the hour, minute, period, and date without guessing.

For everyday use, you can explain 1830 as eighteen thirty or as six thirty PM. For 0005, saying five minutes after midnight may be clearer to someone unfamiliar with four-digit notation. A converter output is useful only if the people using it share an understanding of the notation.

When reading a time over a noisy connection, repeat it in a second form if necessary: 1830, meaning 6:30 PM. For an operational instruction, follow the terminology required by the responsible organisation rather than relying on a general online guide as a communication standard.

Do not add a zone designator unless you know which time reference it represents. A correctly spoken four-digit time with the wrong zone can be more misleading than a plain local time with the location stated. Clock format, spoken convention, and time reference are related but separate choices.

Common mistakes and boundary checks

If you see a minute value of 60 or greater, the input is not a valid clock minute. An hour and sixty minutes should roll into the following hour, but this converter asks for a valid time of day rather than an unnormalised duration. Enter 8:00 instead of 7:60.

If a PM result is less than 1200, review the period selection. If a normal AM result is 1200 or greater, check whether noon or a PM time was intended. The special midnight case belongs at the beginning of the range, while noon belongs at its midpoint.

Check integer inputs. A clock hour of 7.5 is not the same interface input as 7:30. Enter hour 7 and minute 30 instead. Similarly, decimal minutes are outside this tool's minute-resolution interface; use a more precise time representation if seconds are required.

A final round-trip check is simple: read the output back into AM/PM using the four cases above. If it matches the original hour, minute, and period, the format conversion is consistent. This is particularly helpful for midnight appointments, transport connections, and schedules prepared for readers unfamiliar with military notation.

Practice conversions with explanations

Convert 2:09 AM: retain hour 2, write it as 02, retain minute 09, and combine them as 0209. Convert 2:09 PM: add twelve to 2, obtaining 14, then append 09 to get 1409. The twelve-hour difference appears entirely in the hour pair.

Convert 12:59 AM: the hour becomes 00, giving 0059. One minute later, the time is 1:00 AM, which becomes 0100. This boundary demonstrates why four-digit clock values do not increase like ordinary decimal counts: after minute 59, the minute pair resets to 00.

Convert 11:59 PM: add twelve to 11, giving 23, and retain minute 59, producing 2359. One minute later, the new day begins at 0000. If you are describing an interval that crosses this point, include the changed date rather than presenting the ending time as earlier on the same day.

Continue with a related calculation

  • Calendar Calculator

    Calendar arithmetic depends on whether you mean elapsed days, counted dates, business days, or a calendar interval in years and months. Choose the operation before interpreting the result.

  • Time Duration Calculator

    Elapsed time must be calculated from compatible start and end references. A clock reading alone may not identify whether an interval crosses midnight or changes date.

  • Age Calculator

    Calendar age counts completed years, months, and days between dates under the selected conventions. It differs from dividing an elapsed duration by a fixed number of days per year.

  • Online Alarm Clock

    A browser alarm depends on the page, device, audio permissions, and operating system continuing to run. Treat the interface's armed state separately from a guarantee that an alert will sound.

Read the complete Military Time Converter guide

Use the dedicated guide page for the full explanation, examples, and practical context behind this calculator.

Open Guide

Editorial Review & Military Sources

Author

Jitendra Kumar

Founder & Lead Developer

Reviewed by

OmniCalc Editorial Review

Formula QA, source review, and calculator maintenance

Last reviewed

Military and government calculator

Military, government, and time-format assumptions are reviewed against official public references where available.

Primary Sources

Military and government outputs are estimates. Official eligibility, rate tables, duty-station rules, and agency determinations control final results. See our sources and methodology and editorial policy.