Time calculator

Add and subtract hours, minutes and seconds, find the time after or before a clock time, the hours between two times or dates, and paid hours for a shift. Answers update as you type and show the math.

Add or subtract hours, minutes and seconds

Add as many rows as you need. Each row can be added or subtracted; the total updates as you type.

Paste a list of times

2:15 is read as 2 hours 15 minutes. You can also write 1h 55m, 90 min or 45s.

    Off by default. Nothing you type is sent anywhere: every calculation runs on your device, and recent ones are stored only in this browser if you turn this on. A copied link contains your inputs, so check it before sharing work hours.

    How the calculator works

    Every duration is stored as a whole number of milliseconds, so 0.1 s + 0.2 s is exactly 0.3 s and nothing is lost to rounding until the answer is displayed. Days are 24 hours in duration maths; the date modes use real calendar days.

    Worked examples you can check

    These are the test cases the calculator is checked against. If you ever get a different answer, tell us.

    CalculationModeCorrect answer
    2h 45m + 1h 30mAdd & subtract4h 15m (255 minutes, 4.25 hours)
    2h 45m − 3hType it−15m
    2h 30m × 3Type it7h 30m
    11:30 PM + 45 minutesClock ± time12:15 AM, next day
    12:15 AM − 45 minutesClock ± time11:30 PM, previous day
    7:45 AM + 9h 30mType it5:15 PM
    10:00 PM to 6:30 AMBetween times8h 30m, crosses midnight
    9:00 AM to 5:30 PM, 30 min breakWork shift8h paid, 8 decimal hours
    7.75 decimal hoursConvert7h 45m
    7:45 as hours:minutesConvert7.75 hours
    5,432 secondsConvert1h 30m 32s
    Feb 28 to Mar 1, 2028Between dates2 days (2028 is a leap year)
    Mar 7 9:00 AM to Mar 8 9:00 AM, 2027, New YorkBetween dates23 hours (clocks go forward)

    Minutes to decimal hours

    MinutesDecimal hoursMinutesDecimal hours
    00.00300.50
    50.08350.58
    100.17400.67
    150.25450.75
    200.33500.83
    250.42550.92

    Questions people ask

    How do I add hours and minutes?

    Add the minutes first. If they come to 60 or more, carry one hour for every 60, then add the hours. 2 h 45 min + 1 h 30 min = 3 h 75 min = 4 h 15 min. The calculator shows these steps under “Show the math”.

    How do I calculate time between two times that cross midnight?

    Subtract the start from the end. If the answer is negative, add 24 hours. From 10:00 PM to 6:30 AM: 6:30 − 22:00 = −15 h 30 min, plus 24 h = 8 h 30 min.

    How do I convert minutes to decimal hours?

    Divide the minutes by 60. 45 minutes is 0.75 hours, so 7 hours 45 minutes is 7.75 hours, the number most timesheets and payroll systems want.

    How do I turn decimal hours back into hours and minutes?

    Keep the whole hours, then multiply the decimal part by 60. 7.75 hours is 7 hours plus 0.75 × 60 = 45 minutes.

    What time will it be in 8 hours?

    Choose “Clock ± time”, enter the current time and 8 hours. The result says whether it falls on the next day.

    Does the calculator handle daylight saving time?

    Clock-time modes have no date, so they ignore daylight saving. The two date modes use your device’s time zone, so a span that crosses a clock change shows the real elapsed time and says so.

    Can I multiply or divide a time?

    Yes. In “Type it”, write 2h 30m * 3 or 8h 15m / 5. The multiplication or division applies to the term it follows.

    Is my data saved?

    No. Everything is worked out in your browser. Recent calculations are kept only if you tick the box, and only in this browser.

    More time calculators