Hours calculator
How many hours between two times, and a week of them
How this was counted
A week of shifts
The same rounding and break rules apply to every row. Leave a day blank if it was not worked.
| Day | Start | End | Break | Hours |
|---|---|---|---|---|
| Monday | — | |||
| Tuesday | — | |||
| Wednesday | — | |||
| Thursday | — | |||
| Friday | — | |||
| Saturday | — | |||
| Sunday | — | |||
| Week total | — | |||
Enter a start time, an end time and any unpaid break to get the hours worked. The table below adds up a week of shifts and splits out overtime. Overnight shifts and payroll rounding are handled, and the answer states which rounding it used.
Why a duration is not a time of day
This page writes nine hours as “9h 00m”. Written as “09:00”, it would read as nine in the morning. A time of day is a position on the clock and a duration is a length, and mixing up the two is a real source of error. The decimal figure beside each total is the one a payroll field usually wants.
Rounding is applied to each punch
Whether you round before or after subtracting changes the answer. Clock in at 09:08 and out at 17:07 with the employer rounding to the nearest quarter hour, and the punches become 09:15 and 17:00: seven hours forty-five. Subtract first and you get seven hours fifty-nine, which rounds to eight hours. Payroll systems round the punches, and so does this page. When rounding moves a punch, the line under the answer shows the rounded times.
Rounding practices are regulated, and the rules differ by jurisdiction and by what the rounding does on average over time. Choose the increment your employer uses from the list; the page does not recommend one.
Shifts that cross midnight
An end time earlier than the start is read as crossing midnight, so 22:00 to 06:00 is eight hours, and the line under the answer says the shift was read that way. A plain subtraction gives minus sixteen hours. That wrong sign is easy to spot; a spreadsheet that turns it into zero without comment is harder to catch.
What this page does not do
It does not work out pay, so there is no hourly rate to enter. It also ignores daylight saving, because a shift here is clock time with no date attached: a shift worked across a clock change is one hour shorter or longer than the total shown. Handling that needs a date as well as a time, and the date calculators on this site avoid the same class of bug by keeping dates and clock times apart. The page applies the settings you choose and gives no advice about which rule applies to you.