Paritian

Time & Dates

Hours Between Two Times

Worked hours from a start time, an end time and a break, in decimal and in hours and minutes.

Results

Hours 7.500
Hours 7
Minutes 30
Minutes 450

What this tool does

Payroll systems want decimal hours, humans read hours and minutes, and this gives both from the same entry. Night shifts are handled: if the end time is earlier than the start, the calculator assumes the shift crosses midnight.

Formula

duration = end hour − start hour − break

Variables

SymbolMeaningUnit
start_timeStart time
end_timeEnd time
break_minutesBreak (minutes)
hoursHours
h_partHours
m_partMinutes
minutesMinutes

Worked example

  • Start time09:00
  • End time17:30
  • Break (minutes)60
  • Hours7.500
  • Hours7
  • Minutes30
  • Minutes450

Limitations

  • Dates are handled as calendar dates. Time zones, daylight saving changes and public holidays are not taken into account.