Reading the Clock · How-To

How to Convert 24-Hour Time to 12-Hour Time (Step by Step)

Every 24-hour time converts to 12-hour AM/PM using the same short set of rules — no guessing, no calculator required once you know the pattern. Here is the exact method, worked case by case, plus a mental shortcut and a spreadsheet formula for doing it at scale.

By Reviewed 7 min read

Key takeaways

  • Every 24-hour time falls into one of four hour ranges, and each range has exactly one rule for converting it.
  • The minutes never change — only the hour number and the AM/PM label move.
  • The one hour people get wrong is 12:00: it stays 12 and just picks up a PM label, because 12:00 in 24-hour time is noon.
  • For hours 13–23, subtracting 12 is the whole job: 20:00 − 12 = 8:00 PM.
  • Converting a whole list by hand is slow and error-prone — a spreadsheet formula or the live converter does it instantly and consistently.

A shift schedule says a warehouse worker starts at 14:00. Read literally, most people can work out that's somewhere in the afternoon — but is it 2 o'clock, or did someone mean 4? The fastest way to remove that doubt is to convert it properly, and the good news is that 24-hour-to-12-hour conversion isn't a judgment call. It's a fixed, mechanical rule with exactly four cases, and once you've done it a dozen times by hand, you'll do it in your head without thinking.

This guide walks through that rule precisely, with worked examples for every case, a shortcut for doing it mentally, and a method for converting a whole list of times at once — in a spreadsheet or by hand. If you already know how the two clocks differ conceptually, the 12-hour vs 24-hour guide covers that ground; this post is purely about the conversion mechanics.

01The one rule behind every conversion

Strip away the cases and there's a single idea underneath all of them: a 24-hour time and its 12-hour equivalent point at the exact same moment. Converting doesn't change when something happens — it only changes how that moment is written down. That means two things stay fixed no matter what: the minutes, and the actual instant in the day. What changes is the hour number (sometimes) and whether you attach AM or PM.

Because the 12-hour clock has no zero and repeats 1 through 12 twice a day, the conversion has to do two jobs at once: fold any hour above 12 back down into the 1–12 range, and attach the correct label so the reader knows which half of the day it fell in originally. Everything below is just that logic applied to four hour bands.

02The four conversion cases

Every 24-hour time lands in exactly one of these four ranges. Find the range, apply its rule, and you're done.

24-hour to 12-hour · the four rules
24-hour rangeRuleExample
00:00–00:59Add 12 to the hour, label AM00:15 → 12:15 AM
01:00–11:59Hour stays the same, label AM09:15 → 9:15 AM
12:00–12:59Hour stays 12, label PM12:15 → 12:15 PM
13:00–23:59Subtract 12 from the hour, label PM14:15 → 2:15 PM

The one case that isn't "just subtract 12"

Every range except 12:00–12:59 follows an add-or-subtract pattern. That hour is the exception: it doesn't move at all, it just changes label from nothing to PM. Treat it as a rule of its own rather than trying to force it into the same math as the others.

Want the direction filled in for you? The 24-hour to 12-hour converter applies this exact table instantly — type a time, get the answer, no arithmetic required. This section is for when you want to do it yourself, on paper or in your head.

03Worked examples, case by case

Here's each rule applied to a real time, so you can see the mechanics rather than just the formula.

Worked example · 00:42 (midnight hour)

  1. Hour is 00, minutes are 42. That falls in the 00:00–00:59 range.
  2. Rule: add 12 to the hour, label AM. 0 + 12 = 12, so the hour becomes 12.
  3. Minutes stay 42. Result: 12:42 AM.

Worked example · 07:05 (morning hour)

  1. Hour is 07, minutes are 05. That falls in the 01:00–11:59 range.
  2. Rule: hour stays the same, label AM. 7 stays 7.
  3. Minutes stay 05. Result: 7:05 AM.

Worked example · 12:30 (noon hour)

  1. Hour is 12, minutes are 30. That falls in the 12:00–12:59 range.
  2. Rule: hour stays 12, label PM. No addition or subtraction — just relabel.
  3. Minutes stay 30. Result: 12:30 PM.

Worked example · 21:58 (evening hour)

  1. Hour is 21, minutes are 58. That falls in the 13:00–23:59 range.
  2. Rule: subtract 12 from the hour, label PM. 21 − 12 = 9.
  3. Minutes stay 58. Result: 9:58 PM.

04What happens to the minutes

They don't move — ever. This is the detail people second-guess themselves on most, usually because they've just spent effort adjusting the hour and assume the minutes need the same treatment. They don't. 16:47 becomes 4:47 PM, not 4:12 PM or any other adjusted figure; the 47 carries straight across. The only place minutes get touched is if you're rounding for payroll purposes, which is a separate calculation covered in the timesheet rounding guide — plain time-format conversion never rounds anything.

05Converting in your head, fast

Once the four-case table is familiar, most conversions take a second or two without writing anything down. Two shortcuts do most of the work:

  • For hours 13–19, drop the leading 1 and read the rest as the PM hour: 13→1 PM, 14→2 PM, up to 19→7 PM. It's the same as subtracting 12, but faster to see at a glance.
  • For hours 20–23, the pattern shifts to 8–11: 20→8 PM, 21→9 PM, 22→10 PM, 23→11 PM. Memorising this short four-item list removes the need to subtract at all for evening times.

