Time calculator

Add or subtract hours, minutes, and seconds from a clock time and keep any midnight rollover visible.

What this calculator covers

Use this calculator when you need clock math rather than elapsed duration, such as shifting a start time by a precise block of hours, minutes, and seconds.

The output keeps the resulting clock time and any day rollover together so a next-day or previous-day result is not hidden.

Frequently asked questions

What does "day rollover" mean in the result?
If adding the adjustment pushes past midnight, the result lands on the following calendar day — shown as +1 day. Subtracting past midnight gives a −1 day rollover. The clock time displayed is always the correct position within that shifted day.
Can I add more than 24 hours?
Yes. The calculator accepts large hour values and tracks the corresponding number of day rollovers. For example, adding 36 hours to a start time produces a result with a +1 day rollover at the equivalent clock position.
What time format does the start time field expect?
The start time field uses 24-hour (HH:MM) format, so 2:30 PM would be entered as 14:30 and midnight as 00:00. The result is also shown in 24-hour format alongside a 12-hour label.
Is this the right tool for calculating how long something takes?
This calculator performs clock arithmetic — shifting a start time forward or backward. If you need to find the elapsed time between two clock times rather than apply a known offset, a time-duration calculator is the better fit.

Tool

Run the calculation

Result

RESULT · CLOCK TIME

â„–093

Add 2 hours, 30 minutes, 40 seconds from 23:45 to land on 2:15:40 AM (+1 day).

Start time
23:45
Clock shift
Add 2 hours, 30 minutes, 40 seconds
Result
2:15:40 AM (02:15:40)
Day rollover
+1 day

Step-by-step solution

  1. 1.Convert the start time of 23:45 into seconds after midnight.
  2. 2.Apply the requested clock shift as add 2 hours, 30 minutes, 40 seconds so the arithmetic stays in whole seconds.
  3. 3.Normalize the result back onto the 24-hour clock to read 2:15:40 AM, with the rollover tracked as +1 day.

Walkthrough

Visual walkthrough

Clock arithmetic is cleanest when the start time and the adjustment are both reduced to total seconds.

  1. 01

    Read the start time

    23:45

    The HH:MM input becomes a precise point on the 24-hour clock before any shift is applied.

  2. 02

    Apply the signed clock shift

    Add 2 hours, 30 minutes, 40 seconds

    Hours, minutes, and seconds are combined into one total-second adjustment so addition and subtraction stay deterministic.

  3. 03

    Normalize onto the clock face

    02:15:40

    Any spill past midnight becomes an explicit rollover of +1 day.

    2:15:40 AM (+1 day)