Skip to main content

Time Duration Calculator

Work out the hours and minutes between two times, subtract breaks and add up shifts for a timesheet.

Built and tested by Muhammad Irfan Liaqat · Updated

8 h 00 min
8 h 00 min
Total
8.00
Decimal hours
480
Minutes

Time Duration Calculator: key facts

  • Finds the hours and minutes between a start and an end time, minus an unpaid break
  • An end time earlier than the start is counted as the next day, for night shifts
  • Adds up as many rows as you need, with the total in hours and minutes, decimal hours and minutes
  • A second mode measures the time between two dates and times in days, hours and minutes

How to calculate hours between two times

Enter a start time and an end time to get the time between them in hours and minutes, in decimal hours and in minutes. Add an unpaid break and it is taken off. Add more rows for each day or shift and the calculator totals them, which is how a weekly timesheet is added up. A second mode finds the duration between two dates and times, for spans longer than a day.

The calculator subtracts the start from the end in minutes. If the end time is earlier than the start, as with 22:00 to 06:00, it treats the end as the next day, so a night shift counts as 8 hours rather than a negative number. Decimal hours are minutes ÷ 60: 7 hours 45 minutes is 7.75 hours, which is the figure to multiply by an hourly rate. In date mode, times are read in your device's time zone, so a daylight saving change between the two dates is counted.

How to work out hours worked

  1. 1Enter the start and end time for a day or shift
  2. 2Enter any unpaid break in minutes
  3. 3Add a row for each extra day or shift you want in the total
  4. 4Read the total in hours and minutes, decimal hours and minutes

Minutes to decimal hours

MinutesDecimal hours
50.08
100.17
150.25
200.33
300.50
400.67
450.75
500.83

Decimal hours = minutes ÷ 60, rounded to two places. Some payroll systems round to the nearest quarter hour instead.

Frequently Asked Questions

How many hours is 9am to 5pm?
8 hours. With a 30-minute unpaid lunch break it is 7.5 hours, or 7 hours 30 minutes.
How do I calculate hours worked across midnight?
Count the minutes to midnight, then add the minutes after it. 22:00 to 06:00 is 2 hours plus 6 hours = 8 hours. The calculator does this when the end time is earlier than the start.
How do I convert hours and minutes to decimal?
Divide the minutes by 60 and add them to the hours. 6 hours 20 minutes is 6 + 20 ÷ 60 = 6.33 hours.
How do I work out pay from hours worked?
Multiply the decimal hours by the hourly rate. 37.5 hours at 15.00 an hour is 562.50. Use decimal hours, not hours and minutes: 37 h 30 min is 37.5, not 37.3.
How many hours is 8am to 4:30pm?
8 hours 30 minutes, or 8.5 hours. With a 30-minute break it is 8 hours.
How many hours is a 9-to-5 week?
40 hours over five days, or 37.5 hours if each day has an unpaid 30-minute lunch break.

Related Tools

Quick date answers