Skip to content

AM–PM Calculator

Find the hours between two times. 8 AM to 5 PM is 9 hours, or 8 hours with a one-hour unpaid lunch.

Enter two clock times. Choose next day only when the finish is on the following calendar day.

Common shifts

Start time
End time

The same start and end time means zero hours unless you choose next day, which means 24 hours.

Enter 60 for a one-hour lunch to see the hours actually worked.

Elapsed time

8 hr 30 min

8.50 decimal hours

Both clock times are on the same calendar day.

Elapsed time is the span between the two clocks. Add an unpaid break to see worked time. No paid-hours rule or wage calculation is applied.

How many hours is 8am to 5pm?

8:00 AM to 5:00 PM is 9 hours on the clock. If your one-hour lunch is unpaid, you work 8 hours. That difference is why two people can give different answers to the same question: one counts the time between the clocks, the other counts the time actually worked.

The table below answers the shifts people ask about most. The first column is the clock time from start to finish. The other two take away a 30-minute or one-hour unpaid break. For any other times, use the calculator above and enter your break.

Hours between common start and end times, with and without an unpaid break
ShiftHours on the clockWith 30-min breakWith 1-hour break
6:00 AM to 2:00 PM8 hours7 h 30 min7 hours
6:00 AM to 3:00 PM9 hours8 h 30 min8 hours
6:00 AM to 6:00 PM12 hours11 h 30 min11 hours
7:00 AM to 3:00 PM8 hours7 h 30 min7 hours
7:00 AM to 4:00 PM9 hours8 h 30 min8 hours
7:00 AM to 5:00 PM10 hours9 h 30 min9 hours
7:00 AM to 7:00 PM12 hours11 h 30 min11 hours
8:00 AM to 2:00 PM6 hours5 h 30 min5 hours
8:00 AM to 3:00 PM7 hours6 h 30 min6 hours
8:00 AM to 4:00 PM8 hours7 h 30 min7 hours
8:00 AM to 4:30 PM8 h 30 min8 hours7 h 30 min
8:00 AM to 5:00 PM9 hours8 h 30 min8 hours
8:00 AM to 6:00 PM10 hours9 h 30 min9 hours
8:00 AM to 8:00 PM12 hours11 h 30 min11 hours
9:00 AM to 1:00 PM4 hours3 h 30 min3 hours
9:00 AM to 3:00 PM6 hours5 h 30 min5 hours
9:00 AM to 4:00 PM7 hours6 h 30 min6 hours
9:00 AM to 5:00 PM8 hours7 h 30 min7 hours
9:00 AM to 6:00 PM9 hours8 h 30 min8 hours
9:00 AM to 7:00 PM10 hours9 h 30 min9 hours
10:00 AM to 4:00 PM6 hours5 h 30 min5 hours
10:00 AM to 5:00 PM7 hours6 h 30 min6 hours
10:00 AM to 6:00 PM8 hours7 h 30 min7 hours
10:00 AM to 7:00 PM9 hours8 h 30 min8 hours
11:00 AM to 7:00 PM8 hours7 h 30 min7 hours
12:00 PM to 8:00 PM8 hours7 h 30 min7 hours
1:00 PM to 9:00 PM8 hours7 h 30 min7 hours
2:00 PM to 10:00 PM8 hours7 h 30 min7 hours

Night shifts that end the next morning

For an overnight shift, count to midnight first, then add the hours after midnight. 10:00 PM to 6:00 AM is 2 hours to midnight plus 6 hours after it, so 8 hours. In the calculator, tick End time is on the next day, or tap Treat end time as next day when the calculator asks.

Hours for common overnight shifts, with and without an unpaid break
ShiftHours on the clockWith 30-min breakWith 1-hour break
10:00 PM to 6:00 AM (next day)8 hours7 h 30 min7 hours
10:00 PM to 7:00 AM (next day)9 hours8 h 30 min8 hours
11:00 PM to 7:00 AM (next day)8 hours7 h 30 min7 hours
7:00 PM to 7:00 AM (next day)12 hours11 h 30 min11 hours
8:00 PM to 8:00 AM (next day)12 hours11 h 30 min11 hours
8:00 PM to 7:00 AM (next day)11 hours10 h 30 min10 hours
6:00 PM to 6:00 AM (next day)12 hours11 h 30 min11 hours

A quick way to count it in your head

Count from the start to 12 noon, then add the hours after noon. For 7:00 AM to 4:00 PM, that is 5 hours to noon plus 4 hours after, so 9 hours. For 8:00 AM to 4:30 PM, it is 4 hours plus 4 hours 30 minutes, so 8 hours 30 minutes, or 8.5 decimal hours. Then take away any unpaid break.

Find elapsed time without guessing at the clock

A start time of 9:00 AM and a finish of 5:30 PM are 8 hours 30 minutes apart. That is the time between the two clock readings, before any break is taken away. If you need to check a timecard, keep the elapsed span separate from the hours actually worked. A lunch break may change the worked total, but it cannot change the start and finish clocks.

This calculator answers one question: how much time elapsed between two 12-hour clock times? It also shows the same duration in decimal hours. If you enter an unpaid break, it also shows the time actually worked. It does not ask for a date, hourly rate or overtime rule. For a full week of timecards, use the Timesheet Calculator, and for late and undertime against a schedule, use the DTR Calculator.

