24 Hour Time Converter: How to Read Military Time
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 24-hour time converter turns any time between 12:00 AM and 11:59 PM into its 24-hour (military) equivalent, and vice versa. You enter a time in either format, and the calculator returns the matching time in the other format, plus the hour and minute components separately. It’s built for travelers, shift workers, military personnel, and anyone who needs to read train schedules, flight itineraries, or hospital charts without confusion.
Formula
The conversion between 12-hour and 24-hour time depends on the period (AM/PM) and the hour number. For 12-hour to 24-hour: if the time is in AM and the hour is 12, the 24-hour hour becomes 0. If the time is in PM and the hour is not 12, add 12 to the hour. All other hours stay the same. For 24-hour to 12-hour: if the hour is 0, it becomes 12 AM. If the hour is 1–11, it remains the same with AM. If the hour is 12, it stays 12 PM. If the hour is 13–23, subtract 12 and add PM. Minutes never change.
Variables: t = the time you enter (e.g., 3:45 PM), f = the direction of conversion (12-hour to 24-hour or 24-hour to 12-hour). The output conv is the converted time in the target format.
Worked Example
Using the default input of 3:45 PM and converting from 12-hour to 24-hour:
Step 1: Identify the period: PM.
Step 2: Since it’s PM and the hour (3) is not 12, add 12 to the hour: 3 + 12 = 15.
Step 3: Keep the minutes: 45.
Step 4: Write the 24-hour time as 15:45.
Result: 3:45 PM converts to 15:45 in 24-hour time.
When to Use a 24-Hour Time Converter
Use this converter whenever you encounter a time in a format you’re not used to. For example, if you book a flight and the departure is listed as 14:30, you can quickly convert it to 2:30 PM. If you work in healthcare or the military, you’ll need to read and write times in 24-hour format daily. This tool also helps when setting alarms on devices that default to 24-hour mode, or when coordinating with colleagues in countries where 24-hour time is standard, such as most of Europe, Asia, and Latin America.
How to Read the Result
The main output shows the converted time in the format you selected. The hour and minute outputs break the time into its numeric components, which is useful if you need to input the time into a system that expects separate fields. Remember that 24-hour time runs from 00:00 (midnight) to 23:59 (one minute before the next midnight). There is no AM or PM in 24-hour time; the hour number itself tells you the period.
Common Mistakes
One common mistake is confusing 12:00 AM with 12:00 PM. 12:00 AM is midnight (00:00 in 24-hour time), while 12:00 PM is noon (12:00 in 24-hour time). Another mistake is forgetting to add 12 to PM hours other than 12—for example, converting 1:00 PM to 13:00, not 01:00. Also, when converting from 24-hour to 12-hour, remember that 00:00 is 12:00 AM, not 12:00 PM. Always double-check whether the hour is 0, 12, or 13–23.
Limits of the Formula
This converter assumes a standard 12-hour clock with AM/PM and a 24-hour clock with hours from 0 to 23. It does not account for time zones, daylight saving time, or date changes. For example, if you convert 23:30 to 12-hour time, it gives 11:30 PM, but you still need to know the date to determine whether that’s today or tomorrow. The calculator also expects valid times: minutes from 00 to 59 and hours from 1 to 12 (for 12-hour) or 0 to 23 (for 24-hour).
How to Use This List
Below is a list of 24 common conversions that illustrate how 12-hour and 24-hour times correspond. Use it as a quick reference when you don’t have the calculator handy. The list is organized by period (midnight to early morning, morning, afternoon, evening, and night) so you can find the range you need. For any time not listed, use the calculator or apply the simple rules: add 12 to PM hours (except 12 PM), and convert 12 AM to 0.
Common Conversions at a Glance
- 12:00 AM → 00:00 – Midnight, the start of the day in 24-hour time.
- 1:00 AM → 01:00 – One hour after midnight, often written as 0100 in military time.
- 2:00 AM → 02:00 – Early morning, when most people are asleep.
- 3:00 AM → 03:00 – The hour often associated with the “witching hour.”
- 4:00 AM → 04:00 – A common time for bakers and early shift workers to start.
- 5:00 AM → 05:00 – When many gyms open and early commuters leave.
- 6:00 AM → 06:00 – Sunrise in many regions, and a typical alarm time.
- 7:00 AM → 07:00 – The start of many school and office days.
- 8:00 AM → 08:00 – When most businesses open their doors.
- 9:00 AM → 09:00 – A standard meeting time in corporate settings.
- 10:00 AM → 10:00 – Mid-morning, often a coffee break time.
- 11:00 AM → 11:00 – Late morning, just before noon.
- 12:00 PM → 12:00 – Noon, the middle of the day.
- 1:00 PM → 13:00 – The first PM hour, add 12 to convert.
- 2:00 PM → 14:00 – Early afternoon, often after lunch.
- 3:00 PM → 15:00 – The default example in this calculator.
- 4:00 PM → 16:00 – When school lets out in many districts.
- 5:00 PM → 17:00 – The traditional end of the workday.
- 6:00 PM → 18:00 – Dinner time for many families.
- 7:00 PM → 19:00 – Prime-time television starts in the US.
- 8:00 PM → 20:00 – Evening, often when evening classes begin.
- 9:00 PM → 21:00 – Late evening, when children’s bedtimes often fall.
- 10:00 PM → 22:00 – Night, when many people wind down.
- 11:00 PM → 23:00 – The last hour before midnight.
Frequently Asked Questions
What is 12:30 AM in 24-hour time?
12:30 AM is 00:30 in 24-hour time, because midnight is 00:00 and minutes follow normally.
How do I convert 3:45 PM to 24-hour time?
Add 12 to the hour: 3 + 12 = 15, so 3:45 PM becomes 15:45.
Is 24-hour time the same as military time?
Yes, military time uses the same 24-hour clock, though it often omits the colon and adds the word “hours” (e.g., 1500 hours).
What is 00:00 in 12-hour time?
00:00 is 12:00 AM (midnight).
Why does 12:00 PM become 12:00 in 24-hour time?
Because noon is the 12th hour, and the rule for PM is to add 12 only if the hour is not 12, so 12 PM stays 12:00.
Does the converter handle seconds?
The calculator as specified does not include seconds, but you can manually add them to the time string if needed.
Final Thoughts
Converting between 12-hour and 24-hour time is a simple skill that becomes automatic with practice. Keep this list handy for the most common hours, and use the calculator for any time that isn’t on the list. Once you get used to seeing 14:00 as 2 PM and 22:00 as 10 PM, you’ll wonder why the 12-hour clock ever seemed necessary.
Related
Formula used
in t | Time (12-hour) | - | 3:45 PM | 0 in f | Format to convert | - | 12-hour to 24-hour | 0 out conv | Converted time | - | t | 0 out hour | Hour (24h) | - | 0 | 0 out min | Minute | - | 0 | 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.