Free online calculator

Hours Calculator

Calculate the exact hours and minutes between two clock times. The calculator can handle overnight periods and optionally deduct unpaid break time.

Calculate hours between two times

How to use the Hours Calculator

  1. Enter a start time and an end time.
  2. If the end time is earlier than the start time, the calculator treats the end time as occurring on the following day.
  3. Optionally enter break minutes to subtract from the elapsed time.
  4. The result is shown as hours and minutes, total minutes and decimal hours.

Examples

Standard workday

9:00 AM to 5:30 PM is 8 hours 30 minutes. With a 30-minute break, the net time is 8 hours.

Overnight shift

10:00 PM to 6:00 AM is an 8-hour duration.

Decimal hours

7 hours 45 minutes equals 7.75 decimal hours.

Frequently asked questions

How do I calculate hours between two times?

Subtract the start time from the end time. If the period crosses midnight, the calculator automatically carries the end time into the next day.

Can this calculator deduct lunch or breaks?

Yes. Enter the total break time in minutes and it will be deducted from the elapsed time.

What are decimal hours?

Decimal hours express minutes as part of an hour. For example, 30 minutes is 0.5 hours and 45 minutes is 0.75 hours.

Related tools

More Time & Date calculators