Quick Tool Labs

Hours Between Two Times Calculator

Use this time duration calculator to find the number of hours and minutes between two times. It also handles overnight ranges and optional unpaid break time.

Ad placement area Top display slot for AdSense or a responsive banner.

Calculator

Hours and minutes 0h 00m
Decimal hours 0.00
Total minutes 0

Select two times to calculate the duration between them.

Ad placement area Mid-page ad slot placed below the core tool and results.

How this hours between two times calculator works

This calculator compares a starting time and ending time and returns the duration in hours, minutes, decimal hours, and total minutes. If the ending time is earlier than the starting time, it can treat the range as overnight into the next day.

Duration = end time − start time − break time

It is useful for payroll, scheduling, shifts, appointments, study sessions, and any situation where you need to know the exact time span between two clock times.

Examples

Example 1

From 9:00 AM to 5:00 PM, the duration is 8 hours.

Example 2

From 10:00 PM to 6:00 AM with overnight counting enabled, the duration is 8 hours.

Example 3

From 8:30 AM to 5:00 PM with a 30-minute break, the duration is 8 hours.

Frequently asked questions

Can it handle overnight shifts?

Yes. Leave the overnight option enabled and an end time earlier than the start time will be treated as the next day.

Can I subtract a lunch break?

Yes. Enter the break length in minutes and it will be subtracted from the calculated duration.

Does it show decimal hours?

Yes. The result includes both standard hours and minutes as well as decimal hours for payroll-style calculations.

Ad placement area Lower-page ad slot near FAQ and related internal links.