Time Calculator
Enter two times as HH:MM or HH:MM:SS.
About this tool
Add and subtract can cross midnight. Duration is the absolute difference.
There is no date, so a result past 24 hours stays as hours.
How to use it
- Open this page and provide the input it asks for.
- Set the options that are visible, then use Calculate time.
- Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.
Limitations
- There is no date, so a result past 24 hours stays as hours.
Hours and minutes with no epoch behind them
The pattern each box must match
Each time is hours, a colon, and minutes, with an optional colon and seconds. Hours may be one to four digits. Minutes and seconds, when seconds are present, must be two digits from 00 through 59. 1:30 and 01:30:00 both parse. 1:30:5 does not, because the seconds group is not two digits. 24:00:00 is legal as a duration of twenty-four hours. It is not rejected for being past the end of a clock face, and it is not rolled into “1 day.” There is no date beside either box, so there is no midnight date, no zone, and no daylight-saving gap to fall into.
Add sums the two durations. Subtract takes the first minus the second and can print a leading minus when the first is smaller. Duration takes the absolute difference, so the order of the boxes does not matter and the sign stays off. 1:30 plus 0:45 is 2:15:00. The formatter always writes hours, two-digit minutes, and two-digit seconds. A result of 25 hours stays 25:00:00. Nothing here mods the hours by 24. If you needed the time of day after crossing midnight on a known date, this page cannot supply the date. It can only supply the length.
Why this is not a timestamp
A Unix count names an instant. These boxes name lengths, or positions on a 24-hour face only by convention. Adding 10:00:00 and 10:00:00 yields 20:00:00, which you may read as a time of day, but the page did not check that 20:00 exists in your zone on a particular evening. Subtracting 23:00:00 from 01:00:00 yields a negative length, not “two hours past midnight tomorrow,” because no tomorrow is in the input. Use a date-time duration when both endpoints have dates and you need elapsed milliseconds, including a 23-hour local day. Use this page when both inputs are clock strings and the calendar must stay out of the arithmetic.
The three modes share one parser. An empty box fails the pattern. A decimal hour such as 1.5 is not accepted here. Convert 1.5 to a clock on the decimal-time page first if that is the form you have, then come back to add or subtract.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

