Time Between Calculator

Calculate the time between two clock times — worked hours, duration, or the gap between any two events. Handles overnight shifts.

Calculated in your browser. No data sent to servers.

Formula reviewed Nov 2026

Try an example

$

Total time

-

-

Hours + minutes

-

Decimal hours

-

Total minutes

-

Pay

-

How to use this calculator

Enter the start time and end time, plus any unpaid break. The calculator shows the total time in hours and minutes, as decimal hours, and in total minutes. Add an hourly rate to calculate pay.

The formula behind this result

Duration = end time − start time (in minutes), plus 24 hours if the end is earlier than the start (overnight shift). Subtract break minutes. Decimal hours = total minutes ÷ 60. Pay = decimal hours × hourly rate.

Frequently asked questions

Does this handle overnight shifts?

Yes — if the end time is earlier than the start time, the calculator assumes the shift crossed midnight. For example, 22:00 to 06:00 gives 8 hours.

Should I include short breaks?

In most jurisdictions, breaks under 20 minutes must be paid. Only deduct breaks of 20 minutes or longer.

What is decimal time?

Payroll systems often record hours as a decimal — 7 hours 30 minutes becomes 7.5. This calculator shows both formats so you can fill in either type of timesheet.

Explore more