Enter the start and end clocks

  1. Enter the start hour from 1 to 12, minutes from 00 to 59, and AM or PM. Repeat for the end time. The fields describe clock readings, not hours already worked.
  2. If the finish is on the following calendar day, select End time is on the next day. Leave it off for two times on the same day. You must choose this even when a late-night start and early-morning finish look obviously overnight to you.
  3. Optionally enter an unpaid break in minutes, such as 60 for a one-hour lunch, to see worked time under the main result. For a common shift, tap one of the Common shifts buttons to fill both clocks at once.
  4. Read elapsed time in hours and minutes, then the two-decimal-hour equivalent. The result updates as you edit. Calculate checks the fields and moves focus to the first invalid entry; Reset restores the 9:00 AM to 5:30 PM example.

The form accepts a single digit for minutes, so entering 5 means 05. It does not accept minute 60, hour 0 or hour 13. If a same-day end is earlier than its start, the form asks you to correct the end time or choose next day. It keeps your entries visible while you make that correction.

Example: 9:00 AM to 5:30 PM

Suppose a timesheet shows a 9:00 AM clock-in and 5:30 PM clock-out on the same date. Set Start to 9:00 AM and End to 5:30 PM, leaving the next-day choice off. From 9:00 AM to noon is 3 hours; from noon to 5:30 PM is 5 hours 30 minutes. Together they make 8 hours 30 minutes of elapsed time.

9:00 AM → 5:30 PM = 8 hr 30 min elapsed

30 ÷ 60 = 0.50 hour; 8 hr 30 min = 8.50 decimal hours

If the record also includes a 30-minute unpaid break, enter 30 as the break. The main result still shows 8 hours 30 minutes between the clocks, and the worked time below it shows 8 hours. Neither figure is a payroll-approved paid-hours amount; your employer's rules on paid breaks and rounding decide that.

When the end time is tomorrow

An overnight record needs an explicit day boundary. Start at 10:00 PM, finish at 6:00 AM, and select next day. There are 2 hours until midnight and 6 more hours after it, giving 8 hours elapsed. Without the next-day choice, the finish is earlier on the same reference date and the calculator shows a correction message instead of a negative answer.

10:00 PM → midnight = 2 hr; midnight → 6:00 AM = 6 hr

2 hr + 6 hr = 8 hr 00 min = 8.00 decimal hours

Equal clock times also need a decision. From 9:00 AM to 9:00 AM on the same day, zero time elapsed. If the end is 9:00 AM the next day, the elapsed span is 24 hours. A zero result is therefore valid when the two same-day clocks match; it is not a placeholder for a missing entry.

Check noon, midnight and decimal hours

12:00 AM is midnight, the start of a calendar day. 12:00 PM is noon. For example, 12:00 PM to 1:00 PM is one hour; 12:00 AM to 12:00 PM is twelve hours. Choosing the wrong meridiem can move a result by twelve hours, so compare each selection with the source record before using the total elsewhere.

Minutes are parts of a 60-minute hour. A duration of 8:45 is 8.75 decimal hours because 45 ÷ 60 is 0.75. It is not 8.45 decimal hours: 0.45 of an hour is 27 minutes. The calculator keeps the elapsed difference in whole minutes and rounds only the displayed decimal-hour equivalent to two places. For instance, one minute appears as 0.02 decimal hours, while its actual duration remains one minute.

Common same-day examples, with no break deducted
StartEndElapsedDecimal hours
7:00 AM4:00 PM9 hr 00 min9.00
8:00 AM5:00 PM9 hr 00 min9.00
9:00 AM5:30 PM8 hr 30 min8.50
10:00 AM12:00 PM2 hr 00 min2.00
12:00 PM1:00 PM1 hr 00 min1.00

These reference rows assume the start and end are on the same day. An example list cannot replace your own record: a minute difference, a changed AM/PM selection or an overnight finish changes the answer. Enter the exact clocks above when you need a duration to check.

What to check before using the answer

Compare both clock readings and their dates with the original punch or schedule. This tool uses a fixed UTC reference day to measure an undated clock span, so it does not model a real location's daylight-saving change. If an actual shift crosses a clock change, recorded elapsed hours may differ from this simple wall-clock calculation; use dated, zone-aware records to settle that case.

The form supports a same-day span or an end on the next day, up to 24 hours. It does not represent a shift across multiple dates. It also makes no decision about whether a break is paid, whether time should be rounded for payroll, or whether overtime applies. If those questions matter, carry the checked clock span to the tool and policy that actually handles them.

Questions about AM and PM time

How many hours is 8am to 5pm?

9 hours between the clocks. With a one-hour unpaid lunch, it is 8 hours worked.

How many hours is 7am to 4pm?

9 hours between the clocks, or 8 hours if you take a one-hour unpaid break.

How many hours is 9am to 5pm?

8 hours between the clocks. With a 30-minute unpaid lunch it is 7 hours 30 minutes, and with a one-hour lunch it is 7 hours.

Is 12:00 AM noon or midnight?

It is midnight. Noon is 12:00 PM. Check the AM/PM selection on both clocks, especially for shifts near midnight.

How do I enter a night shift?

Enter the start and finish clocks, then select End time is on the next day. A 10:00 PM start and 6:00 AM next-day finish gives 8 hours elapsed.

Why does the calculator show zero hours?

The same start and end clock on the same day has zero elapsed time. If the finish is the next day at the same clock time, select next day to show 24 hours.

Does the answer subtract lunch?

Only if you enter it. The main result is the time between the clocks. Enter your unpaid break in minutes to see the worked time below it.

Why is 8 hours 30 minutes shown as 8.50 hours?

Thirty minutes is half of a 60-minute hour, or 0.50 hour. The decimal number represents the same duration in a different format.