Shift Duration Calculator

Calculate the exact hours and minutes of any work shift, including overnight shifts.

Enter Shift Times

Please enter valid start and end times.

Shift Duration Results

—
Total Shift Duration (after breaks)
—
Gross Hours (before breaks)
—
Total Break Time
—
Decimal Hours
—
Total Minutes

How It Works

The shift duration calculator converts your start and end times into minutes from midnight, then finds the difference. For overnight shifts, the calculator adds 24 hours (1,440 minutes) to the end time before subtracting, ensuring accurate results when a shift crosses midnight. After determining the gross duration, the total break time (break length × number of breaks) is subtracted to give your net working time. The result is displayed in hours and minutes, as well as decimal hours for payroll purposes.

Frequently Asked Questions

How do I calculate an overnight shift duration?

Check the "overnight" box when your shift ends the next day. The calculator automatically adds 24 hours to compute the correct duration. For example, a shift from 10:00 PM to 6:00 AM equals 8 hours of work.

How is decimal hours calculated for payroll?

Decimal hours convert minutes into a fraction of an hour by dividing minutes by 60. For example, 6 hours and 45 minutes equals 6.75 decimal hours. This format is commonly used in payroll systems and timesheets.

Can I subtract break time from my shift?

Yes. Enter the length of each break in minutes and the number of breaks taken during your shift. The calculator will subtract the total break time from the gross shift duration to give you your net working hours.

Free tools by TUNA — energy supply from vetted manufacturers