Cubestack

Time Calculator

Free time calculator and hours calculator: add or subtract days, hours, minutes and seconds, find the time between two clock times (even across midnight), or add hours to a time of day.

Add or subtract time

Result

4 h 15 m

Total hours
4.25
Total minutes
255
Total seconds
15300

Time between two clock times

Time elapsed

8 h 30 m

Total hours
8.5
Total minutes
510
Total seconds
30600

The end time is earlier than the start time, so it is counted as the next day (crossing midnight).

Add or subtract time from a clock time

Resulting time

1:00 PM (same day)

Decimals are allowed (1.5 hours = 1 h 30 m) and are rounded to the nearest second. Leave a box empty to count it as 0.

What is the Time Calculator?

A time calculator adds and subtracts durations written as days, hours, minutes and seconds, and works out the gap between two times of day. Use it for timesheets, shift lengths, travel times and anything else measured in hours and minutes. It runs in your browser, so nothing you type is sent anywhere.

How to use it

  1. 1

    Choose a section

    Use the top section to add or subtract durations, the left box below it to find the time between two clock times, or the right box to add time to a clock time.

  2. 2

    Enter the values

    Type days, hours, minutes and seconds, or pick the times. Press + or − on each row to say whether it is added or subtracted.

  3. 3

    Read the result

    The answer appears at once as days, hours, minutes and seconds, with total decimal hours, minutes and seconds underneath.

Features

  • Add and subtract rows

    Enter as many durations as you like and set each one to + or −. The total updates as you type.

  • Time between two clock times

    Pick a start and an end time. If the end is earlier than the start it counts as the next day, so 10 PM to 6:30 AM gives 8 h 30 m.

  • Add or subtract from a clock time

    Start at a time of day, add or subtract a duration, and see the new time with a note such as next day or previous day. Switch between 12-hour and 24-hour display.

  • Four ways to read the result

    Every result shows days, hours, minutes and seconds, plus total hours as a decimal, total minutes and total seconds.

  • Decimals and carrying

    1.5 hours counts as 1 h 30 m, and 90 minutes carries into 1 h 30 m. Fractions of a second are rounded to the nearest second.

  • Clear error messages

    Empty boxes count as 0. Negative numbers and stray characters are flagged on the row, and the − button handles subtraction.

Popular uses

  • Timesheets and work hours

    Add up the hours worked each day, or subtract a break from a shift.

  • Night shifts

    Find how long a shift from 10 PM to 6 AM lasts without working across midnight by hand.

  • Travel and flights

    Add a journey time to a departure time to get the arrival time.

  • Study, cooking and workouts

    Total up session lengths, or work out when something that takes 2 h 45 m will finish.

Frequently asked questions

How do I add hours and minutes?

Enter the hours and minutes in each row, keep the + sign, and read the total. For example 2 h 30 m plus 1 h 45 m is 4 h 15 m.

How do I subtract time?

Switch the row to − and enter the amount. If you subtract more than you added, the result is shown as a negative duration.

How do I convert hours and minutes to decimal hours?

The result shows total hours as a decimal: 7 h 30 m is 7.5 hours and 1 h 20 m is 1.3333 hours. Decimal hours are the form most payroll sheets need.

Does it handle times that cross midnight?

Yes. If the end time is earlier than the start time, the calculator treats it as the next day. When you add time to a clock time it also tells you if the result lands on the next or previous day.

What happens if two times are the same?

The time between them is 0. The calculator does not assume a full 24 hours.

Related tools