Date math

Hours Between Times Calculator

Find the hours and minutes between any two clock times.

24-hour Overnight aware Instant

What is an Hours Between Times Calculator?

An Hours Between Times Calculator measures the duration from one clock time to another - the elapsed hours and minutes between a start time and an end time. It's the time-of-day counterpart to a date difference: where a date calculator counts days, this one counts hours and minutes.

It's handy any time you need the length of a shift, a meeting, a drive, or a cooking step, without working out the math by hand. When the end time falls on the next day - a night shift, a sleep window - the calculator automatically adds the overnight hours.

Example: 9:00 AM to 5:30 PM 8 hours 30 minutes - also shown as 8.5 decimal hours or 510 total minutes.

How to Use the Hours Between Times Calculator

Enter your start time and end time using the 24-hour picker (09:00 for 9 AM, 17:00 for 5 PM) and click Calculate Hours. The result shows the duration in hours and minutes, the decimal-hour total, and the total minutes.

If your span crosses midnight, just enter the times in order - a shift from 22:00 to 06:00 is detected as overnight and counted as 8 hours. Use the 9 to 5, Overnight, or Now +8h presets for common spans.

Common Uses

  • Shift and work hours - Length of a 9-to-5 or a night shift
  • Meeting and event duration - How long a block or session runs
  • Travel time - Flight, drive, or transit legs
  • Cooking and baking - Proofing, marinating, or roasting intervals
  • Parking and rentals - Elapsed time on a meter or booking
  • Sleep tracking - Hours between bedtime and wake-up

How Overnight Times Are Handled

Times are read in 24-hour format. If the end time is earlier than the start time, the calculator assumes the end falls on the following day and adds 24 hours (1,440 minutes). So 18:00 to 02:00 equals 8 hours, and the result is marked "overnight."

Because the inputs are clock times rather than full dates, a single span can run up to just under 24 hours. For multi-day ranges, pair this tool with the Date Difference Calculator, which counts whole days, weeks, and months between calendar dates.

Frequently Asked Questions

How do I calculate the hours between two times?

Enter a start time and an end time, then click Calculate. The result shows the duration in hours and minutes, plus the total in decimal hours and minutes.

What if the end time is on the next day?

If the end time is earlier than the start time, the calculator treats it as the next day and adds 24 hours. For example, 22:00 to 06:00 is counted as 8 hours, shown with an overnight note.

Does it use a 12-hour or 24-hour clock?

Times use the 24-hour format (HH:MM), so 09:00 is 9:00 AM and 17:00 is 5:00 PM. Enter 14:30 for 2:30 PM, and 00:00 for midnight.

How many hours are in a full day?

A full day has 24 hours, or 1,440 minutes. The calculator measures spans within a single day or across one overnight boundary, so results range from 0 up to just under 24 hours.

Does the calculator subtract a lunch or rest break?

No - it shows the full span between the two times. To get net working time, enter the break length separately and subtract it from the result, or subtract the decimal hours figure.

How is this different from the Date Difference Calculator?

The Date Difference Calculator counts days, weeks, and months between two calendar dates. This tool counts hours and minutes between two clock times on the same day, or across one overnight span.