Ultra Calculator
    Date & Time

    Time Calculator

    To add times, add the hours and the minutes separately, then turn every 60 minutes into an hour. 8 h 30 min plus 2 h 45 min is 10 h 75 min, which is 11 h 15 min, or 11.25 decimal hours.

    Last updated by Ultra Calculator

    Time

    How to calculate it

    T = hours × 3600 + minutes × 60 + seconds
    Add: R = T1 + T2
    Subtract: R = T1 − T2
    Time between: R = T2 − T1, plus 24 hours if T2 is earlier than T1
    Decimal hours = R ÷ 3600
    T
    a time turned into seconds
    hours
    the hours box
    minutes
    the minutes box
    seconds
    the seconds box
    T1
    the first time, in seconds
    T2
    the second time, in seconds
    R
    the result in seconds
    Decimal hours
    the result as hours with a decimal fraction

    R is turned back into hours, minutes and seconds, so an added total can go past 24 hours and a subtraction can come out negative. Time between treats both entries as clock times, so a second time earlier than the first falls on the next day.

    Worked example

    Add 8 h 30 min and 2 h 45 min

    The two times add up to 11:15:00, which is 11.25 decimal hours. Read as a time of day, 08:30 plus 2 h 45 min is 11:15 the same day.

    You enter
    CalculationAdd times
    First time: hours8
    First time: minutes30
    Second time: hours2
    Second time: minutes45
    The calculator returns
    Result (HH:MM:SS)11:15:00
    Decimal hours11.25
    Hours11
    Minutes15
    Total seconds40,500
    As a time of day11:15:00, the same day
    Working08:30:00 + 02:45:00 = 11:15:00

    How to use this calculator

    1. Choose a Calculation: Add times, Subtract the second time from the first, or Time between two clock times.
    2. Enter the first time as hours, minutes and seconds. An empty box counts as zero, and decimals such as 1.5 hours work.
    3. Enter the second time the same way. For Time between, enter clock times on the 24-hour clock, such as 22 hours for 22:00.
    4. Read the result as HH:MM:SS and as decimal hours, with the working written out below.
    5. For Add and Subtract, As a time of day reads the first time as a clock time, so 22:00 plus 5 hours shows 03:00:00, the next day.

    Frequently asked questions

    How do I add hours and minutes together?

    Add the hours, then add the minutes. If the minutes come to 60 or more, take away 60 and add 1 to the hours. 3 h 45 min plus 1 h 30 min is 4 h 75 min, which is 5 h 15 min.

    How do I convert hours and minutes to decimal hours?

    Divide the minutes by 60 and add them to the hours. 7 h 45 min is 7 + 45 ÷ 60 = 7.75 hours, and 15 minutes is 0.25 of an hour. The calculator shows this as Decimal hours.

    Can it work out the time across midnight?

    Yes. Choose Time between two clock times. If the second time is earlier in the day than the first, the calculator takes it as the next day, so 22:00 to 02:00 is 4 hours. The working line says "the next day" when that happens.

    What's the difference between Subtract and Time between?

    Subtract takes the second time away from the first, like 8 hours less a 1-hour break, and goes negative if the second is bigger. Time between counts forward from the first clock time to the second, wrapping past midnight, so its answer is never negative and is always under 24 hours.

    Can I add more than 24 hours?

    Yes. For Add and Subtract the hours boxes accept amounts over 24, so 20 hours plus 30 hours gives 50:00:00. The As a time of day line shows the same sum on a 24-hour clock: 20:00 plus 30 hours is 02:00, 2 days later.

    Learn more

    Time works in sixties

    There are 60 seconds in a minute and 60 minutes in an hour, so time doesn't add like ordinary decimals. 1.5 hours is 1 hour 30 minutes, not 1 hour 50 minutes.

    Decimal hours

    Timesheets and invoices often record time as decimal hours, because they multiply easily by an hourly rate. 15 minutes is 0.25, 30 minutes is 0.5 and 45 minutes is 0.75.

    Durations and clock times

    Add and Subtract work with amounts of time, so 20 hours plus 6 hours is 26:00:00. On a clock the same sum wraps at midnight, which is why the As a time of day line shows 02:00:00 the next day for 20:00 plus 6 hours.

    • Adding up the hours worked across several shifts
    • Taking a lunch break off a working day
    • Finding how long a night shift or an overnight drive lasted
    • Turning hours and minutes into decimal hours for a timesheet
    • Adding together lap or split times

    Writing 1 h 30 min as 1.30 hours

    30 minutes is half an hour, so 1 h 30 min is 1.5 hours. Use the Decimal hours result when a form asks for hours as a number.

    Subtracting clock times across midnight

    06:00 minus 22:00 gives −16 hours, but a shift from 22:00 to 06:00 lasts 8 hours. Use Time between two clock times, which counts on past midnight and gives 8 hours.

    Typing 1.30 for 1 hour 30 minutes

    The hours box reads decimals as fractions of an hour, so 1.30 is 1 hour 18 minutes. Type 1.5, or 1 in the hours box and 30 in the minutes box.

    Methodology and sources

    Each time is turned into seconds (hours × 3,600 + minutes × 60 + seconds), with decimals kept, so 1.5 hours is 5,400 seconds. Add sums the two times and Subtract takes the second from the first, which can go below zero. Time between treats both as clock times under 24:00 and counts forward, adding a day when the second time is earlier. The result is rounded to the nearest second for HH:MM:SS, and decimal hours to two places. The time of day line wraps the result at midnight and says how many days it has moved. Clock changes for summer time aren't taken into account.