CalcTrace

Time Calculator

Add or subtract two lengths of time in hours, minutes and seconds, find how long it is between two clock times (including overnight), or convert between hours and minutes and decimal hours. Every answer is shown in several forms with the working.

Last updated .

Your times

What do you want to do?
First length of time
Operation
Second length of time

Empty boxes count as zero. Values of 60 or more, such as 90 minutes, and decimals, such as 1.5 hours, are fine.

Result

Result

–

–Hours, minutes, seconds
–Decimal hours
–Total minutes
–Total seconds

Show the working

    How time arithmetic works

    Time is awkward to add up because it is not decimal: there are 60 seconds in a minute and 60 minutes in an hour, so you cannot carry at ten the way you do with ordinary numbers. The reliable method is to convert everything to one unit, do the sum, and convert back.

    Total seconds = hours × 3,600 + minutes × 60 + seconds

    Decimal hours = hours + minutes ÷ 60 + seconds ÷ 3,600

    Minutes = decimal part of the hours × 60

    Time between = end − start, plus 24 hours if the end is earlier than the start

    The figure 3,600 is the number of seconds in an hour (60 × 60). “Decimal part” means what is left after removing the whole hours, so the decimal part of 7.75 is 0.75.

    Worked examples

    Adding 2:45:30 and 1:30:45

    1. Seconds. 30 + 45 = 75 seconds, which is 1 minute and 15 seconds. Write 15 and carry 1 minute.
    2. Minutes. 45 + 30 + 1 carried = 76 minutes, which is 1 hour and 16 minutes. Write 16 and carry 1 hour.
    3. Hours. 2 + 1 + 1 carried = 4. The answer is 4:16:15.

    To check it in seconds: 2:45:30 is 9,930 seconds and 1:30:45 is 5,445 seconds. Together they make 15,375 seconds, and 15,375 ÷ 3,600 = 4.2708 hours, which is 4:16:15.

    Subtracting 2:45:30 from 5:10:00

    You cannot take 30 seconds from 0, or 45 minutes from 10, so borrow. Rewrite 5:10:00 as 4:69:60, which is the same length of time. Then 60 − 30 = 30 seconds, 69 − 45 = 24 minutes and 4 − 2 = 2 hours, giving 2:24:30.

    From 10:00 pm to 6:00 am

    In 24-hour time that is 22:00 to 06:00. In minutes since midnight, the start is 1,320 and the end is 360. The end is smaller, so the shift runs past midnight: add a full day of 1,440 minutes. 360 + 1,440 − 1,320 = 480 minutes, which is 8 hours.

    Hours and minutes are not decimal hours

    The most common mistake with time is reading the minutes as a decimal. Seven hours and thirty minutes is 7:30, and as a decimal it is 7.5 hours, not 7.3. Going the other way, 7.3 hours is 7 hours plus 0.3 × 60 = 18 minutes, so 7:18.

    The difference is not small when money is involved. At $30 an hour, 7.5 hours is $225, but entering 7.3 by mistake pays $219, which is $6 short for a single day. To convert properly, divide the minutes by 60: 7:45 is 7 + 45 ÷ 60 = 7.75 hours.

    Minutes as a decimal of an hour
    MinutesDecimal hours
    60.1
    150.25
    200.333
    300.5
    450.75

    Notice that 20 minutes does not convert neatly. Rounded to two places it becomes 0.33 hours, which is 19.8 minutes, so 12 seconds disappear every time. Over many entries that adds up. Keep times in hours and minutes while you add them, and convert to a decimal once at the end.

    Points that trip people up