Apps by Jerry

Time Duration Calculator

Enter a start and end time to get the duration, minus any break.

–

More tools

Quick answer

How do I calculate the hours between two times?

Enter a start and an end time and the calculator shows the duration in hours and minutes and in decimal hours. Add a break in minutes to take off lunch. If the end time is earlier than the start, it counts as an overnight shift, so 22:00 to 06:00 is 8 hours.

How to calculate the time between two times

  1. Enter the start time and end time.
  2. Enter any unpaid break in minutes.
  3. Read the duration in hours and minutes, and in decimal hours.

If the end time is earlier than the start time, the calculator treats it as the next day, so an overnight shift from 22:00 to 06:00 is 8 hours.

Working out hours for a timesheet

For a 9:00 to 17:30 shift with a 30-minute lunch, the duration is 8 hours, or 8.00 in decimal hours. Multiply decimal hours by your hourly rate to estimate pay, or add each day's total in the Time Calculator.

Common uses

Shift and timesheet examples

StartEndBreakHours workedDecimal
09:0017:3030 min8 h 00 min8
08:4517:1545 min7 h 45 min7.75
07:3015:50none8 h 20 min8.33
22:0006:00none8 h 00 min8
13:0021:3030 min8 h 00 min8

12-hour to 24-hour time

12-hour24-hour
12:00 AM (midnight)00:00
1:00 AM01:00
9:30 AM09:30
12:00 PM (noon)12:00
1:00 PM13:00
5:45 PM17:45
11:59 PM23:59

For PM times after noon, add 12 to the hour. For 12 AM, use 00.

From hours to pay

Payroll uses decimal hours. Multiply the decimal result by the hourly rate: 7.75 hours at $15 an hour is 7.75 × 15 = $116.25. To total a whole week, add each day in the time calculator.

Frequently asked questions

How many hours is 9 to 5?

8 hours, or 7.5 hours with a 30-minute lunch break.

Is 12 PM noon or midnight?

12 PM is noon. 12 AM is midnight, the start of the day.

How many hours is 7 AM to 7 PM?

12 hours.

Does it work for overnight shifts?

Yes. When the end time is earlier than the start time, it is counted as the next day.

How do I convert the result to decimal hours?

It is shown under the result. For example, 7 hours 45 minutes is 7.75 hours.

Can I calculate durations longer than 24 hours?

This tool covers up to 24 hours. For longer spans, use the Date Calculator or add several durations in the Time Calculator.

Does it use 12-hour or 24-hour time?

It follows your device settings, so you may see AM and PM or a 24-hour clock.