12-Hour or 24-Hour Time? Clear Answer
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.
Most of the world uses the 24-hour clock, but the 12-hour clock is standard in the United States, Canada (mostly English-speaking), Australia, New Zealand, and parts of Latin America. The choice depends on where you live and the context—military, aviation, and computing almost always use 24-hour time.
Formula
To convert minutes after midnight to 12-hour time: hours = floor(t / 60), minutes = t % 60. If hours is 0, set hours to 12 (midnight). If hours is 12, keep 12 (noon). If hours is greater than 12, subtract 12. Append “AM” if t < 720 (before noon), otherwise “PM”. To convert to 24-hour time: hours = floor(t / 60), minutes = t % 60, written as HH:MM with leading zeros.
Worked Example
Using the default value of 720 minutes (12:00 PM):
- Hours = floor(720 / 60) = 12, minutes = 720 % 60 = 0.
- 12-hour: hours is 12, so keep 12, minutes 0 → 12:00 PM (since 720 is not less than 720, it’s PM).
- 24-hour: 12:00.
So 720 minutes after midnight is 12:00 PM in 12-hour format and 12:00 in 24-hour format.
Why Two Systems?
The 12-hour clock dates back to ancient Egypt and Mesopotamia, where sundials were divided into 12 hours of daylight and 12 hours of night. The 24-hour clock (often called military time in the US) became popular in the late 19th century with railway timetables, because it eliminates ambiguity between AM and PM. Most countries adopted it for official use, but the 12-hour clock persisted in everyday speech in English-speaking countries.
Where Each Is Used
- 24-hour clock: Most of Europe, Latin America, Africa, Asia, and the military/aviation worldwide. Also standard in computing (e.g., Unix timestamps, 24-hour format in programming).
- 12-hour clock: United States, Canada (English-speaking), Australia, New Zealand, India, Philippines, and a few others. Even in these countries, 24-hour time appears in train schedules, hospitals, and the military.
How to Read and Convert
In 24-hour time, hours run from 00 to 23. Midnight is 00:00, noon is 12:00. To convert to 12-hour: subtract 12 from hours if greater than 12, and add PM. For example, 14:30 becomes 2:30 PM. To convert 12-hour to 24-hour: if PM and not 12, add 12 (e.g., 3:45 PM becomes 15:45). If AM and 12, change to 0 (12:15 AM becomes 00:15).
Common Mistakes and Confusion
A frequent error is assuming 12:00 AM is noon. It’s midnight. 12:00 PM is noon. Another mix-up: in 24-hour time, 00:00 is midnight, and 24:00 is sometimes used to mean the end of the day, but it’s not standard. Also, when converting, forgetting to add 12 for PM hours (except 12 PM itself) leads to errors. For example, 11:00 PM is 23:00, not 11:00.
How to Choose for Your Needs
If you live in a 12-hour country, you can still use 24-hour time on your phone or computer if you prefer clarity. For international communication, especially with people in Europe or Asia, using 24-hour time avoids confusion. In professional contexts like aviation, medicine, or software, 24-hour time is the norm. For personal scheduling, use whatever is most natural to you—both are correct, just different conventions.
Alternatives and Related Concepts
Some places use a hybrid: in the UK, you might see “14:30” on a train ticket but “2:30pm” in casual writing. The ISO 8601 standard for dates and times uses 24-hour format (e.g., 2025-03-15T14:30:00). Some digital clocks allow you to switch between 12 and 24 hour modes. There’s also the 12-hour clock with “noon” and “midnight” as special cases, and some languages use “0” instead of “12” for midnight in 24-hour speech.
Frequently Asked Questions
Is 24-hour time more accurate?
Both are equally accurate; 24-hour time just removes ambiguity about AM/PM. It’s not more precise, but it’s less likely to be misread.
Why does the US use 12-hour time?
Historical and cultural inertia. The US never officially adopted the 24-hour clock for civilian use, and it remains common in everyday life, despite military and some industries using 24-hour time.
How do I write 12:30 AM in 24-hour time?
00:30. Midnight is 00:00, and the first hour after midnight is 00:xx.
Is it “12:00 PM” or “12:00 noon”?
12:00 PM is correct for noon, but to avoid confusion, many style guides recommend writing “12:00 noon” or “12:00 midnight” instead.
Do all countries use 24-hour time?
No. Many countries use 12-hour time in everyday speech, but even in those, official documents and schedules often use 24-hour time. It’s a mix rather than a strict divide.
Related
Formula used
in t | Time (minutes after midnight) | min | 720 | 0 out h12 | 12-hour time | - | ((t / 60) % 12 == 0 ? 12 : (t / 60) % 12) + ":" + ((t % 60) < 10 ? "0" : "") + (t % 60) + " " + (t < 720 ? "AM" : "PM") | 0 out h24 | 24-hour time | - | floor(t / 60) + ":" + ((t % 60) < 10 ? "0" : "") + (t % 60) | 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.