Skip to content
SmartDailyCalculator

Hours Calculator

Enter when you started and finished, plus any unpaid break, to get your hours worked and pay.

Changes how amounts are shown. Values are not converted.

Hours worked per shift

7 h 30 min

Decimal hours per shift
7.5
Shift length before break
8 h 0 min
Total hours (all shifts)
7 h 30 min (7.5 hours)

How to use the Hours Calculator

  1. Enter your start time and end time. A shift that ends after midnight is handled automatically.
  2. Enter any unpaid break in minutes.
  3. Enter how many identical shifts you worked, such as 5 for a regular week.
  4. Add your hourly rate to see gross pay, then read the hours in both hours-and-minutes and decimal form.

Hours worked formula

Hours worked=(end−start)−break
Decimal hours=minutes60
Gross pay=decimal hours×hourly rate
Show as plain text

Hours worked = (end time − start time) − unpaid break Decimal hours = minutes ÷ 60 Gross pay = decimal hours × hourly rate

Both times are converted to minutes after midnight and subtracted. If the end time is earlier than the start time, 24 hours are added because the shift runs past midnight.

Timesheets usually need decimal hours: 7 hours 30 minutes is 7.5 hours, not 7.3.

Assumptions and limitations

  • A shift is shorter than 24 hours. Identical start and end times count as a full 24 hours.
  • Pay is gross: overtime rates, tax and deductions are not applied.
  • Decimal hours are rounded to 2 places; pay is calculated from the unrounded hours.

Example: 9:00 AM to 5:00 PM with a 30-minute unpaid break at $20 an hour

  1. Shift length: 17:00 − 09:00 = 8 hours = 480 minutes.
  2. Subtract the break: 480 − 30 = 450 minutes, or 7 h 30 min.
  3. Decimal hours: 450 ÷ 60 = 7.5.
  4. Gross pay: 7.5 × $20 = $150.00.

When to use the Hours Calculator

  • Filling in a weekly timesheet that asks for decimal hours.
  • Checking a payslip against the shifts you actually worked.
  • For a week with different start and end times, use the time card calculator.
  • Turning weekly hours into a yearly figure with the hourly to salary calculator.

Hours Calculator FAQs

How do I convert minutes to decimal hours for a timesheet?

Divide the minutes by 60. 15 minutes is 0.25, 30 minutes is 0.5 and 45 minutes is 0.75 of an hour.

Does this handle night shifts?

Yes. If the end time is earlier than the start time, the calculator assumes the shift finishes the next day. 10:00 PM to 6:00 AM is counted as 8 hours.

How do I total hours for a full work week?

If your shifts are the same, enter one shift and set the number of shifts. Five shifts of 9:00 AM to 5:00 PM with a 30-minute unpaid break total 37.5 hours, which is $750 at $20 an hour.

How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.