Leave the dates blank for a same-day span. An end time before the start is treated as crossing midnight.

A time duration calculator measures the length of time between two clock times and returns it in hours, minutes, and seconds. Enter a start time and an end time, and it tells you exactly how long the span is, correctly handling the case where the end time falls after midnight so an overnight shift from 10:00 PM to 6:00 AM reads as eight hours rather than a negative number.
It does more than subtract two times. A second mode adds or subtracts a duration from a starting time, so you can answer questions like what time is it 2 hours and 45 minutes after 3:30 PM, and it tells you when the result rolls into the next day. A third mode totals a list of durations, which is how timesheets, study logs, and billable-hours records get summed without carrying minutes by hand.
Every result is shown three ways: as a clock value like 08:00:00, as a plain summary like 8h 0m, and as decimal hours like 8.0, because payroll and invoicing usually want the decimal form while schedules want the clock form. All of it runs entirely in your browser, so nothing you enter is uploaded or stored, and the tool keeps working offline once the page has loaded.
Spans that cross midnight are the usual source of a wrong answer, so a finish time earlier than the start is treated as the next day rather than as a negative duration. That is what you want for a shift ending at 02:00 and wrong for a data-entry mistake, so check the total looks plausible. Decimal output exists because payroll systems want hours as a number rather than as hours and minutes, and the two disagree in the last digit: 7 hours 20 minutes is 7.33 hours, and a week of those totals slightly differently depending on which form you add up. Round once at the end rather than per entry if the figures are going on a timesheet.
Choose Time Between to measure a span, Add or Subtract to shift a time by a duration, or Sum Durations to total a list.
Type times as 9:00 AM or 14:30, and durations as 1h 30m, 90m, or 1:30. The 12-hour and 24-hour formats both work.
For a span that crosses midnight, the calculator assumes the next day automatically, or add explicit start and end dates for multi-day spans.
See the duration as a clock value, a plain summary, and decimal hours, then copy whichever form you need.
Enter a start and end time to get the elapsed hours, minutes, and seconds, with overnight spans handled automatically.
Shift a starting time forward or back by any duration and see the resulting clock time, including when it rolls into the next day.
Total timesheet-style entries like 1:30, 2:15, and 0:45 into one figure without carrying minutes by hand.
Accepts 12-hour and 24-hour times, plus durations written as 1h 30m, 90m, 1:30, or decimal hours like 1.5.
Build a cron expression from simple fields or presets, see it explained in plain English, and preview the next run times. Supports lists, ranges, steps, named months and weekdays. 100% client-side.
Parse cron expressions into plain English and preview upcoming run times
Calculate the exact time between two dates: years, months, days, and business days
Calculate running pace, finish time, or distance from any two values, with speed and per-kilometre or per-mile splits.
0 comments
No comments yet. Be the first to share your thoughts!