Skip to content

Time Duration Calculator

Calculate time differences across the same day or overnight, subtract an optional break, convert to decimal hours, or add multiple durations.

Select Calculation

Break / lunch (optional)

Subtract this from the calculated span. Leave blank if there is no break.

Result

Enter both times to calculate the duration.

Select Calculation

Time Duration Calculator

Quick Start

1
Choose between calculating a span between two times or adding duration rows.
2
For a time span, enter start and end times, then add an optional break. For totals, enter hours and minutes by row.
3
The result shows hours-and-minutes, total minutes, and decimal hours for schedules, invoices, or notes.

Common Scenarios

Work shifts

calculate a shift that stays within the day or crosses midnight, then subtract lunch or break time.

Meetings and classes

check how long a scheduled block lasts.

Multiple entries

add separate duration rows into one total.

Time Modes & Minute Rules

Between times: enter start and end times in HH:mm; if the end time is earlier, it is treated as the next day. Subtract an optional break to get elapsed time in hours and minutes.
Same start and end: identical times return 0 hours 0 minutes. Enter an earlier end time only when the span crosses midnight.
Add durations: enter whole-hour and minute rows up to your current row limit; empty fields count as 0 in quick totals.
Minute fields: minutes must be 0 to 59, so enter 90 minutes as 1 hour 30 minutes.
Total minutes and decimal hours: use these lines for spreadsheets, rate calculations, billing, or later conversion.
Timesheet boundary: this is a lightweight calculator; it subtracts one simple break only. It does not round payroll time, calculate overtime, export timesheets, handle dates, seconds, time zones, or daylight saving changes.

Usage Advice

Between-times mode supports same-day spans and overnight spans where the end time is on the next day.
Minutes should be 0 to 59; enter 90 minutes as 1 hour 30 minutes.
Add-duration mode is for quick totals within your current row limit, not a full timesheet.

URL Quick Fill

You can prefill this tool from the URL hash. Use start/end and optional break for a time span, including overnight spans, or durations for summed rows.
view: Mode (optional: between-times or add-durations)
start: Start time (required with end, HH:mm)
end: End time (required with start, HH:mm)
break: Break duration (optional with start/end, H:mm)
durations: Durations (required for Add durations, comma-separated H:mm entries)
Example: #start=09:15&end=17:45&break=0:30 or #durations=1:45,2:30
Hash parameters stay in the browser and are not recorded as analytics page paths.
Do not put private schedules, client names, or other sensitive details in URLs.

Limitations & Compatibility

Overnight spans are handled as a simple next-day HH:mm range. Dates, time zones, daylight saving changes, and paid or unpaid break rules still need separate checks.
Payroll, invoicing, or billing may require custom rounding such as 6-minute or 15-minute increments.
Browser time controls may display differently by locale, but the calculation uses HH:mm.

Privacy & Security

Calculations run in your browser. Current values stay in the current browser session by default.

FAQ

6

Continue with these related tools for the next step.

All tool processing happens locally in your browser.