EULERCALC

Add and Subtract Hours Calculator

This calculator adds or subtracts a number of hours and minutes to a starting time and gives you the exact resulting time. Choose a base time, pick whether you want to add or subtract, enter the hours and minutes, and it does the rest. It is handy for planning shift schedules, working out arrival or finish times, converting across time offsets, or figuring out when a timer will go off. When the result crosses midnight, it tells you whether it lands on the same day, the next day, or a previous day.

Operation

Resulting time

The resulting time uses the 24-hour format. When adding or subtracting crosses midnight, the calculator shows how many days apart the result is from the base time.

Publicidad

How it works

The calculator converts the base time into the total number of minutes since midnight, then converts the hours and minutes you entered into minutes and adds or subtracts them. It divides the running total by 1440 (the minutes in a day) to work out the day overflow: a positive result means the clock has rolled forward into the following days, and a negative result means it has rolled back into previous days. The remainder, wrapped into the 0–1439 range, is turned back into hours and minutes to give a valid clock time. That is why adding 5 hours to 22:00 returns 03:00 on the next day rather than an impossible 27:00.

Carrying minutes and converting time units

When you add times, the minutes are carried into hours once they reach 60. Adding 2 h 45 min and 1 h 30 min gives 75 minutes, which is 1 hour and 15 minutes, so the hours become 2 + 1 + 1 = 4 and the answer is 4 h 15 min. The same logic runs in reverse for subtraction, borrowing 60 minutes from an hour when needed. The table below shows how the common units line up: an hour is 60 minutes or 3,600 seconds, and quarter-hour steps map neatly onto decimal fractions of an hour.

DurationMinutesSecondsFraction of an hour
15 min159000.25 h
30 min301,8000.5 h
45 min452,7000.75 h
1 hour603,6001 h

24-hour vs 12-hour clock

This calculator works in the 24-hour clock, where the day runs from 00:00 to 23:59 and there is no AM or PM to worry about. In the 12-hour system the same day is split into two halves: 00:00 becomes 12:00 AM (midnight), 12:00 stays 12:00 PM (noon), and any afternoon hour is the 24-hour value minus 12 — so 14:30 is 2:30 PM and 21:00 is 9:00 PM. Using the 24-hour format removes the ambiguity that causes missed alarms and scheduling mix-ups, which is why it is standard for timetables, the military and most of the world.

Publicidad

Preguntas frecuentes

How do I add hours to a time?
Enter your starting time in the "base time" field, keep the operation set to "add", type the number of hours and minutes you want to add, and press Calculate. The tool shows the resulting time in 24-hour format and tells you if it falls on the same day or rolls over to a later day.
What happens when the result passes midnight?
The clock wraps around. For example, adding 4 hours to 23:00 gives 03:00 on the next day. The calculator never shows impossible times like 27:00; instead it displays 03:00 and notes that it is the next day, or how many days later for larger amounts.
Can I subtract hours and go into the previous day?
Yes. Switch the operation to "subtract". If the subtraction goes below 00:00, the time wraps to the previous day. Subtracting 3 hours from 01:00 returns 22:00 on the previous day.
Does this use a 12-hour or 24-hour clock?
The base time input and the result both use the 24-hour format (for example 14:30 instead of 2:30 PM), which avoids any AM/PM ambiguity. You can convert the result mentally if you prefer a 12-hour clock.
Can I add more than 24 hours?
Yes. There is no upper limit on the hours you enter. Adding 50 hours simply rolls the day count forward by two days plus the leftover 2 hours, and the day indicator shows how many days ahead the resulting time is.

Related calculators