Hours Worked Calculator
Your start time, your end time and your unpaid break give the hours you worked…
Your start time, your end time and your unpaid break give the hours you worked, in hours and minutes and in the decimal hours a payroll form asks for. Overnight shifts count too.
Lunch or any break you aren’t paid for. 0 if none.
ExampleHours worked
8 h
8:45 am to 5:15 pm, less a 30 min break.
Enter yours to see your result.
- Decimal hours
- 8.00
- In minutes
- 480
- Shift with the break
- 8 h 30 min
How this works: 10 sources,
How this works
Method
The start and end become minutes after midnight. If the end is the same as or earlier than the start, the shift crossed midnight, so a day of 1,440 minutes is added to the end. Hours worked are the end minus the start minus the unpaid break, and the answer is shown three ways: hours and minutes, decimal hours to two places, and total minutes. Full method
Sources
- 29 CFR 785.18, rest periods (Cornell Law School, Legal Information Institute)
- 29 CFR 785.19, meal periods (Cornell Law School, Legal Information Institute)
- 15 U.S.C. 260a, advancement of time (daylight saving time) (Cornell Law School, Legal Information Institute)
- 29 U.S.C. 207, maximum hours (Fair Labor Standards Act, section 7) (Cornell Law School, Legal Information Institute)
- Fact Sheet #23: Overtime Pay Requirements of the FLSA (U.S. Department of Labor, Wage and Hour Division)
- 29 CFR 778.104, each workweek stands alone (Cornell Law School, Legal Information Institute)
- 29 CFR 785.48, use of time clocks (rounding) (Cornell Law School, Legal Information Institute)
- California Labor Code section 510, overtime (California Legislative Information)
- DLSE opinion letter 2000.01.19 (daily overtime hours and the weekly 40) (California Division of Labor Standards Enforcement, 2000)
- Enforcement Policies and Interpretations Manual, section 48 (workday, workweek, seventh day) (California Division of Labor Standards Enforcement)
How it’s tested
One worked example for this page is checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- First published: weekly and two-week time cards with draggable day bars, federal and California overtime, pay, CSV and saved weeks, plus eight time pages.
A night shift, worked out
A shift from 10:45 pm to 7:15 am with a 30 minute meal break. From 10:45 pm to midnight is 1 h 15 min, and midnight to 7:15 am is 7 h 15 min, so the shift is 8 h 30 min long. Take off the unpaid 30 minutes and you worked 8 h, which is 8.00 in decimal hours. The calculator does the midnight step for you: when the end time is earlier than the start, it reads it as the next morning.
How hours worked are counted
The start and end become minutes after midnight. If the end is the same as or earlier than the start, the shift crossed midnight, so a day of 1,440 minutes is added to the end. Hours worked are the end minus the start minus the unpaid break, and the answer is shown three ways: hours and minutes, decimal hours to two places, and total minutes.
It counts clock time. On the two nights a year when the clocks change, a shift really lasts an hour more or less than the clock suggests (in the US the change is at 2 am on the second Sunday in March and the first Sunday in November), so add or take away that hour yourself if you worked through it.
Only unpaid breaks come off. Paid rest breaks stay in, because they are working time.
hours worked = (end − start, + 24 h if the end is earlier) − unpaid break
- Rest breaks of about 5 to 20 minutes are common, and federal rules count them as hours worked, so they are paid. Source: Cornell Law School, Legal Information Institute, 29 CFR 785.18, rest periods.
- A bona fide meal period, ordinarily 30 minutes or more with the employee fully relieved of duty, is not work time under federal rules. Source: Cornell Law School, Legal Information Institute, 29 CFR 785.19, meal periods.
- Daylight saving time in the US begins at 2 am on the second Sunday of March and ends at 2 am on the first Sunday of November. Source: Cornell Law School, Legal Information Institute, 15 U.S.C. 260a, advancement of time (daylight saving time).
Hours worked for common shifts
Each shift’s hours after its unpaid break, computed by the calculator. The 11 pm shift runs into the next morning.
| Start | End | Unpaid break | Hours worked | Decimal |
|---|---|---|---|---|
| 8:00 am | 4:30 pm | 30 min | 8 h | 8.00 |
| 9:00 am | 5:00 pm | 60 min | 7 h | 7.00 |
| 9:00 am | 5:30 pm | 30 min | 8 h | 8.00 |
| 7:00 am | 3:30 pm | 30 min | 8 h | 8.00 |
| 8:30 am | 5:15 pm | 45 min | 8 h | 8.00 |
| 6:00 am | 2:30 pm | 30 min | 8 h | 8.00 |
| 10:00 am | 6:30 pm | 30 min | 8 h | 8.00 |
| 7:00 am | 7:00 pm | 60 min | 11 h | 11.00 |
| 3:00 pm | 11:30 pm | 30 min | 8 h | 8.00 |
| 11:00 pm | 7:30 am | 30 min | 8 h | 8.00 |
Show all 12 rowsShow fewer
| 12:00 pm | 8:00 pm | None | 8 h | 8.00 |
| 6:30 am | 6:45 pm | 45 min | 11 h 30 min | 11.50 |
Sources
Common questions
How do I calculate hours worked by hand?
Write both times on the 24-hour clock, subtract the start from the end, and subtract the break. 8:45 to 17:15 is 8 h 30 min; less a 30 minute lunch it is 8 h. If the subtraction goes negative, the shift crossed midnight: add 24 hours first.
How do I turn the minutes into decimal hours?
Divide the minutes by 60. 8 h 15 min is 8 + 15 ÷ 60 = 8.25 hours, and 8 h 20 min is 8.33. The time to decimal page has a chart of every minute.
Can I add up a whole week?
Yes: the time card page takes a shift for each day, adds up the week, splits out overtime and works out gross pay. It keeps your weeks on this device.
Why is my answer an hour off on some nights?
The calculator counts the clock, not the sun. If your shift ran through the change to or from daylight saving time, you really worked one hour more (in November) or one hour less (in March) than the clock shows.