Add or Subtract Time Calculator
Start with a time of day on a 24 hour clock, enter a duration in hours and minutes, and this calculator gives you the resulting clock time. Switch between add and subtract to move forward or backward. When the total runs past midnight or before 00:00, the result shows how many whole days it shifts, so a late-night start plus a long duration correctly rolls into the next day.
How to add or subtract time
- Enter the start time as hours (0 to 23) and minutes in the Start time fields.
- Enter the duration to apply as hours and minutes in the Duration fields.
- Choose Add to move forward or Subtract to move backward using the toggle.
- Read the Result time, shown as HH:MM on the 24 hour clock.
- If it crosses midnight, note the day label such as next day or 2 days later, then copy the result.
Examples
Add within the same day
10:30 plus 2 hours 45 minutes
13:15, same day
Roll past midnight
23:15 plus 3 hours 30 minutes
02:45, next day
Subtract before midnight
02:00 minus 5 hours
21:00, previous day
Frequently asked questions
Which units can I add or subtract?
The on-page calculator works in hours and minutes for both the start time and the duration. There is no separate seconds box in the tool, though the underlying engine and the JSON API do accept seconds if you need that precision.
How do I subtract time instead of adding it?
Use the Add and Subtract toggle above the result. Subtract removes the duration from the start time, so 02:00 minus 5 hours gives 21:00 on the previous day, with the day shift shown for you.
Does it handle crossing midnight?
Yes. Adding past 24:00 rolls into the next day and subtracting before 00:00 rolls into the previous day. The result labels the shift, for example next day or previous day, so you are never left guessing which day it lands on.
Can I add more than 24 hours at once?
Yes. The duration hours field takes any whole number, so 9:00 plus 50 hours returns 11:00 with a 2 days later label. It counts every whole day crossed and reports the final time of day.
Does it use a 12 or 24 hour clock?
Both input and output use the 24 hour clock, so 1 PM is entered and shown as 13:00. Working in 24 hour time removes any AM and PM ambiguity around noon and midnight.
Does it account for time zones or daylight saving time?
No. This is a pure clock-arithmetic tool that works on a time of day, not on real calendar dates, so it never adds or removes an hour for daylight saving and has no concept of time zones. Every hour is treated as exactly 60 minutes.
Does it track the actual calendar date?
Not the date itself. It reports the resulting time of day plus a whole-day offset, such as next day or 2 days earlier, but it does not compute a specific calendar date. To add a duration to a full date, use a date-based calculator instead.
What does the result format look like?
The result is shown as HH:MM with a leading zero when needed, for example 02:45. If seconds are supplied through the API, the format extends to HH:MM:SS. A day label is added underneath only when the time crosses midnight.
Is my data private?
Yes. All of the arithmetic happens in your browser and nothing is uploaded or stored. You can even use the calculator offline once the page has loaded.
Learn more
- Clock Arithmetic: Adding and Subtracting Time of Day
How to add and subtract hours and minutes on a 24 hour clock, handle rollovers past midnight, and know when you need a full date calculator instead.
Related tools
Time Duration Calculator
Find the duration between two times of day. Enter a start and end time to get hours and minutes, total minutes and decimal hours, including overnight shifts.
Time Ago Formatter
Turn a date or timestamp into relative time like 3 hours ago or in 2 days. Picks the largest unit from minutes to years, with past and future support.
Add to Date
Add or subtract days, weeks, months and years from any date and get the new date. Handles month-end and leap days correctly. Free and instant.
Add Business Days Calculator
Add or subtract working days from a date, skipping weekends and any holidays you list. See the result date and its day of the week instantly.
Add Days Calculator
Add or subtract calendar days from any date and see the result with its day of the week. Free, instant and works for past or future dates.
Age Calculator
Calculate your exact age in years, months and days from your date of birth. See your age in total days, weeks and months too. Free and private.