Military Time Converter: Standard to 24-Hour
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator converts between military (24-hour) time and standard (12-hour) time. You enter a time in either format, and it instantly shows the equivalent in the other, including the correct AM/PM designation. It also handles the special cases of midnight and noon, which are common sources of confusion.
Formula
The conversion is purely arithmetic, based on the 24-hour clock cycle. There is no single formula, but rather a set of rules applied to the hour component (H) and minute component (M) of the input time.
Military to Standard:
- If H = 0, standard time is 12:MM AM (midnight).
- If 1 ≤ H ≤ 11, standard time is H:MM AM.
- If H = 12, standard time is 12:MM PM (noon).
- If 13 ≤ H ≤ 23, standard time is (H – 12):MM PM.
Standard to Military:
- If the time is AM and H = 12, military hour is 0.
- If the time is AM and H ≠ 12, military hour is H.
- If the time is PM and H = 12, military hour is 12.
- If the time is PM and H ≠ 12, military hour is H + 12.
In both directions, the minutes (M) never change. The result is always written with four digits: two for the hour and two for the minutes (e.g., 09:05, not 9:5).
Worked Example
Using the default input of 14:30 in military format (the calculator’s default selection is “Military”):
- Take the hour component: H = 14.
- Since H is between 13 and 23, subtract 12: 14 – 12 = 2.
- The minutes remain 30.
- Because H was greater than 12, the period is PM.
The result is 2:30 PM. The calculator displays this as “2:30 PM” (or the equivalent format). If you switch the input to Standard and enter “2:30 PM”, the calculator returns 14:30, confirming the round-trip.
Why Use Military Time?
Military time, also called the 24-hour clock, is the standard in most of the world outside the United States, and is used by the military, aviation, medicine, computing, and emergency services within the U.S. Its main advantage is eliminating ambiguity: 10:00 could be morning or night in standard time, but 10:00 and 22:00 are unambiguous. It also simplifies time arithmetic—for example, a shift from 23:00 to 07:00 is clearly 8 hours, whereas 11 PM to 7 AM requires careful mental tracking of AM/PM.
In many countries, people naturally say “14:30” instead of “2:30 PM.” In the U.S., you are more likely to hear “fourteen thirty” in professional or technical contexts. Understanding both systems is useful when traveling, working with international colleagues, or reading schedules from airlines, railways, or hospitals.
Common Mistakes and Misconceptions
The most frequent error is confusing midnight and noon. In military time, midnight is 00:00, and noon is 12:00. Many people expect 24:00 for midnight, but that is not standard in most contexts—though some schedules (like train timetables) may show 24:00 as the end of a day. In the standard-to-military direction, a common mistake is adding 12 to PM hours that are already 12: 12:00 PM becomes 12:00, not 24:00. Similarly, 12:00 AM becomes 00:00, not 12:00.
Another error is misreading the minutes. Military time always uses two digits for minutes, so “9:5” is not valid; it should be “09:05.” Also, when converting from standard, you must keep the minutes unchanged—only the hour is adjusted. Finally, be careful with the leading zero: 08:00 is 8:00 AM, but 8:00 without a zero is sometimes misinterpreted as 8 PM in a 24-hour context.
How to Read a Military Time Chart
Many people use a reference chart before they memorize the conversions. A typical chart lists the 24-hour hours in the left column and the equivalent standard time in the right column. For example:
- 00:00 → 12:00 AM
- 01:00 → 1:00 AM
- 06:00 → 6:00 AM
- 12:00 → 12:00 PM
- 15:00 → 3:00 PM
- 18:00 → 6:00 PM
- 21:00 → 9:00 PM
- 23:00 → 11:00 PM
The pattern is simple: for hours 13–23, subtract 12 to get the standard hour, and add PM. For hours 0–11, the standard hour is the same (with 0 becoming 12), and add AM. Once you internalize this, you won’t need the chart.
When to Use Each Format
Use military time when you need absolute clarity, especially in written communication. Airlines, trains, and bus schedules in many countries use 24-hour time. Medical records and prescriptions often use it to avoid medication errors. In computing, the 24-hour clock is the default in most programming languages and log files. If you are scheduling a call with someone in another country, using military time prevents the classic “did you mean AM or PM?” confusion.
Standard time remains common in everyday conversation in the U.S., Canada (in English), Australia, and a few other places. It is also the format used by most analog clocks and many digital devices unless changed. For casual plans with friends, “let’s meet at 7” is fine, but for a flight departure, you want “19:00” to be unambiguous.
Alternatives and Related Tools
Besides a converter, you can use a 24-hour clock on your phone or computer to get used to the format. Many operating systems allow you to switch the clock display to 24-hour mode. You can also practice by mentally converting times you see on a digital clock. Some people use a simple rule: if the hour is greater than 12, subtract 12 and add PM. For example, 17:00 is 5:00 PM. If the hour is 0, it’s midnight. This mental math becomes automatic with practice.
If you need to calculate durations between two military times, you can use a separate time duration calculator. This converter only changes the format, not the amount of time. For example, converting 14:30 to 2:30 PM does not tell you how many hours until 16:00—that requires subtraction.
Frequently Asked Questions
Is 24:00 a valid military time?
In most contexts, no. The 24-hour clock runs from 00:00 to 23:59. 24:00 is sometimes used to indicate the end of a day (equivalent to 00:00 the next day), but it is not standard in military or most technical usage. Stick to 00:00 for midnight.
How do I convert 12:00 AM to military time?
12:00 AM is midnight, which is 00:00 in military time. The hour is 0, not 12. This is a common trap because 12 AM is often written as 12:00, but in 24-hour time it becomes 00:00.
What is 3:30 PM in military time?
3:30 PM is 15:30. Since the hour is 3 PM, add 12 to get 15, and keep the minutes as 30. Always write it with four digits: 15:30.
Do minutes ever change during conversion?
No. The minutes are always the same in both formats. Only the hour changes, and the AM/PM designation is added or removed. For example, 6:45 AM becomes 06:45, and 6:45 PM becomes 18:45.
Why does the military use 24-hour time?
The primary reason is to avoid ambiguity and errors. In combat or emergency situations, a misunderstanding of AM/PM can be disastrous. The 24-hour clock also simplifies time zone conversions and record-keeping, as there is no need to specify AM or PM.
Related
Formula used
in t | Time (HH:MM) | - | 14:30 | 0 sel from | Convert from | Military=1, Standard=2 out conv | Converted time | - | t | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.