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.
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
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.
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.
- 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-Hour | 24-Hour | 12-Hour | 24-Hour |
|---|---|---|---|
| 12:00 AM | 00:00 | 12:00 PM | 12:00 |
| 1:00 AM | 01:00 | 1:00 PM | 13:00 |
| 2:00 AM | 02:00 | 2:00 PM | 14:00 |
| 3:00 AM | 03:00 | 3:00 PM | 15:00 |
| 4:00 AM | 04:00 | 4:00 PM | 16:00 |
| 5:00 AM | 05:00 | 5:00 PM | 17:00 |
| 6:00 AM | 06:00 | 6:00 PM | 18:00 |
| 7:00 AM | 07:00 | 7:00 PM | 19:00 |
| 8:00 AM | 08:00 | 8:00 PM | 20:00 |
| 9:00 AM | 09:00 | 9:00 PM | 21:00 |
| 10:00 AM | 10:00 | 10:00 PM | 22:00 |
| 11:00 AM | 11:00 | 11:00 PM | 23: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.