Skip to main content
Time Converters

12-Hour to 24-Hour Converter

Convert AM/PM times into 24-hour notation.

By Iqbal Hussain, Founder and calculator developer · Formulas checked against worked examples · Last updated

12-Hour to 24-Hour Converter

Convert AM/PM times into 24-hour notation.

Calculated Result
—
Adjust inputs above to calculate instantly.

How 12-Hour to 24-Hour Converter Works?

The 12-Hour to 24-Hour Converter works by adding 12 to PM hours from 1 to 11 and changing 12 AM to 00, while AM hours from 1 to 11 stay the same.

  1. 1

    Enter the 12-hour time

    Type a time with AM or PM, for example 3:45 PM.

  2. 2

    Apply the PM rule

    PM hours from 1 to 11 get +12: 3 + 12 = 15.

  3. 3

    Read 24-hour time

    The result is 15:45.

12-Hour to 24-Hour Converter Formula

The 12-Hour to 24-Hour formula is HH₂₄ = HH₁₂ + 12 for PM (except 12 PM) and HH₂₄ = 0 for 12 AM.

AM: 12 → 00, 1–11 → same | PM: 12 → 12, 1–11 → HH + 12
  • HH₁₂: hour on the 12-hour clock (1–12).
  • HH₂₄: hour on the 24-hour clock (00–23).
  • Minutes: stay unchanged.

Example: 11:20 PM → 11 + 12 = 23:20. 12:05 AM → 00:05. 12:30 PM → 12:30.

12-Hour to 24-Hour Converter Conversion Table

The 12-Hour to 24-Hour conversion table lists all 24 hours of the day.

12-Hour24-Hour12-Hour24-Hour
12:00 AM00:0012:00 PM12:00
1:00 AM01:001:00 PM13:00
2:00 AM02:002:00 PM14:00
3:00 AM03:003:00 PM15:00
4:00 AM04:004:00 PM16:00
5:00 AM05:005:00 PM17:00
6:00 AM06:006:00 PM18:00
7:00 AM07:007:00 PM19:00
8:00 AM08:008:00 PM20:00
9:00 AM09:009:00 PM21:00
10:00 AM10:0010:00 PM22:00
11:00 AM11:0011:00 PM23:00

What is 12-Hour to 24-Hour Converter?

The 12-Hour to 24-Hour Converter is a clock format converter that changes AM/PM times into 24-hour notation (00:00–23:59).

The 2 edge cases cause most errors: 12:00 AM is midnight (00:00) and 12:00 PM is noon (12:00). The 12-Hour to 24-Hour Converter applies both rules automatically.

What are the uses of 12-Hour to 24-Hour Converter?

There are 5 main uses of the 12-Hour to 24-Hour Converter, including international travel, software input, and shift scheduling.

  • International travel

    Travelers convert a 9:40 PM departure into 21:40 for a European timetable.

  • Software input

    Developers convert 4:15 PM into 16:15 for ISO 8601 timestamps.

  • Shift scheduling

    Schedulers convert 11:00 PM into 23:00 for rota systems.

  • Medical records

    Clinicians convert 2:30 AM into 02:30 for charting.

  • Spreadsheet sorting

    Analysts convert times to 24-hour format so 1:00 PM sorts after 11:00 AM.

12-Hour to 24-Hour Converter FAQ

How do I use the 12-Hour to 24-Hour Converter?

1. Enter the 12-hour time: Type a time with AM or PM, for example 3:45 PM. 2. Apply the PM rule: PM hours from 1 to 11 get +12: 3 + 12 = 15. 3. Read 24-hour time: The result is 15:45.

What formula does the 12-Hour to 24-Hour Converter use?

The 12-Hour to 24-Hour formula is HH₂₄ = HH₁₂ + 12 for PM (except 12 PM) and HH₂₄ = 0 for 12 AM. In short: AM: 12 → 00, 1–11 → same | PM: 12 → 12, 1–11 → HH + 12.

Can you show a worked example?

11:20 PM → 11 + 12 = 23:20. 12:05 AM → 00:05. 12:30 PM → 12:30.

Related Time Converters Tools

View All Calculators →