Hours Calculator

Add up hours worked from start and end times with breaks, including overnight shifts, in hours and minutes and decimal hours.

8h 00m
7h 45m

Times like 9:00, 9am, 5:30 pm or 1730. An end time earlier than the start counts as overnight.

Total
15h 45m
15.75 decimal hours

Adding up a timesheet

hours = end time − start time − break
decimal hours = hours + minutes ÷ 60

Enter each day as a row. Times can be typed the way you’d write them — 9, 9am, 9:30, 5:30 pm or 1730.

Minutes to decimal

MinutesDecimal
60.1
150.25
200.33
300.5
400.67
450.75

Overnight shifts

When an end time is earlier than the start, the shift crosses midnight and 24 hours are added. A shift longer than 24 hours needs to be split into two rows.

Common questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract unpaid breaks. 9:00 am to 5:30 pm with a 30-minute lunch is 8 hours.

How do I convert minutes to decimal hours?

Divide by 60. 15 minutes is 0.25 hours, 30 is 0.5, 45 is 0.75. So 7 h 45 m is 7.75 hours.

How are overnight shifts handled?

If the end time is earlier than the start, the shift is assumed to cross midnight: 10 pm to 6 am is 8 hours.

Does this calculate overtime?

No. Overtime rules differ by country and state (in the US, typically over 40 hours a week for non-exempt workers). The pay figure is straight time only.

MathApps is free and ad-free for now. If it helped, buy us some art supplies — supporters never see ads, even if we add them.