24-Hour Time Calculator
Convert between 12-hour and 24-hour (military) time formats.
12-Hour to 24-Hour
24-Hour to 12-Hour
Time Conversion Reference
What Is 24-Hour Time?
The 24-hour clock, often called military time in the United States, is a timekeeping convention where the hours of the day are numbered from 0 to 23. Unlike the 12-hour clock that splits the day into two identical 12-hour halves (AM and PM), the 24-hour system runs continuously from midnight (00:00) through 23:59 before resetting.
This format eliminates the ambiguity of AM and PM, which is why it is universally adopted in medicine, aviation, the military, transportation, computing, and scientific fields. A nurse writing "14:30" in a patient chart cannot be misread as 2:30 in the morning, removing a potentially life-critical error.
Most countries outside the United States use the 24-hour clock in everyday life, and it appears on digital clocks, timetables, and scheduling software worldwide. Understanding how to convert between the two formats is an essential skill for international travel, shift-work scheduling, and any profession that spans time zones.
This free 24-hour time calculator handles both conversion directions instantly — enter a 12-hour AM/PM time and get the 24-hour equivalent, or enter a 24-hour time and see the 12-hour result along with the spoken military pronunciation.
The Conversion Formula
The rules for converting between 12-hour and 24-hour formats follow a consistent pattern based on the AM/PM period and the hour value. The only special cases are 12:00 AM (midnight = 00:xx) and 12:00 PM (noon = 12:xx).
12-Hour to 24-Hour Conversion
Where:
- H24= Hour in 24-hour format (0–23)
- H12= Hour in 12-hour format (1–12)
- AM= Times from midnight up to but not including noon (12:00 AM = 00:00)
- PM= Times from noon up to but not including midnight (12:00 PM = 12:00)
The AM and PM Rules Explained
The four conversion rules are straightforward once you learn the two special cases for 12. For AM hours: 12:xx AM converts to 00:xx (midnight hour), and any other AM hour (1 AM through 11 AM) stays the same number. For PM hours: 12:xx PM stays as 12:xx (noon hour), and any other PM hour (1 PM through 11 PM) is increased by 12.
A quick memory trick: add 12 to any PM hour except 12, and subtract 12 from 12 AM to get midnight (00). This applies to minutes identically in both systems — 3:45 PM is simply 15:45, while 3:45 AM is 03:45.
Military time drops the colon and uses four digits with "hours" appended when spoken aloud. So 14:30 is written as "1430" and spoken as "fourteen thirty hours." Midnight is "zero zero hundred hours" (0000) and noon is "twelve hundred hours" (1200).
Common Time Conversions Quick Reference
Some times come up frequently in daily scheduling. Here are the most commonly needed conversions so you can verify your mental math:
- 12:00 AM (midnight) = 00:00
- 6:00 AM = 06:00
- 12:00 PM (noon) = 12:00
- 1:00 PM = 13:00
- 5:00 PM = 17:00
- 9:30 PM = 21:30
- 11:59 PM = 23:59
The built-in reference table on this calculator shows all 24 hours side-by-side, so you can visually scan the correspondence between formats at a glance.
When to Use Each Format
Choosing the right time format depends on your context. In healthcare and emergency services, 24-hour time is mandatory to prevent dangerous dosing errors. In aviation and shipping, UTC timestamps always use 24-hour notation. Computer systems and log files default to ISO 8601, which uses 24-hour time in the form HH:MM:SS.
In everyday American conversation, 12-hour time with AM/PM is the social norm — "let's meet at 3 PM" is clearer to most people than "let's meet at 15:00." Both are equally correct; the context determines which is more practical. When scheduling international meetings or writing legal documents with precise timestamps, defaulting to 24-hour format eliminates any possible ambiguity.
Worked Examples
Convert 3:45 PM to 24-Hour
Problem:
A meeting is scheduled at 3:45 PM. What is the 24-hour (military) time?
Solution Steps:
- 1Identify the period: PM
- 2Since it is PM and the hour is not 12, apply the formula: H24 = H12 + 12 = 3 + 12 = 15
- 3Keep the minutes unchanged: 45
- 4Combine: 15:45. Military spoken form: 'fifteen forty-five hours'
Result:
3:45 PM = 15:45 (military: 1545 hours)
Convert 12:30 AM to 24-Hour
Problem:
A shift starts at 12:30 AM (just after midnight). What is the 24-hour equivalent?
Solution Steps:
- 1Identify the period: AM
- 2The hour is 12. Apply the AM special case: H24 = 0 (midnight rule)
- 3Keep the minutes unchanged: 30
- 4Combine: 00:30. Military spoken form: 'zero zero thirty hours'
Result:
12:30 AM = 00:30 (military: 0030 hours)
Convert 19:05 to 12-Hour
Problem:
A flight departs at 19:05. What is that in 12-hour AM/PM time?
Solution Steps:
- 1Identify: hour 19 is greater than 12, so it is PM
- 2Apply reverse formula: H12 = H24 - 12 = 19 - 12 = 7
- 3Keep minutes unchanged: 05
- 4Combine with PM suffix: 7:05 PM
Result:
19:05 = 7:05 PM
Tips & Best Practices
- ✓Add 12 to any PM hour (except 12) to get 24-hour time: 7 PM → 19, 10 PM → 22.
- ✓Subtract 12 from any 24-hour value above 12 to get the PM hour: 17 → 5 PM.
- ✓12 AM is always 00:00 (midnight); 12 PM is always 12:00 (noon) — memorize these two special cases.
- ✓When scheduling across time zones, use 24-hour UTC timestamps to avoid AM/PM confusion.
- ✓Military time drops the colon: write '0830' not '08:30' in formal military documents.
- ✓Most smartphones let you switch the system clock between 12-hour and 24-hour display in Settings.
- ✓In computing, ISO 8601 uses 24-hour time. Parsing '2024-06-15T14:30:00Z' means 2:30 PM UTC.
- ✓When reading a timetable in Europe, remember that 00:00–00:59 is midnight hour, not noon.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-06
Help us improve!
How would you rate the 24-Hour Time Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Standard Mathematical References
by Various