Quick answerHow do I find the hours between two times?
Pick a common pair below, or open any page like /hours-between/9-am-and-5-pm. Each gives the exact hours and minutes, handles overnight spans, and — for bedtime-to-alarm pairs — the sleep angle.
Common spans
| From | To | Hours | |
|---|
| 9:00 AM | 5:00 PM | 8 | open → |
| 8:00 AM | 5:00 PM | 9 | open → |
| 9:00 AM | 6:00 PM | 9 | open → |
| 11:00 PM | 7:00 AM | 8 | open → |
| 10:00 PM | 6:00 AM | 8 | open → |
| 12:00 AM | 8:00 AM | 8 | open → |
| 7:00 AM | 3:00 PM | 8 | open → |
| 2:00 PM | 10:00 PM | 8 | open → |
| 11:00 AM | 7:00 PM | 8 | open → |
| 6:00 AM | 2:00 PM | 8 | open → |
| 9:00 PM | 5:00 AM | 8 | open → |
| 8:00 AM | 4:00 PM | 8 | open → |
Sleep calculator, time difference between cities, jet lag by route.
Frequently asked questions
How do you calculate hours between two times?
Count forward on the clock from the start time to the end time. If the end time is earlier in the day than the start, the span crosses midnight, so you add the hours after midnight to the hours before it.
Does it handle overnight spans?
Yes. For example, 11:00 PM to 7:00 AM is 8 hours, counted across midnight.
Can I use this for sleep?
Yes — put your bedtime and wake-up time in and you get hours in bed. To make the wake-up time land at the end of a sleep cycle, use the sleep calculator.