Hours Calculator.

Work out the hours between two times, less any break, and add up a week of shifts. Night shifts that run past midnight count correctly.

Hours between two times

Hours worked

8 h

8.00 decimal hours · 8:00

8 h 30 min from start to end, less a 30-minute break.

Weekly timesheet

Day Start End Break (min) Hours
Mon 8:00
Tue 8:00
Wed 8:00
Thu 8:00
Fri 8:00
Sat —
Sun —
Week total 40:00 (40.00 decimal hours)

How to calculate hours worked

  1. Enter the start and end time of the shift. An end earlier than the start is read as the next day.
  2. Enter any unpaid break in minutes.
  3. Read the hours worked, in hours and minutes and as decimal hours for payroll.
  4. For a week, fill in the timesheet rows; days left blank count as zero.

About the hours calculator

Hours worked are the time from the start of a shift to its end, less any unpaid break. The calculator counts in whole minutes, the resolution of a clock, and shows the answer three ways: hours and minutes, the h:mm form a timesheet uses, and decimal hours, which is what payroll multiplies by an hourly rate.

Decimal hours. Minutes become a decimal by dividing by 60, so 15 minutes is 0.25 of an hour, 30 minutes 0.5 and 45 minutes 0.75. The one that catches people out is 20 minutes: it is 0.33 hours, not 0.20. So 7 h 20 min is 7.33 hours, and at $20 an hour that shift pays $146.67, not $144.

Night shifts. When the end time is earlier than the start, the shift has run past midnight, and the calculator adds a day: 22:00 to 06:00 is 8 hours. A start and end at the same time counts as no time rather than 24 hours; for a full-day shift, split it into two entries. The one thing it cannot see is a daylight-saving change, which adds or removes an hour on the night the clocks move.

Timesheets. The weekly table totals each day the same way and adds them up, so five days of 9:00 to 17:30 with a half-hour lunch comes to 40 hours. Days left empty count as zero. Check your employer's rounding rule before you submit: some round each punch to the nearest 5, 6 or 15 minutes, which can move the total either way.

Frequently Asked Questions

How do I calculate hours worked?

Subtract the start time from the end time, then take off any unpaid break. From 9:00 to 17:30 is 8 h 30 min; less a 30-minute lunch that is 8 hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 15 minutes is 0.25 h, 30 is 0.5 and 45 is 0.75, so 7 h 45 min is 7.75 hours. The one that trips people up is 20 minutes: it is 0.33 hours, not 0.20.

How are night shifts counted?

When the end time is earlier than the start, the shift has run past midnight, so a day is added: 22:00 to 06:00 is 8 hours. The calculator does this for you. A start and end at the same time counts as no time, not 24 hours.

How many hours is 9 to 5?

8 hours, or 7 with an unpaid hour for lunch. Five days of 9 to 5 is 40 hours, or 35 hours with the lunch hour taken off.

Does it account for daylight saving time?

No. On the night the clocks change, a shift across 2 a.m. is an hour longer or shorter than the clock times suggest, so add or take off that hour yourself.

All tools