Skip to content

Time Calculator – Add and Subtract Time

Updated:

Add or subtract a duration from a clock time, or combine up to five signed durations. Enter a starting time and an adjustment, or switch modes to total durations.

Add Time to a Clock or Combine Durations

Input Fields
Starting Clock Time
Enter hours, minutes and seconds, such as 11:30:00.
Adjust the Clock By
Values over 59 are allowed and will be normalized.
Durations to Combine
Duration 1
Duration 2
Duration 3
Duration 4
Duration 5
If enabled, the result will update automatically when you change any value.

Time Calculator Formula

Formula
\[ \begin{aligned} D_i &= 86{,}400d_i+3{,}600h_i+60m_i+s_i \\ T_{\text{clock}} &= T_0+\sigma D_1 \\ q &= \left\lfloor\frac{T_{\text{clock}}}{86{,}400}\right\rfloor, \qquad r=T_{\text{clock}}-86{,}400q \\ T_{\text{combined}} &= \sum_{i=1}^{n}\sigma_iD_i \end{aligned} \]

Where:

  • \(D_i\) — duration \(i\), converted from days \(d_i\), hours \(h_i\), minutes \(m_i\), and seconds \(s_i\) into seconds.
  • \(T_0\) — starting clock time in seconds after midnight, using a 24-hour hour value.
  • \(\sigma\) or \(\sigma_i\) — \(+1\) for Add or \(-1\) for Subtract.
  • \(q\) — whole-day rollover; \(r\) — resulting seconds after midnight.
  • \(n\) — number of durations, from 1 to 5; \(T_{\text{combined}}\) — signed total in seconds.

In clock mode, the calculator shifts the starting time and separates the result into a time of day and a day rollover. In duration mode, it adds the signed durations and converts their total into days, hours, minutes, and seconds.

Time Calculator – Calculation Example

Example: with the default clock settings, start at 11:30:00 PM and add 2 hours 45 minutes.

\[ \begin{aligned} T_0 &= 23(3{,}600)+30(60)=84{,}600\text{ s} \\ D_1 &= 2(3{,}600)+45(60)=9{,}900\text{ s} \\ T_{\text{clock}} &= 84{,}600+9{,}900=94{,}500\text{ s} \\ q &= 1,\qquad r=94{,}500-86{,}400=8{,}100\text{ s} \\ r &= 2(3{,}600)+15(60) \end{aligned} \]

Result: 2:15:00 AM, with a day rollover of +1 day.

How to use the calculator

  1. Choose a Calculation Mode: Time + duration to change a clock time, or Duration ± duration to combine lengths of time.
  2. For a clock calculation, select Clock Format. Enter Clock Time as hours:minutes:seconds, such as 11:30:00. If you select the 12-hour clock, also choose AM or PM.
  3. Choose Operation as Add (+) or Subtract (−). Enter the adjustment in Days, Hours, Minutes, and Seconds. Read Resulting Clock Time together with Day Rollover.
  4. To combine durations instead, set Number of Durations from 1 to 5. For each visible duration, choose its Sign and enter its Days, Hours, Minutes, and Seconds.
  5. Read Combined Duration for the signed days–hours–minutes–seconds result. Total Hours, Total Minutes, and Total Seconds express that same result in one unit.

Clock times and durations are different

A clock time identifies a point within a day; a duration measures how long something lasts. Adding 2 hours to 11:30 PM gives 1:30 AM, not 13:30 PM. Because the result passes midnight, its day rollover is +1 day. Subtracting across midnight produces a negative rollover, such as −1 day. A zero rollover means the result stays on the same day as the starting clock time.

The calculator works in seconds so that minutes and seconds carry into larger units automatically. You can enter more than 59 minutes in a duration: 90 minutes is treated as 1 hour 30 minutes. An adjustment can also include whole days. The clock result still shows a time within a single day, while Day Rollover keeps track of how many days forward or backward the calculation moved.

Duration mode does not need a starting clock time. It combines up to five time spans, each with its own Add or Subtract sign. With the default duration entries, 1 hour 20 minutes − 50 minutes + 10 minutes 5 seconds equals 40 minutes 5 seconds, or 2,405 total seconds. If subtractions exceed additions, the Combined Duration and unit totals are negative. The displayed day, hour, minute, and second components describe the magnitude of that signed result.

Practical tips and limitations

  • Enter Clock Time with two-digit minutes and seconds, such as 9:05:00. The hour can have one or two digits. Use hours 1–12 with AM or PM, or hours 0–23 in 24-hour format; 00:00:00 represents midnight in 24-hour format.
  • Duration fields accept nonnegative whole numbers only, up to 100,000 per field. Use Operation or Sign to subtract rather than entering negative values in the fields.
  • Day Rollover is a count of days, not a calendar date. The calculator does not account for time zones, daylight saving changes, or leap seconds. If your calculation crosses a daylight saving change, the elapsed real-world time may differ from a simple clock adjustment.
  • Total Hours and Total Minutes may be rounded for display; Total Seconds is the whole-second total. For example, 30 minutes is 0.5 total hours, not 30 total hours.

For a trip with departure and travel details, use the Road Trip Arrival Time calculator. For planning across time zones, see the Jet Lag Recovery calculator. If the duration is specifically for food preparation, the Turkey Thawing Time calculator estimates the time needed from the turkey’s weight.

Frequently Asked Questions

How do I subtract time by hand when I need to borrow?

Subtract seconds, then minutes, then hours. If the seconds are too small, borrow 1 minute and add 60 seconds; do the same with hours and minutes if needed. For example, 10:05:20 minus 17 minutes 45 seconds is 9:47:35. Borrowing from the minutes and then the hours handles both columns.

Can I use this calculator to find the time between two clock times?

Yes, if you first express the difference as a duration, but the calculator does not accept two clock times directly. For example, 9:15 AM to 12:40 PM is 3 hours 25 minutes. For an overnight interval, count through midnight: 10:30 PM to 1:15 AM the next day is 2 hours 45 minutes.

How do I convert decimal hours into hours and minutes?

Multiply the fractional part of the hours by 60. For example, 2.75 hours is 2 hours plus \(0.75\times60=45\) minutes. To enter it here, use 2 in Hours and 45 in Minutes; duration fields do not accept fractions. Conversely, 2 hours 30 minutes is 2.5 total hours, not 2.30 hours.

Is 12:00 AM midnight or noon, and can I enter 24:00?

12:00 AM is midnight, and 12:00 PM is noon. In 24-hour notation, those are 00:00 and 12:00, respectively. Enter 00:00:00 for midnight in 24-hour mode: 24:00:00 is not a valid starting clock time here. If you mean midnight at the end of a day, use the next day’s 00:00:00.

How do I turn a day rollover into a calendar date?

Apply the rollover to the starting date separately. A result of +1 day means the next calendar date; −1 day means the previous date. For example, starting on January 31 with a +1 rollover gives February 1. The calculator does not ask for a date, so you must account for month lengths, leap years, and any local clock changes yourself.

What does a negative combined duration mean?

A negative total means the durations marked Subtract exceed those marked Add. For instance, 20 minutes minus 50 minutes gives −30 minutes; it is not a clock time or a day rollover. The minus sign applies to the entire displayed duration. If the positive and negative entries cancel exactly, the combined duration is zero.

Leave a Reply

Your email address will not be published. Required fields are marked *