Convert 12 to 24-hour
Theory
To change a pm time to 24-hour time, add 12 to the hour; to change back, subtract 12. Morning times keep their hour, with a zero in front. The two \(12\) o’clock hours are the special cases. This Year 5 maths page shows every case with examples.
am times run from midnight to just before midday. pm times run from midday to just before midnight.
am to 24-hour: keep the hour and write four digits: \(\text{10:25 am} = \text{10:25}\), \(\text{3:10 am} = \text{03:10}\).
pm to 24-hour: add \(12\) to the hour: \(\text{5:40 pm} = \text{17:40}\).
Special cases: the \(12\) am hour is \(00\) (\(\text{12:35 am} = \text{00:35}\)); the \(12\) pm hour stays \(12\) (\(\text{12:05 pm} = \text{12:05}\)).
24-hour to 12-hour: hours \(13\) to \(23\): subtract \(12\) and write pm. Hour \(12\): pm. Hour \(00\): write \(12\) and am. Other hours: drop the leading zero and write am.
Conversion table for the hours:
| 12-hour | 24-hour |
|---|---|
| \(12\) am (midnight hour) | \(00\) |
| \(1\) am to \(11\) am | \(01\) to \(11\) |
| \(12\) pm (midday hour) | \(12\) |
| \(1\) pm to \(11\) pm | \(13\) to \(23\) (add \(12\)) |
12-hour to 24-hour
- am: keep the hour (but \(12\) am becomes \(00\)).
- pm: add \(12\) to the hour (but \(12\) pm stays \(12\)).
- Write four digits.
24-hour to 12-hour
- Hour 13 to 23: subtract \(12\), write pm.
- Hour 12: write pm. Hour 00: write \(12\) and am.
- Hour 01 to 11: drop the leading zero, write am.
| \(5 + 12\) | \(=\) | \(17\) |
\(\text{17:40}\).
(i) \(\text{10:25 am}\)
(ii) \(\text{3:10 am}\)
(i) \(\text{10:25}\)
(ii) \(\text{03:10}\)
| \(16 - 12\) | \(=\) | \(4\) |
\(\text{4:55 pm}\).
(i) \(\text{23:35}\)
(ii) \(\text{21:20}\)
| \(23 - 12\) | \(=\) | \(11\) |
| \(21 - 12\) | \(=\) | \(9\) |
(i) \(\text{11:35 pm}\)
(ii) \(\text{9:20 pm}\)
The midnight hour is \(00\): \(\text{00:35}\).
The midday hour stays \(12\): \(\text{12:05}\).
\(\text{6:15 am}\), \(\text{12:00 pm}\) (midday), \(\text{7:50 pm}\).
She added \(12\) to a morning time. It should be \(\text{04:15}\); \(\text{16:15}\) is \(\text{4:15 pm}\).
Common pitfalls
Frequently asked questions
How do you change a pm time to 24-hour time?
Add \(12\) to the hour: \(\text{5:40 pm} = \text{17:40}\).
How do you change 24-hour time to pm?
Subtract \(12\) from hours \(13\) to \(23\): \(\text{16:55} = \text{4:55 pm}\).
What is 12:35 am in 24-hour time?
\(\text{00:35}\).
What is 12:05 pm in 24-hour time?
\(\text{12:05}\).
Why do morning times start with 0?
24-hour times always have four digits, so \(3{:}10\) am is \(\text{03:10}\).