Time duration calculator: hours between two times

Enter a start and end time to see exactly how long it is between them, even across midnight. Take off a break to get time actually worked.

  • Works anywhere
  • By the Gleexa team
  • Free, no sign-up
  • Last reviewed
  • Private: nothing you type is stored
Loading calculator…

Counting the time between two clock times is simple until you cross midnight or take a break. Here's the method and a worked example.

How to count time between two times

  1. Write both times in 24-hour form: 5:30 PM is 17:30.
  2. If the end is earlier than the start, add 24 hours to the end.
  3. Subtract, borrowing 60 minutes if the minutes go negative.
  4. Take off any unpaid break.

Example: Night shift, 10:00 PM to 6:15 AM, 30-minute break

06:15 + 24:00 = 30:15. 30:15 − 22:00 = 8 hours 15 minutes.

Less the break: 7 hours 45 minutes, or 7.75 decimal hours.

For a whole week of shifts with overtime, use the time card calculator.

How to use this calculator

  1. Enter the start and end times.
  2. Add a break to subtract, if any.
  3. Add extra days if the end is more than a day later.

FAQs

How do I work out hours between two times?

Subtract the start from the end. If the minutes go negative, borrow an hour: 5:15 − 1:40 is 4:75 − 1:40 = 3 hours 35 minutes.

What about times that cross midnight?

Add 24 hours to the end time. 22:00 to 06:00 is (6 + 24) − 22 = 8 hours.

How many minutes are in 8.5 hours?

510 minutes: 8 × 60 + 30.

Results are estimates and aren't financial advice. For decisions about your own money, check with a qualified adviser. Spotted a mistake? Tell us.

Time Duration Calculator: Hours & Minutes Between Two Times | Gleexa