⏱️ Add or Subtract Time Calculator
By ToolNimba Editorial Team · Updated 2026-06-19
24-hour clock. Seconds optional.
Hours are not capped at 24.
Enter a start time and a duration to begin.
This add time calculator does the awkward clock arithmetic for you. In Clock time mode, pick a starting time, choose add or subtract, and enter a duration in hours, minutes and seconds. You get the resulting clock time and a clear day offset when the answer crosses midnight. In Duration sum mode, you can add or subtract two raw durations (for example 1:30:00 minus 0:45:30) without any 24-hour cap, which is handy for timesheets, cooking and project planning.
What is the Add Time Calculator?
Adding time looks simple until the numbers cross a boundary. Seconds roll into minutes at 60, minutes roll into hours at 60, and hours roll into a new day at 24. Doing this in your head invites mistakes, especially when you subtract and land before midnight, or when a long duration pushes the answer a day or two forward. The reliable way is to convert everything to a single unit, do plain arithmetic, then convert back. This tool turns each time into total seconds, applies the operation, and reformats the result as HH:MM:SS.
The key idea for clock times is modular arithmetic. A clock repeats every 86,400 seconds (24 hours), so the displayed time is the remainder after dividing by 86,400. To keep negative results sensible, the calculator uses a floored division: the day offset is the number of whole days the answer moved, and the time of day is always shown as a positive value between 00:00:00 and 23:59:59. That is why subtracting a few hours from 01:00 correctly returns a time on the previous day with an offset of minus one day, rather than a meaningless negative clock reading.
Duration sums are different because a duration is not capped at 24 hours. Two hours plus 23 hours is 25 hours, not 1 hour, so Duration sum mode reports the full HH:MM:SS without wrapping. Subtraction can go negative here (your result may be a deficit, shown with a leading minus), which is exactly what you want when comparing planned against actual time. Choosing the right mode for the question is the main thing to get correct.
When to use it
- Working out a finish time by adding a task or cooking duration to a start time.
- Finding a start time by subtracting a duration backward from a deadline.
- Adding up several work blocks on a timesheet to get total hours and minutes.
- Checking how far past midnight an overnight shift or process will run, with the day offset shown.
- Comparing planned versus actual time by subtracting one duration from another.
How to use the Add Time Calculator
- Choose a mode: Clock time to add or subtract a duration from a time of day, or Duration sum to combine two durations.
- In Clock time mode, enter the start time as HH:MM:SS in 24-hour form (seconds are optional).
- Pick Add duration or Subtract duration, then type the hours, minutes and seconds to apply.
- Read the resulting clock time and the day offset (for example +1 day) if the answer crosses midnight.
- In Duration sum mode, enter two durations and choose Add or Subtract to see the combined HH:MM:SS and decimal hours.
Formula & method
Worked examples
Add 2 hours 45 minutes to a start time of 14:30:00.
- Start in seconds = 14 × 3600 + 30 × 60 + 0 = 52,200
- Duration in seconds = 2 × 3600 + 45 × 60 = 9,900
- Sum = 52,200 + 9,900 = 62,100 seconds
- 62,100 mod 86,400 = 62,100, so no day rollover
- 62,100 seconds = 17 h, 15 min, 0 s
Result: Result: 17:15:00, same day
Subtract 3 hours from a start time of 01:00:00.
- Start in seconds = 1 × 3600 = 3,600
- Duration in seconds = 3 × 3600 = 10,800
- Difference = 3,600 − 10,800 = −7,200 seconds
- Day offset = floor(−7,200 ÷ 86,400) = −1 (one day earlier)
- Time of day = ((−7,200 mod 86,400) + 86,400) mod 86,400 = 79,200 = 22:00:00
Result: Result: 22:00:00 on the previous day (-1 day)
Duration sum: add 1:30:00 to 0:45:30.
- First duration = 1 × 3600 + 30 × 60 = 5,400 seconds
- Second duration = 45 × 60 + 30 = 2,730 seconds
- Total = 5,400 + 2,730 = 8,130 seconds
- 8,130 seconds = 2 h, 15 min, 30 s (no 24-hour cap)
Result: Result: 02:15:30 (2.2583 hours)
Time unit conversions used in the calculation
| Unit | In seconds | In minutes |
|---|---|---|
| 1 minute | 60 | 1 |
| 1 hour | 3,600 | 60 |
| 1 day | 86,400 | 1,440 |
| 1 week | 604,800 | 10,080 |
Clock time examples (24-hour start time)
| Start | Operation | Result | Day offset |
|---|---|---|---|
| 09:00:00 | Add 8 h 30 min | 17:30:00 | Same day |
| 22:15:00 | Add 5 h | 03:15:00 | +1 day |
| 01:00:00 | Subtract 3 h | 22:00:00 | -1 day |
| 12:00:00 | Add 36 h | 00:00:00 | +1 day |
Common mistakes to avoid
- Treating 60 minutes as 100. Time is base 60, not base 100. Adding 50 minutes to 8:30 gives 9:20, not 8:80. Convert to total seconds or minutes first to avoid carrying errors.
- Expecting a negative clock time. Clocks never read a negative time. Subtracting past midnight rolls to the previous day, so the answer is a positive time of day plus a day offset of minus one, not a number like -2:00.
- Using clock mode for a long total. Clock time mode wraps at 24 hours. If you want a running total like 25 hours or 40 hours, use Duration sum mode, which has no 24-hour cap.
- Forgetting AM and PM when converting to 24-hour. This tool uses the 24-hour clock. Remember that 1 PM is 13:00 and midnight is 00:00, so convert a 12-hour time correctly before entering it.
Glossary
- 24-hour clock
- A time format running from 00:00:00 to 23:59:59, where the hour does not repeat in the afternoon. 1 PM is 13:00.
- Duration
- A length of time (such as 2 hours 45 minutes) rather than a point in the day. Durations are not capped at 24 hours.
- Day offset
- How many whole days the result moved from the start, for example +1 day when adding pushes the time past midnight.
- Modulo (mod)
- The remainder after division. A clock time is the total seconds taken modulo 86,400 (the seconds in a day).
- Wraparound
- When a value passes its maximum and starts again from zero, like a clock going from 23:59 to 00:00.
Frequently asked questions
How do I add hours and minutes to a time?
Choose Clock time mode, enter the start time in 24-hour form, select Add duration, and type the hours, minutes and seconds. The calculator converts everything to seconds, adds them, and shows the resulting clock time along with a day offset if the answer crosses midnight.
What happens when the result goes past midnight?
The time wraps around the 24-hour clock and the tool shows a day offset. For example, adding 5 hours to 22:15 gives 03:15 with a +1 day label, meaning the result falls on the next calendar day.
Can I subtract time and go to the previous day?
Yes. Subtracting a duration that takes the time below 00:00 rolls back to the previous day. For instance, 01:00 minus 3 hours returns 22:00 with a -1 day offset, rather than a negative clock reading.
What is the difference between Clock time and Duration sum mode?
Clock time mode works with a time of day and wraps every 24 hours, reporting a day offset. Duration sum mode adds or subtracts two raw durations with no 24-hour cap, so totals like 25 hours are shown in full and subtraction can be negative.
Does the calculator use a 12-hour or 24-hour clock?
It uses the 24-hour clock for clarity, so enter 1 PM as 13:00 and midnight as 00:00. This avoids any AM and PM ambiguity when the result crosses midnight.
Can I add more than 24 hours at once?
Yes. In Clock time mode you can enter any number of hours, and the day offset will reflect how many full days were crossed (for example adding 36 hours moves the time forward by one day plus 12 hours).