Time Calculator

Add or subtract time in days, hours, minutes and seconds, or work out the hours between a start and end time, including overnight shifts and breaks.

First time
d
h
min
s
Second time
d
h
min
s
Result
–

    Calculated in your browser. Nothing you enter is sent anywhere.

    How to use the time calculator

    Add or subtract time

    1. Enter the first time in days, hours, minutes and seconds (leave unused boxes empty).
    2. Choose Add or Subtract.
    3. Enter the second time.

    The result is shown in days, hours, minutes and seconds, and also as total hours, minutes and seconds.

    Time between two times

    1. Choose Time between two times.
    2. Enter the start and end times, for example 9:00 and 17:30.
    3. Optionally enter an unpaid break in minutes.

    You'll get the hours and minutes, plus decimal hours for timesheets.

    Examples

    • 2 h 45 min + 1 h 30 min = 4 h 15 min (4.25 hours).
    • 1 h − 2 h 30 min = −1 h 30 min.
    • 9:00 to 17:30 with a 30-minute break = 8 h.
    • 22:00 to 6:00 (overnight) = 8 h.

    Minutes to decimal hours

    MinutesDecimal hoursMinutesDecimal hours
    50.08350.58
    100.17400.67
    150.25450.75
    200.33500.83
    250.42550.92
    300.5601

    Frequently asked questions

    How do I add hours and minutes?

    Add the minutes, and for every 60 minutes carry 1 hour. 2 h 45 min + 1 h 30 min: 45 + 30 = 75 minutes = 1 h 15 min, so the total is 4 h 15 min.

    How do I convert minutes to decimal hours?

    Divide the minutes by 60. 7 h 30 min is 7.5 hours, and 7 h 45 min is 7.75 hours. Timesheets and payroll often use decimal hours.

    How do I calculate hours worked across midnight?

    Enter the start and end times as normal. If the end time is earlier than the start, the calculator counts it as the next day, so 10 pm to 6 am is 8 hours.

    Can I enter times in 12-hour format?

    Yes. Type 5:30 pm or 17:30; both work. 12 am is midnight and 12 pm is noon.

    Simple arithmetic with 60 seconds per minute, 60 minutes per hour and 24 hours per day. Checked in our tests against hand-worked examples.

    Last reviewed: . Results are estimates for information only.