Time Duration Calculator

Hours and minutes between two clock times.

Overview

Adds and subtracts time intervals (hours, minutes, seconds) to calculate total elapsed work hours, shift durations, and finish times.

Formula & Calculation Method

Total Duration = (End_Seconds - Start_Seconds) decomposed into Hours, Minutes, Seconds

Handles overnight shifts spanning past midnight, multiple shift segment additions, and lunch break deductions.

Worked Example: Work Shift from 9:15 AM to 5:45 PM with 45-Minute Lunch Break

Inputs: Start Time = 9:15 AM | End Time = 5:45 PM | Break Deduction = 45 Minutes

  • Convert to 24-hour time: 9:15 to 17:45
  • Gross elapsed duration: 17:45 - 9:15 = 8 Hours, 30 Minutes
  • Subtract 45-minute lunch break: 8 Hours 30 Min - 45 Min = 7 Hours, 45 Minutes
  • Decimal hours equivalent = 7.75 Hours

Summary: Gross Time = 8h 30m | Lunch Break = 45m | Billable Hours = 7h 45m (7.75 Hours)

Common Use Cases

  • Timesheet Payroll Tracking: Calculate exact weekly billable hours from daily punch-in and punch-out logs.
  • Flight Layover Planning: Measure connecting airport transit durations and total journey travel time.
  • Audio & Video Editing: Calculate total running lengths of podcast tracks and video timelines.

Frequently Asked Questions

How do I calculate an overnight shift crossing midnight?

Add 24 hours to the end time before subtracting the start time (e.g. 6:00 AM becomes 30:00; 30:00 - 22:00 = 8 hours).

How do I convert 15 minutes to decimal hours?

Divide minutes by 60: 15 / 60 = 0.25 hours (30 min = 0.50 hrs, 45 min = 0.75 hrs).

Can I add multiple time blocks together?

Yes, you can add individual shift durations to compute cumulative weekly working hours.

Related Calculators & Tools