24 Hour to 12 Hour Converter
Convert any 24-hour (military) time to 12-hour AM/PM format and vice versa. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Abdullah, Technical Content Specialist
24 Hour to 12 Hour Converter
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: If hour >= 12: PM, hour12 = hour - 12 (or 12 if 0). If hour < 12: AM, hour12 = hour (or 12 if 0).
Worked example โ 14:30 = 2:30 PM
Formula
If hour >= 12: PM, hour12 = hour - 12 (or 12 if 0). If hour < 12: AM, hour12 = hour (or 12 if 0).
For 24-to-12 conversion: Hours 0-11 are AM, hours 12-23 are PM. Subtract 12 from PM hours (13-23) to get the 12-hour value. Special cases: hour 0 becomes 12 AM (midnight), hour 12 stays 12 PM (noon). Minutes are unchanged.
Worked Examples
Example 1: Afternoon Time Conversion
Problem:Convert 14:30 (24-hour) to 12-hour format.
Solution:Hour is 14, which is greater than 12, so it is PM. Subtract 12 from the hour: 14 - 12 = 2. Minutes stay the same: 30. Result: 2:30 PM. Military spoken form: fourteen thirty hours.
Result:14:30 = 2:30 PM
Example 2: Midnight Conversion
Problem:Convert 00:15 (24-hour) to 12-hour format.
Solution:Hour is 0, which is the special midnight case. In 12-hour format, hour 0 becomes 12 AM. Minutes stay the same: 15. Result: 12:15 AM. Military spoken form: zero zero fifteen hours.
Result:00:15 = 12:15 AM (fifteen minutes past midnight)
Frequently Asked Questions
How do I convert 24-hour time to 12-hour time?
Converting 24-hour time to 12-hour time follows simple rules. For hours 1 through 11, the number stays the same and you add AM. For hour 0 (midnight), it becomes 12 AM. For hour 12 (noon), it stays 12 but you add PM. For hours 13 through 23, subtract 12 from the hour and add PM. For example, 14:30 becomes 2:30 PM (14 minus 12 equals 2), 09:15 stays 9:15 AM, 00:00 becomes 12:00 AM, and 23:45 becomes 11:45 PM (23 minus 12 equals 11). Minutes always remain the same in both formats. The trickiest conversions for most people are midnight (00:00 equals 12:00 AM) and noon (12:00 equals 12:00 PM).
Why do some countries use 24-hour time and others use 12-hour time?
The choice between 24-hour and 12-hour time formats is primarily cultural and historical. Most countries worldwide actually use the 24-hour format for written communication, with the 12-hour format being more common in everyday speech. The United States, Canada, Australia, and the Philippines are among the countries that predominantly use the 12-hour format in daily life. Europe, Latin America, Asia, and Africa generally prefer the 24-hour format. The 12-hour system has ancient roots in Egyptian sundials and Babylonian timekeeping, while the 24-hour format became widespread through military use, aviation, and international standardization. Many countries use a hybrid approach where people speak in 12-hour format colloquially but write official times in 24-hour format.
What is military time and how is it different from 24-hour time?
Military time is essentially the same as 24-hour time but with some formatting differences and spoken conventions. In standard 24-hour time, you write 14:30 with a colon separator. In military time, you write 1430 without the colon and pronounce it as fourteen thirty hours. Midnight is 0000 (zero hundred hours), noon is 1200 (twelve hundred hours), and times are always spoken with the word hours at the end. Another difference is that military time always uses four digits, so 9:00 AM is written as 0900 rather than 9:00. Military time was adopted by the US military to eliminate ambiguity in communications where confusing AM and PM could have life-threatening consequences. Many emergency services, hospitals, and aviation operations worldwide use this format for the same reason.
How do airlines and airports display time?
Airlines and airports universally use the 24-hour time format to eliminate any possibility of AM/PM confusion, which could cause passengers to miss flights or create scheduling chaos. Departure and arrival times on boarding passes, flight schedules, and airport display boards all use 24-hour notation. For example, a 2:30 PM flight is displayed as 14:30. International flights also reference UTC (Coordinated Universal Time) for coordination between airports in different time zones. The International Air Transport Association (IATA) requires all flight operations to use 24-hour format, and air traffic control worldwide communicates in UTC. This standardization is crucial because a single AM/PM error in aviation could have catastrophic safety implications.
How do I quickly tell if a 24-hour time is AM or PM?
The quickest way to determine AM or PM from a 24-hour time is to look at the hour digits. If the hour is between 00 and 11, it is AM. If the hour is between 12 and 23, it is PM. For the PM hours (13-23), simply subtract 12 to get the 12-hour equivalent: 13 becomes 1 PM, 14 becomes 2 PM, and so on up to 23 becoming 11 PM. A helpful mental trick for hours 13-19 is to subtract 10 and then subtract 2 more (or just remember that the ones digit matches the PM hour for 13-19: 13=1, 14=2, etc.). For hours 20-23, subtract 20 and add 8 (20=8, 21=9, 22=10, 23=11). With practice, these conversions become automatic and instantaneous.
What does the ISO 8601 time format look like?
ISO 8601 is the international standard for representing dates and times, and it exclusively uses the 24-hour format. A complete ISO 8601 date-time looks like 2026-03-24T14:30:00, where the T separates the date from the time. The time portion always uses 24-hour format with colons separating hours, minutes, and seconds. Time zone offsets are appended as +HH:MM or -HH:MM, so 2:30 PM Eastern Time would be 2026-03-24T14:30:00-05:00. UTC time is indicated with a Z suffix: 2026-03-24T19:30:00Z. This format is used extensively in computing, data exchange, scientific publications, and international business communications because it is unambiguous, sortable as a string, and universally understood regardless of local conventions.
Why is 24-hour time used in healthcare?
Healthcare facilities use 24-hour time (often called hospital time) because medication administration, patient monitoring, and medical records require absolute time clarity. An error confusing 2:00 AM with 2:00 PM for a medication dose could lead to a 12-hour delay in treatment, a dangerous double dose, or a missed critical administration window. Studies have shown that AM/PM errors in hospital charting are a real and documented source of medication errors. The Joint Commission, which accredits healthcare organizations, recommends using 24-hour time in medical records. Electronic health record systems typically display times in 24-hour format by default. Emergency medical services, pharmacies, and laboratory results also use 24-hour time to maintain consistency across the healthcare chain.
How do digital clocks and devices handle AM/PM versus 24-hour display?
Most digital devices allow users to choose between 12-hour and 24-hour display formats in their settings. Smartphones, computers, and tablets typically default to the regional format based on your language and country settings. In the United States, devices default to 12-hour with AM/PM, while in most European countries they default to 24-hour format. Internally, all digital devices store time in a format similar to UTC timestamps regardless of display preference. When converting between formats, the device simply changes the display representation without altering the stored time value. Some devices show a small AM/PM indicator in the corner of the clock display in 12-hour mode. Smartwatches with limited screen space often default to 24-hour format to save space by eliminating the AM/PM indicator.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎDate to Julian Day Converter
Convert between calendar dates and Julian Day Numbers used in astronomy and programming.
๐งฎChinese Calendar Converter
Convert between Gregorian calendar dates and the Chinese lunar calendar.
๐งฎHebrew Calendar Converter
Convert between Gregorian and Hebrew calendar dates with Jewish holiday awareness.
๐งฎPersian Calendar Converter
Convert between Gregorian, Hijri, and the Persian Solar Hijri (Jalali) calendar.
๐งฎDecimal Hours Converter
Convert between hours:minutes format and decimal hours for payroll and billing.
๐งฎZodiac Date Range Calculator
Find the exact date ranges for all 12 zodiac signs including cusps.
๐งฎDate Difference Calculator
Calculate the exact number of days, weeks, months, and years between any two dates.
๐งฎAdd Days to Date Calculator
Add or subtract days, weeks, months, or years from any date to find the resulting date.