Guide

How to calculate hours worked

Working out your hours by hand takes three steps: subtract the start time from the finish time, take off unpaid breaks, and convert the result to decimal hours if your timesheet needs it. This guide walks through each step, with examples for split shifts and night shifts.

3 min readUpdated

This guide explains general calculation methods. Rules on breaks, overtime and pay differ between countries, industries and contracts, so check your employment agreement or local regulations for what applies to you.

The basic formula

Hours worked = finish time − start time − unpaid breaks

That’s all there is to it for a normal day. The difficulty is that time doesn’t work in tens like ordinary numbers: there are 60 minutes in an hour, so you can’t subtract 8:45 from 17:15 on a normal calculator and get the right answer.

The safest approach is to use the 24-hour clock (so 5:15 pm becomes 17:15) and then subtract hours and minutes separately.

Step by step

  1. Write both times in 24-hour format. Add 12 to any afternoon or evening hour: 1:30 pm is 13:30, 9:00 pm is 21:00. Midnight is 00:00 and 12:30 pm stays 12:30.
  2. Subtract the minutes. If the finish minutes are smaller than the start minutes, “borrow” an hour: take 1 from the finish hours and add 60 to the finish minutes.
  3. Subtract the hours.
  4. Subtract unpaid breaks in the same way.
  5. Convert to decimal if needed by dividing the minutes by 60.

Example

A day with a lunch break

Start 8:40 am, finish 5:10 pm, 30-minute unpaid lunch.

  • 24-hour times: 08:40 to 17:10.
  • Minutes: 10 − 40 doesn’t work, so borrow an hour: 17:10 becomes 16:70. Then 70 − 40 = 30 minutes.
  • Hours: 16 − 8 = 8 hours. Time at work: 8 h 30 min.
  • Minus lunch: 8 h 30 min − 30 min = 8 h 00 min.

You can check any day instantly with the work hours calculator.

Adding up a week

To total several days, add all the hours together and all the minutes together, then convert every 60 minutes into an hour.

Example

Five days

DayHours worked
Monday8:00
Tuesday7:45
Wednesday8:20
Thursday6:50
Friday8:15

Hours: 8 + 7 + 8 + 6 + 8 = 37. Minutes: 0 + 45 + 20 + 50 + 15 = 130 = 2 h 10 min. Total: 39 h 10 min, or 39.17 decimal hours.

The weekly timesheet calculator does this for you and keeps the week saved on your device.

Shifts that cross midnight

If you finish the next day, the finish time looks “smaller” than the start time. Add 24 hours to the finish before subtracting.

Example

A night shift

22:00 to 06:30: treat the finish as 30:30. Then 30:30 − 22:00 = 8 h 30 min.

Another way is to work out the time to midnight (2 h) and the time after midnight (6 h 30 min) and add them. That split is also useful if night or weekend hours are paid differently — the overnight shift calculator shows both parts for you. See the full guide to calculating overnight shift hours.

Split shifts and multiple breaks

For a split shift, calculate each part separately and add them. A day worked 06:00–10:00 and 16:00–20:30 is 4 h + 4 h 30 min = 8 h 30 min. The unpaid gap in the middle is simply not counted.

If you take several breaks in one shift, add up only the unpaid ones and subtract that total — the break time calculator does this for any mix of paid and unpaid breaks. Paid breaks — often short rest breaks — stay in your hours. If you’re not sure which breaks are paid, check your contract or payslip; the guide on how unpaid breaks affect timesheets explains the difference.

Converting the total for payroll

Pay is calculated as hours × hourly rate, which only works with decimal hours. Divide the minutes by 60 and add them to the hours:

39 h 10 min = 39 + 10 ÷ 60 = 39.17 hours

Common values: 15 min = 0.25, 30 min = 0.5, 45 min = 0.75, 20 min = 0.33, 40 min = 0.67. The decimal hours converter has a complete chart from 1 to 60 minutes.

Common mistakes to avoid

  • Treating minutes as decimals. 7 h 30 min is 7.5 hours, not 7.3.
  • Mixing 12-hour times. 9:00 to 5:00 is 8 hours, but subtracting the numbers directly gives −4. Convert to 24-hour first.
  • Forgetting the break, or deducting a paid one. Only unpaid breaks come off.
  • Adding rounded decimals. Adding 0.33 + 0.33 + 0.33 gives 0.99, but three lots of 20 minutes are exactly 1 hour. Add the minutes first and convert once at the end.
  • Recording scheduled times instead of actual times. If you started late or stayed on, write down what actually happened.

Tools for this guide

↑↓ to moveEnter to open

Preferences

Appearance
Clock times in results
Weeks start on

Changes only the symbol shown with pay amounts. Nothing is converted between currencies: enter rates in the currency you are paid in.

Your saved data

Timesheets, favourites, recent tools and these preferences are stored in this browser’s local storage. They are never sent to our servers.

Save