AskDateTime.
Menu

Hours Calculator

Calculate the full duration between two clock times, including across midnight. See elapsed hours, minutes and decimal hours.

If the end time is earlier than the start time, it is treated as the next day. This is clock-time duration, not payroll or overtime.

Your time difference will appear here.

How to use this calculator

  1. Enter the start and end times, then select Calculate. Your browser may display a 12-hour or 24-hour time picker.
  2. For an end time on the following day, select End time is next day. An earlier end time is already treated as overnight.

How it works

The calculator subtracts clock times and returns hours and minutes, decimal hours, and total minutes. Use it to check an appointment, journey or other time interval. It does not deduct breaks, add multiple shifts, calculate pay, or adjust for daylight saving time.

Example

08:30 to 17:15 is a daytime interval; 22:00 to 06:30 crosses midnight.

The daytime interval is 8 hours 45 minutes (8.75 hours); the overnight interval is 8 hours 30 minutes (8.5 hours).

Common questions

What happens if the start and end times are the same?

Equal times give zero hours by default. Select End time is next day for a full 24 hours.

How do I account for an unpaid break?

Use the Work Hours Calculator linked below to deduct unpaid breaks. This calculator shows the full elapsed clock-time span.

Does this measure elapsed time across a clock change?

No. These are clock times without dates or time zones. An overnight shift during a daylight-saving change can have a different actual elapsed duration.