Time Duration Calculator

Calculate elapsed hours and minutes between two times, including overnight shifts and payroll decimal hours.

Enter Start and End Times

Presets:
Elapsed Duration
8 hrs 30 mins
From 09:00 to 17:30
Decimal Hours (for Payroll):8.5 hrs
Total Minutes:510 minutes
Overnight Shift:Same Day

Why Decimal Hours Matter for Payroll

Accounting systems and timesheets require time formatted in hundredths of an hour (decimal hours) rather than sexagesimal minutes. For example, 8 hours and 30 minutes translates to exactly 8.50 decimal hours.

About Time Duration Calculator

Calculate total hours, minutes, and decimal hours between any two times. Perfect for employee timesheets, contractor billing, workout tracking, or overnight work shifts with seamless midnight crossover detection.

How to Use the Time Duration Calculator

  1. 1

    Enter Start Time

    Input the starting hour and minute (e.g. 08:30 AM).

  2. 2

    Enter End Time

    Input the ending hour and minute (e.g. 05:00 PM).

  3. 3

    Handle Overnight Shifts

    Overnight shifts crossing midnight are detected automatically, or check 'Force Overnight'.

  4. 4

    Review Payroll Hours

    Read the converted decimal hours (e.g. 8.50 hrs) ready for accounting entry.

Key Features & Calculation Capabilities

  • Sexagesimal (hours & minutes) and decimal hour output (for payroll)
  • Automatic overnight midnight shift handling (e.g., 10 PM to 6 AM = 8 hours)
  • Quick preset buttons for standard 8-hour, 8.5-hour, and overnight shifts
  • Calculates total elapsed minutes

Worked Example

Calculating work hours from 8:30 AM to 5:00 PM

Inputs:
Start Time: 08:30
End Time: 17:00
Calculated Results:
Elapsed Time: 8 hours 30 minutes
Decimal Hours: 8.50 hrs
Total Minutes: 510 mins

From 8:30 to 17:00 is 8 full hours plus 30 minutes, representing 8.50 decimal hours.

Practical Limitations & Considerations

  • To deduct unpaid lunch breaks, subtract your meal duration (e.g. 30 or 60 minutes) from total elapsed minutes.
Got Questions?

Frequently Asked Questions

Divide minutes by 60. For example: 15 minutes = 0.25 hours, 30 minutes = 0.50 hours, and 45 minutes = 0.75 hours.