Home · Date & Time · Date Arithmetic · Add Hours Calculator
Add Hours Calculator
Add or subtract hours from a date and time and see the new moment, including any rollover into the next or previous day.
What this calculator does
Add or subtract hours from a date and time and see the new moment, including any rollover into the next or previous day. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The date and time are combined into one second count, the amount is added or subtracted, and the total is split back into a date and a time of day.
Dates use the proleptic Gregorian calendar: a year is a leap year when divisible by 4, except century years not divisible by 400.
Worked example
With the example inputs this page opens with (amount 5), the result is Mar 15, 2026, 2:00 PM — resulting date and time.
Quick reference
| Amount | Resulting date and time |
|---|---|
| 2.5 | Mar 15, 2026, 11:30 AM |
| 4 | Mar 15, 2026, 1:00 PM |
| 5 | Mar 15, 2026, 2:00 PM |
| 6.25 | Mar 15, 2026, 3:15 PM |
| 7.5 | Mar 15, 2026, 4:30 PM |
| 10 | Mar 15, 2026, 7:00 PM |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
What happens when the hours cross midnight?
The date moves with the time: adding 5 hours to 22:00 lands at 03:00 on the following date, and the days-shifted figure shows the move.
Can I subtract hours instead?
Yes, choose Subtract; the calculation runs the same way in the other direction, moving to an earlier date if needed.
How does the Add Hours Calculator work?
Add or subtract hours from a date and time and see the new moment, including any rollover into the next or previous day. Date · Time · Amount · Unit · Add/Subtract → Resulting date and time. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Add Hours Calculator need?
Date · Time · Amount · Unit · Add/Subtract → Resulting date and time. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.