Time Duration Calculator
The time duration calculator measures a precise clock interval, adds time to a base clock, or subtracts an interval from a clock time. It is useful for work logs, event run sheets, workouts, kitchen timing, audio and video edits, study blocks, support response windows, and any task where hours, minutes, and seconds need to agree.
Choosing the right mode
Use Time Difference when you have a start time and an end time and want to know the elapsed duration. This mode is ideal for “13:30:00 to 17:45:00” or “23:10:15 to 01:05:45.” Use Add Time when the question is “what time will it be after this interval?” Use Subtract Time when you need to count backward from a deadline or scheduled start.
This page is clock-focused. It does not know about time zones, daylight saving changes, or calendar dates except for a simple next-day adjustment in difference mode. For a workday that includes breaks, use the shift calculator. For a weekly timesheet and overtime split, use the time card calculator. For converting New York to London before measuring an interval, use the time-zone calculator. For age or birthday spans, the age calculator handles calendar months and leap years.
Method and calendar rules
The calculator converts every clock time into seconds after midnight:
In Time Difference mode, it subtracts the start seconds from the end seconds:
If that value is negative, the calculation adds 86,400 seconds, which is one 24-hour day:
The result is then broken into days, hours, minutes, and seconds with integer division and remainders. Because the method only adds one day, difference mode is intended for intervals shorter than 24 hours. A start and end time alone cannot identify a multi-day span without dates.
In Add Time and Subtract Time modes, the interval is converted to seconds:
the calculation adds or subtracts that interval from the base seconds, then wraps the value into the range from 0 to 86,399 seconds. Negative results are increased by 86,400 until they are nonnegative, and all results are reduced modulo 86,400. The returned primary value is therefore a time of day, not a calendar date.
Checked examples
For a standard difference, enter 13:30:00 as the start and 17:45:00 as the end. Start seconds are 13 times 3,600 plus 30 times 60, or 48,600. End seconds are 17 times 3,600 plus 45 times 60, or 63,900. The difference is 15,300 seconds, which breaks into 4 hours, 15 minutes, 0 seconds. The total hours item shows 4.25, total minutes show 255.00, and total seconds show 15,300.
For a crossing past midnight, enter 23:50:00 to 00:20:30. The raw difference is negative: 1,230 - 85,800 = -84,570. The calculator adds 86,400 and reports 1,830 seconds, or 00:30:30. That is the next occurrence of 00:20:30 after 23:50:00.
For add mode, start with 22:15:00 and add 0 days, 3 hours, 50 minutes, 0 seconds. The result wraps past midnight to 02:05:00. The total hours into day item is 2.08 because the resulting clock time is 2 hours and 5 minutes after midnight, not because the interval was 2.08 hours.
Interpreting totals and outputs
The clock-style primary result is easiest to read, but the supporting totals are often the numbers you need for a spreadsheet. Billing systems frequently use decimal hours, so 4 hours 15 minutes becomes 4.25 hours. Training plans often use minutes, so the same span is 255 minutes. Technical logs often use seconds, so the same span is 15,300 seconds.
Be careful when using totals for payroll. The calculator has no rounding policy and does not decide whether a break is paid. If the interval represents work time, combine it with official timekeeping rules or move to the time card calculator for weekly totals. If it represents a meeting across regions, convert the local times first, because daylight saving changes can make wall-clock subtraction wrong on transition days.
Edge cases and common mistakes
The biggest limitation is that the calculator is clock-only. It does not know that an event began on Monday and ended Wednesday. Difference mode assumes the end is either later the same day or the next day if it appears earlier. Add and subtract mode intentionally discard whole days after wrapping. That behavior is useful for alarms and schedules, but it is not a date calculator.
Another mistake is putting decimal values in the minute fields. Minutes and seconds are sexagesimal units, so 90 minutes should be entered as 1 hour and 30 minutes only if you want a normalized display; the calculator itself expects minute values from 0 to 59. Use leading zeros when copying results into schedules: 02:05:00 is clearer than 2:5.
Clock and date boundaries
Clock inputs have no calendar date or time zone. Overnight mode adds one 24-hour day when the end is earlier than the start; it cannot represent multiple days. Daylight-saving days of 23 or 25 hours are not modeled. Gregorian month boundaries and leap days are irrelevant until actual dates are supplied, so use a dated IANA-zone workflow when those boundaries matter.
Sources
- BIPM, The International System of Units brochure — official SI context for the second as the base unit of time.
- IETF, RFC 3339: Date and Time on the Internet — date-time notation conventions for unambiguous technical timestamps.
- IANA, Time Zone Database — reminder that real-world elapsed time can depend on local time-zone rules, which this clock-only tool does not model.