Adding Hours Calculator — Add Hours to a Time
Enter a start time and the number of hours to add — get the end time in both 12-hour and 24-hour format, with automatic day-rollover handling.
h
min
h
How does this calculator work?
End time = (start time in minutes + hours-to-add × 60) mod 1440, converted back to HH:MM. Fractional hours work — 2.5 means 2 h 30 min. Rollovers past midnight are handled automatically. Enter a start time and duration to get the result in 12-hour and 24-hour format.
Formula
How this is calculated
The calculator converts both the start time and the duration to a total number of minutes since midnight. The start time (entered as hours and minutes) becomes hours × 60 + minutes. The hours to add (which may be fractional, e.g. 2.5 for two and a half hours) is multiplied by 60 to give additional minutes.
Those two minute totals are added together and then taken modulo 1440 (the number of minutes in a day) so the result always lands within a valid 24-hour clock. Modulo arithmetic naturally handles day rollovers: adding 10 hours to 20:00 gives 1440 + 600 = 2040 minutes total, which mod 1440 = 600 minutes = 06:00 the next morning.
Negative values for the hours-to-add field subtract time instead of adding it, also with correct rollover. The result is shown in both 12-hour AM/PM and 24-hour formats, and a clock face illustrates the end time.
Frequently asked questions
Enter 2.5 in the "hours to add" field. Decimal hours work by multiplying the fraction by 60: 0.5 × 60 = 30 minutes. You can also use 2.25 for 2h 15 min, 1.75 for 1h 45 min, and so on.
The calculator uses modulo 1440 arithmetic so results always land in a valid 24-hour range. For example, starting at 22:00 and adding 4 hours gives 02:00, and the "day rollover" indicator confirms the result is the following day.
Yes — enter a negative value in the "hours to add" field. For example, entering −3 subtracts three hours from the start time. Rollover is handled automatically here too.
Also known as
TG we-Calculate Editorial Team. (2026). Adding Hours Calculator — Add Hours to a Time [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/adding-hours-calculator
TG we-Calculate Editorial Team. "Adding Hours Calculator — Add Hours to a Time." TG we-Calculate. 2026. https://we-calculate.com/calculator/adding-hours-calculator.
TG we-Calculate Editorial Team, "Adding Hours Calculator — Add Hours to a Time," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/adding-hours-calculator
@misc{wecalculate_adding_hours_calculator, title = {Adding Hours Calculator — Add Hours to a Time}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/adding-hours-calculator}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