For the two edge hours, skip the math entirely and just remember the label swap: 00 is always 12 AM, and 12 is always 12 PM. Nothing to calculate — those two are pure lookups.

A quick self-check

After converting, ask whether the result matches the time of day you'd expect. A shift starting at 05:30 should land in the early morning — if your conversion put it in the evening, you've mixed up a case.

06Converting a full list of times

Converting one time is easy by hand; converting a whole timetable is where mistakes creep in, usually because the same case gets applied to every row instead of checking each one individually. Here's a short train timetable converted using the table above, row by row:

Sample timetable · converted individually
24-hourCase applied12-hour
06:45Hour 1–11, keep + AM6:45 AM
12:00Hour 12, keep + PM12:00 PM
13:30Hour 13–23, subtract 12 + PM1:30 PM
18:05Hour 13–23, subtract 12 + PM6:05 PM
23:50Hour 13–23, subtract 12 + PM11:50 PM

Working a list this way — one row, one case check, one result — is slower than eyeballing it, but it's the method that doesn't produce a mislabelled row buried in a longer table. For anything longer than a handful of times, a formula (next section) or the converter removes the risk entirely.

07Converting in Excel or Google Sheets

If your 24-hour times live in a spreadsheet, you don't need to apply the rule by hand at all — a display format or one formula handles every row at once. There are two situations, depending on how the times are stored:

If the cell holds a real time value (right-aligned, and you can do time math on it), you only need to change how it's displayed. Select the column, open the custom number format, and enter:

Custom number format

h:mm AM/PM

If the cell holds text that looks like a time but isn't a real time value — common when times are pasted from another system as 14:30 — convert the text to a time value first, then format it, in a single formula:

Formula for text-formatted 24-hour time (cell A1)

=TEXT(TIMEVALUE(A1),"h:mm AM/PM")

Both work identically in Excel and Google Sheets. Drag either one down a column and every row converts using the same four-case logic covered above — the spreadsheet is just applying it faster than a human can.

08Mistakes that trip people up

  • Subtracting 12 from every hour, including morning hours that don't need it. Only 13–23 gets 12 subtracted; 01–11 stays exactly as written.
  • Treating 12:00 like the other cases and subtracting 12 from it, which produces 0:00 PM — not a valid 12-hour time. 12:00 never changes its hour.
  • Forgetting to add 12 to the midnight hour, so 00:30 is left as "0:30" instead of becoming 12:30 AM.
  • Getting the label backwards after doing the arithmetic correctly — subtracting 12 correctly but writing AM instead of PM.
  • Adjusting the minutes when only the hour and label were meant to change.

Skip the arithmetic entirely

Type any 24-hour time and get the 12-hour AM/PM version instantly — free, private, no sign-up.

Open the converter →

24-hour → 12-hour

2:30 PM

Afternoon · post meridiem

Try feeding it the examples from this page — 00:42, 12:30, 21:58 — and check the result against the worked steps above.

09Frequently asked questions

What's the fastest way to convert 24-hour time to 12-hour time?

Check which of four hour ranges the time falls in: 00 becomes 12 AM, 01–11 stays the same and gets AM, 12 stays 12 and gets PM, and 13–23 gets 12 subtracted and PM. The minutes never change.

Do the minutes change when converting 24-hour time to 12-hour time?

No. Only the hour and the AM/PM label change. If the 24-hour time is 16:47, the minutes stay 47 in the 12-hour version, 4:47 PM.

How do you convert 00:00 to 12-hour time?

00:00 becomes 12:00 AM. Any time from 00:00 to 00:59 gets 12 hours added and the label AM, so 00:20 is 12:20 AM.

How do you convert times from 13:00 to 23:00 to 12-hour time?

Subtract 12 from the hour and add PM. For example, 20:15 minus 12 is 8, so 20:15 becomes 8:15 PM.

Is there a formula to convert 24-hour time to 12-hour time in Excel or Google Sheets?

If the cell holds a real time value, format it with a custom number format of h:mm AM/PM. If it holds text like 14:30, wrap it first: =TEXT(TIMEVALUE(A1),"h:mm AM/PM").

What's the most common mistake when converting 24-hour time to 12-hour time?

Treating 12:00 as if it should become 0:00 or get 12 subtracted from it. 12:00 stays 12 — it only picks up the PM label, because 12:00 in 24-hour time is noon, not midnight.

Fletcher Langley

Fletcher Langley

Time & Scheduling Specialist · 24hourto12hour.com

Operations and workforce-systems specialist with 14+ years inside shift-based industries and payroll platforms. Fletcher builds and reviews every tool on the site, and writes its guides so the method is always shown, not just the answer. Read his full profile →

Sources & standards

  1. ISO 8601-1:2019, Date and time — Representations for information interchange — the standard defining the 24-hour notation converted in this guide. iso.org
  2. Microsoft Support, custom number format codes for time (h:mm AM/PM) in Excel. support.microsoft.com
  3. Every case in the conversion table and every worked example was verified by hand against the rule before publication. Last reviewed August 2026.