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
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
- 1Enter the start and end time for a day or shift
- 2Enter any unpaid break in minutes
- 3Add a row for each extra day or shift you want in the total
- 4Read the total in hours and minutes, decimal hours and minutes
Minutes to decimal hours
| Minutes | Decimal hours |
|---|---|
| 5 | 0.08 |
| 10 | 0.17 |
| 15 | 0.25 |
| 20 | 0.33 |
| 30 | 0.50 |
| 40 | 0.67 |
| 45 | 0.75 |
| 50 | 0.83 |
Decimal hours = minutes ÷ 60, rounded to two places. Some payroll systems round to the nearest quarter hour instead.