Lang
Time Duration Calculator
Hours Between Times Calculator
Calculate hours and minutes between two times, including overnight shifts, breaks, decimal hours, and payroll-style time duration. Use it for work shifts, schedules, study sessions, travel time, or any simple start-and-end time calculation.
Calculate hours and minutes between times
9:00 AM to 5:00 PM is 8 hours.
Hours between times formula
For same-day times, subtract the start from the end. For overnight times, add 24 hours before subtracting.
\[\text{duration} = \text{end time} – \text{start time} – \text{breaks}\]
Example: 9:00 AM to 5:00 PM is 8 hours. A 30-minute break makes it 7 hours 30 minutes.
Overnight shift example
10:00 PM to 6:00 AM crosses midnight. The calculator treats 6:00 AM as the next day, so the result is 8 hours before breaks.
\[2\text{ hours to midnight} + 6\text{ hours after midnight} = 8\text{ hours}\]
Related time tools
Hours Between Times Calculator FAQ
How many hours are between 9 AM and 5 PM?
There are 8 hours between 9:00 AM and 5:00 PM before subtracting breaks.
How do I calculate an overnight shift?
If the end time is earlier than the start time, count the end time as the next day.
What are decimal hours?
Decimal hours express minutes as a fraction of an hour. For example, 7 hours 30 minutes is 7.5 hours.
Can I subtract lunch breaks?
Yes. Enter break minutes and the calculator subtracts them from the total duration.
