Skip to content

A CLEARER WAY TO WORK IT OUT

Time Calculator

A duration is different from a time on a clock: it can be longer than a day or even negative after subtraction. This calculator adds and subtracts those durations without wrapping the answer at midnight.

A duration is different from a time on a clock: it can be longer than a day or even negative after subtraction. This calculator adds and subtracts those durations without wrapping the answer at midnight.

Your result will appear here.

Your calculation runs in this browser. After changing a value, select Calculate to update the answer.

Your inputs stay in this browser. Change a value, then calculate again to update the result.

How to use the time calculator

Hours, minutes and seconds are separated by colons, as in 01:30:00. Addition combines durations; subtraction compares them in the order entered. The result keeps the sign when the second duration is larger than the first.

This tool adds lengths of time, rather than dates or clock readings. It works for a collection of video durations, timed sessions or logged tasks that can total more than twenty-four hours. Hours, minutes and seconds use different bases, so adding the written digits directly is unreliable. A negative subtraction result indicates that the second duration exceeds the first; it does not describe a negative clock time.

What the result tells you

01:30:00 plus 00:45:00 gives 02:15:00. Subtracting three hours from an hour and a half gives −01:30:00, which means the first duration is shorter by an hour and a half.

A calculation you can check

01:30:00 plus 00:45:00 gives 02:15:00. Subtracting 03:00:00 from 01:30:00 gives −01:30:00.

Try it in the calculator ↑

Formula and calculation method

Convert each duration to signed seconds: hours×3600 + minutes×60 + seconds. Add or subtract those totals, then convert back to hours, minutes and seconds.

Check the assumptions

These are durations, not clock times or dates. For a shift from an evening start to a morning finish, use the hours calculator and select next day.

Enter HH:MM:SS with minutes and seconds from 00 to 59; hours are limited to 999,999. This tool does not interpret time zones, daylight-saving transitions or leap seconds.

Frequently asked questions

Is 1.5 hours the same as 1 hour 50 minutes?

No. Half an hour is thirty minutes, so 1.5 hours is 1:30:00. Decimal hours and an hours:minutes display use different notation.

Will a total above twenty-four hours wrap around?

These are durations, so a long total remains a length of time instead of returning to the start of a clock day.

Something looks wrong? Send the calculator name and a non-sensitive example so the issue can be checked.