time
How to Calculate Hours Between Two Times
A simple guide to calculating hours between two times, including overnight shifts and quick examples.
To calculate hours between two times, start by turning both times into minutes. Subtract the earlier time from the later time, then divide by 60 to get hours. This is the cleanest manual method and it works well for most same-day calculations.
If a time range crosses midnight, add 24 hours to the ending time before subtracting. For example, 10:00 PM to 6:00 AM is an overnight shift. That is 8 hours, not a negative number.
For quick checks, a time duration calculator is easier than mental math. It is especially useful when you are working with breaks, split shifts, or multiple examples in a row.
Related tools
Related articles
How to Add Hours to the Current Time
A practical guide to adding hours to the current time without mistakes.
How to Subtract Hours From the Current Time
A simple guide to working backward from the current time.
How Many Hours Are in a Week?
A quick explanation of how many hours are in one week and why people search it.