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

00:0012:00 AM
01:001:00 AM
02:002:00 AM
03:003:00 AM
04:004:00 AM
05:005:00 AM
06:006:00 AM
07:007:00 AM
08:008:00 AM
09:009:00 AM
10:0010:00 AM
11:0011:00 AM
12:0012:00 PM
13:001:00 PM
14:002:00 PM
15:003:00 PM
16:004:00 PM
17:005:00 PM
18:006:00 PM
19:007:00 PM
20:008:00 PM
21:009:00 PM
22:0010:00 PM
23:0011:00 PM

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

H24 = (H12 == 12 ? 0 : H12) if AM; H24 = (H12 == 12 ? 12 : H12 + 12) if PM

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:

  1. 1Identify the period: PM
  2. 2Since it is PM and the hour is not 12, apply the formula: H24 = H12 + 12 = 3 + 12 = 15
  3. 3Keep the minutes unchanged: 45
  4. 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:

  1. 1Identify the period: AM
  2. 2The hour is 12. Apply the AM special case: H24 = 0 (midnight rule)
  3. 3Keep the minutes unchanged: 30
  4. 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:

  1. 1Identify: hour 19 is greater than 12, so it is PM
  2. 2Apply reverse formula: H12 = H24 - 12 = 19 - 12 = 7
  3. 3Keep minutes unchanged: 05
  4. 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

They refer to the same timekeeping system. In civilian contexts it is called '24-hour time' or 'the 24-hour clock.' In United States military and emergency-services contexts, exactly the same system is called 'military time.' The only stylistic difference is that military time is often written without a colon (e.g., 1430 instead of 14:30) and spoken with 'hours' appended ('fourteen thirty hours').
Noon is 12:00 PM and midnight is 12:00 AM — these are the two points that confuse most people. In 24-hour format noon is 12:00 and midnight is 00:00, which removes the ambiguity entirely. Remember: PM stands for 'post meridiem' (after the midday meridian), so noon itself is the start of PM.
For any PM hour from 1 PM to 11 PM, simply add 12 to the hour number. So 4 PM becomes 16, 8 PM becomes 20, and 11 PM becomes 23. For AM times (1 AM to 11 AM) the hour stays the same but is zero-padded for single digits (e.g., 9 AM is 09:00). The only exceptions are 12 AM (becomes 00) and 12 PM (stays 12).
Yes — the majority of countries use the 24-hour clock in everyday contexts including transportation schedules, official documents, and digital displays. The United States, Canada, Australia, and a handful of other countries are among the few where 12-hour AM/PM notation dominates in casual speech. However, even in those countries, digital clocks, computer logs, healthcare records, and the military use 24-hour format.
0000 (spoken as 'zero zero hundred hours') is midnight — the very start of a new day. Note that 2400 is sometimes used to denote the end of a day (the same moment as 0000 of the next day), but strictly speaking 0000 is the standard notation. Avoid writing 2400 in computerized systems as it can cause parsing errors.

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.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.