Skip to content
Free online tool

Time duration calculator

Calculate the hours and minutes between two times, including overnight shifts. Subtract unpaid breaks to get net working time, shown in hours and minutes, decimal hours and total minutes.

If the end time is earlier than the start time, the period is treated as running overnight into the next day. Daylight-saving changes are not taken into account.

How to calculate time worked

  1. Enter the start time and end time.
  2. Enter any unpaid break in minutes, or 0 if there was none.
  3. Click Calculate duration.
  4. Use the net hours and minutes, or decimal hours for payroll and timesheets.

How the duration is calculated

The calculator converts both times into minutes after midnight and subtracts them. If the end time is earlier than the start time, it assumes the period runs overnight into the next day: 22:00 to 06:15 is 8 hours 15 minutes. If the start and end are the same, it’s treated as a full 24 hours. A clear note tells you when the overnight rule was applied.

The break is then subtracted to give net time. Decimal hours convert minutes into fractions of an hour, so 7 hours 30 minutes becomes 7.50, the format most payroll systems and timesheets use. The tool checks that the break isn’t longer than the whole period. It doesn’t adjust for daylight-saving clock changes.

Common uses

Minutes to decimal hours

Converting minutes to decimal hours (minutes ÷ 60)
MinutesDecimal hours
50.08
100.17
150.25
200.33
300.50
400.67
450.75
500.83

Worked examples

Some employers round clock-in and clock-out times, for example to the nearest 15 minutes. Check your workplace policy before submitting a timesheet.

Time duration FAQ

How do I convert minutes to decimal hours?

Divide the minutes by 60. 15 minutes is 0.25 hours, 30 is 0.5 and 45 is 0.75.

Can I add several shifts together?

Calculate each shift, then add the decimal hours together.

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

The time inputs follow your device settings, and calculations work the same either way.

How do I total my hours for the week?

Calculate each day separately, then add up the decimal hours. Converting the total back to hours and minutes is easy: 37.75 hours is 37 hours and 45 minutes.

What about the night the clocks change?

The calculator doesn’t adjust for daylight saving time. On the night clocks go forward, subtract an hour from the result; on the night they go back, add an hour.

Last updated: 8 November 2026.

Need another tool?

Browse all 50 free tools for PDFs, images, text, SEO, calculations and development.

Explore All Tools