Time Calculator

Hours Calculator

Calculate the duration between two times — for a shift, a task, or a work week. Results show in hours:minutes and decimal hours, with an optional unpaid break deduction.

Duration: ?

Frequently asked questions

How many hours is 9 to 4?

9 AM to 4 PM is 7 hours. With a 30-minute unpaid lunch it is 6.5 decimal hours (6:30). Use the calculator above to include your own break.

How do I calculate hours between two times?

Convert both times to minutes since midnight, subtract, then divide by 60. Example: 9:00 to 17:30 = (17.5×60 − 9×60) ÷ 60 = 8.5 hours.

Does the calculator handle overnight shifts?

Yes. If the end time is earlier than the start time, it assumes the shift crosses midnight and adds 24 hours to the duration.

More calculators