Hours Calculator: Add Up Hours Worked
List your shifts, one per line, as a start time, an end time and the break in minutes. You get the hours for each shift, the total as hours and minutes and as decimal hours, and pay if you add a rate.
Last reviewed
Total hours worked
23:00 (23 h)
across 3 shifts, 7:40 on average
| # | Start | End | Break | Worked |
|---|---|---|---|---|
| 1 | 09:00 | 17:30 | 30 min | 8:00 |
| 2 | 09:00 | 17:00 | 30 min | 7:30 |
| 3 | 08:30 | 16:45 | 45 min | 7:30 |
A shift that ends before it starts runs past midnight. Rounding is applied to the start and end times, not to the total. Check which rounding your employer may use.
How to add up hours worked
For each shift, the hours worked are the end time minus the start time, less any unpaid break. Add the shifts to get the total. The calculator does the carrying between minutes and hours, handles shifts that cross midnight, and shows the total both as hours and minutes and as decimal hours.
Write each shift on its own line: a start time, a dash or the word to, an end time, and optionally a comma and the break in minutes.
9:00 am - 5:30 pm, 30Mon: 09:00 to 17:30, break 45(a label before a colon is shown in the table)10:00 pm - 6:00 am(an overnight shift)
Worked example
Three shifts:
| Shift | Time | Break | Worked |
|---|---|---|---|
| 1 | 9:00 am to 5:30 pm | 30 min | 8:00 |
| 2 | 9:00 am to 5:00 pm | 30 min | 7:30 |
| 3 | 8:30 am to 4:45 pm | 45 min | 7:30 |
The elapsed times are 8 h 30 min, 8 h and 8 h 15 min. Taking off the breaks leaves 8:00, 7:30 and 7:30. The total is 23:00, which is 23 hours exactly, an average of 7:40 a shift. At 18.00 an hour that is 414.00.
Overnight: 9:15 pm to 6:40 am is 9 hours 25 minutes, which is 9.4167 in decimal hours, and 10:00 pm to 6:00 am is exactly 8 hours.
Rounding the clock times
Some workplaces record time to the nearest 5 minutes, the nearest tenth of an hour (6 minutes) or the nearest quarter hour. In the United States the Department of Labor’s rule at 29 CFR 785.48(b) allows an employer to record starting and stopping times to the nearest 5 minutes, or to the nearest one-tenth or quarter of an hour, on the understanding that this averages out so employees are fully paid for the time they work.
The calculator rounds each start and end time, half up, before working out the hours. For example, with quarter-hour rounding, 8:08 becomes 8:15 and 16:52 becomes 16:45. Check the practice at your own workplace, since local law and contracts may differ.
Decimal hours
Timesheets and invoices often want decimal hours. The conversion is hours plus minutes ÷ 60:
| Hours and minutes | Decimal hours |
|---|---|
| 7:30 | 7.5 |
| 7:45 | 7.75 |
| 8:10 | 8.1667 |
| 8:20 | 8.3333 |
| 9:25 | 9.4167 |
Common mistakes
- Forgetting the break. Subtract unpaid breaks from the elapsed time.
- Adding hours as decimals. 7:45 plus 7:45 is 15:30, not 14.90.
- Mixing 12-hour and 24-hour times. 12:00 am is midnight and 12:00 pm is noon.
- Rounding the total instead of the clock times. Rounding applies to the recorded start and end.
- Ignoring the date for a shift over 24 hours. A shift is read as under a day.
For a weekly timesheet with overtime, use the time card calculator. To add or subtract lengths of time, use the time calculator, and for the pay at overtime rates the overtime calculator.
How it is calculated
The arithmetic is whole seconds. Decimal hours are rounded to four places for display. Pay is calculated in exact decimal arithmetic and rounded to the cent.
Frequently asked questions
How do I calculate hours worked?
Subtract the start time from the end time and then subtract any unpaid break. From 9:00 am to 5:30 pm is 8 hours 30 minutes, and with a 30 minute break it is 8 hours. Add up the shifts to get the total.
How do I enter a shift?
Write a start, a dash and an end, then a comma and the break in minutes: 9:00 am - 5:30 pm, 30. You can use 24-hour times such as 17:30 and add a label before a colon, such as Mon: 9:00 - 17:30, 30.
What if my shift goes past midnight?
An end time earlier than the start is read as the next day. 10:00 pm - 6:00 am is 8 hours, and 9:15 pm - 6:40 am is 9 hours 25 minutes.
What is the rounding option?
Some employers record clock times to the nearest 5 minutes, tenth of an hour (6 minutes) or quarter of an hour. The US Department of Labor rule at 29 CFR 785.48(b) allows this if it averages out so that employees are fully paid. The calculator rounds the start and end times, not the total.
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add the hours. 7 hours 45 minutes is 7.75 hours. The calculator shows both so you can enter the decimal on a timesheet or invoice.
Does it work out overtime?
This page gives a total and simple pay. For a week with overtime after 40 hours at one and a half times the rate, use the time card calculator.
Related calculators
- Time Card CalculatorEnter each day as a start, an end and the break.
- Time CalculatorList lengths of time, one per line, to add and subtract them, or take a time of day and add or subtract a length of time.
- Time Duration CalculatorEnter a start time and an end time, and optionally the dates.
- Overtime CalculatorEnter your rate, your hours and the point overtime starts.
- Time and a Half CalculatorEnter your pay and the hours you worked.
- Hourly to Salary CalculatorEnter your hourly rate and your normal week.
- Time Zone Overlap PlannerChoose two to four places, a date and the local working hours.