Skip to main content

Time Duration Calculator

A time duration calculator adds two lengths of time, subtracts the second from the first, converts a single duration into HH:MM:SS and decimal totals, or finds net hours between two clock times after an unpaid break. Hours on the clock output may exceed 24.

Results

How to use the time duration calculator

  1. Choose Add, Subtract, Convert A only, or Hours between clock times.
  2. For duration modes, enter days, hours, minutes, and seconds. For clock mode, enter start, end, unpaid break, and optional day multiplier.
  3. Press Calculate. Read HH:MM:SS, decimal hours, and related totals. Clock mode also shows overtime over the daily threshold.
  4. Parts may be larger than clock limits before normalize (for example 90 minutes becomes 1h 30m in the total).

Time Duration Calculator

Duration arithmetic

Add / SubtractA ± B in seconds, then normalize
ConvertNormalize A into clock and decimal totals
Clock hoursEnd - start - unpaid break; overnight wrap supported
OutputsHH:MM:SS, decimal hours, totals
UploadNone; runs in the browser

What a time duration calculator does

A time duration calculator treats each side as a length of time built from days, hours, minutes, and seconds, or as the gap between two wall-clock times. Add returns the sum. Subtract returns A minus B. Convert A only normalizes one duration. Clock mode subtracts an unpaid break from the shift span.

Example: 2h 30m plus 1h 45m equals 4:15:00 (4.25 decimal hours). A 09:00 to 17:00 shift with a 30-minute break is 7.5 hours.

Hours between two clock times

Enter start and end as HH:MM. If the end is earlier than the start, the page treats the shift as overnight and adds 24 hours before subtracting. Unpaid break minutes come off the gross span. Decimal hours = total minutes ÷ 60.

How durations are normalized

Every duration input converts to total seconds (1 day = 86400 s). The result is then split into days, hours, minutes, and seconds. Minutes and seconds on the Days + time row stay in 0 to 59. The HH:MM:SS row may show hour totals past 24.

Worked time duration examples

OperationInputsResult
Add2h 30m + 1h 45m4:15:00
Subtract2h - 3h-1:00:00
Convert1d 2h 30m26:30:00
Clock09:00-17:00, break 307.50 h
Overnight22:00-06:00, break 307.50 h

Limits and privacy

Duration parts cannot be negative; use Subtract to take time away. Clock mode is a shift sketch, not a certified time clock. Math runs in your browser; CZNull does not receive the values.

Time duration calculator questions

How do I calculate hours between two times?
Choose Hours between clock times, enter start and end as HH:MM, subtract unpaid break minutes, and read decimal hours and HH:MM:SS.
What if the shift crosses midnight?
If end is earlier than start, the page adds 24 hours automatically. Example: 22:00 to 06:00 is 8 hours before any break.
How do I add hours and minutes?
Choose Add and enter both durations. 2h 30m + 1h 45m = 4:15:00.
How do I convert minutes to decimal hours?
Divide minutes by 60. 30 minutes = 0.50 hours; 7 hours 30 minutes = 7.50 hours.
Can hours exceed 24 on the result?
Yes on the HH:MM:SS row for long durations. Days + time keeps a separate day count.
Does the page store my times?
No. Math runs in this tab.