Time Calculator

Add or subtract durations in days, hours, minutes and seconds, or apply a duration to a calendar date and time.

First duration
Second duration

Enter whole, nonnegative amounts. Values such as 36 hours or 90 minutes are accepted and normalized in the result.

Result
OperationDayHourMinuteSecond
12 days0 hours0 minutes0 seconds
−2 days36 hours0 minutes0 seconds
=8 days12 hours0 minutes0 seconds
=8.5 days
=204 hours
=12,240 minutes
=734,400 seconds

8 days are 1 week and 1 day.

What is a time calculator?

A time calculator adds and subtracts durations or applies them to a specific date and time. Use it to combine activity lengths, compare planned time with time already used, or find when an event will finish. A duration such as 36 hours is an amount of time; a clock time such as 1:55 PM identifies a moment within a day.

Adding and subtracting durations

Enter two durations and select Add or Subtract. Each is converted to seconds using this formula:

Total seconds = days × 86,400 + hours × 3,600 + minutes × 60 + seconds.

The calculator adds the totals, or subtracts the second from the first, then divides the result into complete days, hours, minutes and seconds. The result is normalized: hours range from 0 to 23, and minutes and seconds from 0 to 59. The original input rows remain visible above it.

For example, 12 days − (2 days + 36 hours) = 12 days − 3.5 days = 8 days 12 hours. This is also 8.5 days, 204 hours, 12,240 minutes or 734,400 seconds. If the second duration is larger, a minus sign applies to the entire result.

Weeks and equivalent units

The equivalents divide the same total seconds by 86,400 for days, 3,600 for hours and 60 for minutes. The weeks line uses only the complete-day component: 8 complete days equal 1 week and 1 day, with the remaining 12 hours still shown in the main result. Fractional equivalents are displayed to up to nine decimal places.

Adding time to a date

In the second mode, choose a starting date, enter hours, minutes and seconds, and select AM or PM. Midnight is 12:00 AM and noon is 12:00 PM. Then enter the duration and choose Add or Subtract. The result automatically rolls across midnight, month ends and leap days and includes the weekday.

A day is treated as exactly 24 hours in both modes. Date calculations use the same calendar clock throughout and do not adjust for time zones, daylight-saving changes or leap seconds.