Skip to content
hesapla.digital

Time Duration Calculator

Date & Time · Last updated:

Quick answer

Duration is the end time minus the start time; if the end is earlier than the start (night shift), 24 hours are added. 08:30 to 17:45 is 9 hours 15 minutes; minus a 45-minute break that is 8.5 working hours.

Result

—

How to use the time duration calculator

Formula

  • Convert to minutes: hours × 60 + minutes
  • Duration: end − start (+1440 if negative)
  • Net: duration − break, decimal: minutes / 60

Worked example

A night shift from 22:00 to 06:30 is 8 h 30 min; minus a 30-minute break, 8.0 hours.

Good to know

Timesheets and hourly billing need durations as decimal hours: 8 hours 30 minutes = 8.5 hours. The calculator handles shifts that cross midnight.

Minutes to decimal hours (for timesheets and payroll)

Payroll systems usually need hours as a decimal. Divide the minutes by 60: 7 hours 45 minutes is 7.75 hours.

MinutesDecimal hoursMinutesDecimal hours
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Worked examples

  • 09:00 to 17:30 with a 30-minute lunch break = 8 h 00 min = 8.00 hours.
  • 08:15 to 16:45 with a 45-minute break = 7 h 45 min = 7.75 hours.
  • 22:00 to 06:30 (night shift) = 8 h 30 min = 8.50 hours.
  • 13:20 to 15:05 = 1 h 45 min = 1.75 hours.

Time Duration Calculator: frequently asked questions

What are decimal hours?

Minutes as a fraction of an hour: 15 min = 0.25 h, 30 min = 0.5 h, 45 min = 0.75 h.

Does it handle midnight?

Yes, an end time earlier than the start time is treated as the next day.

How do I add up hours worked in a week?

Calculate each day's duration, convert to decimal hours and add them. 7.75 + 8 + 8.5 + 7.25 + 8 = 39.5 hours.

Written and reviewed by the Hesapla Digital editorial team · Calculations run in your browser; the values you enter are never stored.