Dates & time

Merge clock-time intervals

Calculate distinct occupied time from overlapping same-day intervals.

Merge clock-time intervals
Esc to restore

Your inputs

Up to 25 MB per file, 50,000 data rows, 200 columns and 2 million data cells. Fully blank rows and columns are ignored before row, column and cell limits are checked. Individual tools may have smaller result or chart limits.

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Treats up to 10,000 intervals as half-open [start,end) within one 24-hour clock day. End may be 24:00; start must be before 24:00 and end after start. Sorts and merges overlapping or touching intervals and reports total distinct minutes. Overnight spans must be split at midnight. No date, zone, break or payroll policy is inferred.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

CSV: Start,End (24-hour HH:MM)
Start,End
09:00,10:30
10:00,11:00
13:00,14:00

Example result

Example result
StartEnd (excluded)Distinct minutes
09:0011:00120
13:0014:0060

3 hours occupied in this same-day clock model.