How to Use the Work Hours Calculator
Daily shift is the default mode. Use it for one shift:
- Pick 12-hour or 24-hour time, then enter the start time and end time.
- Turn on Overnight shift if the shift ends after midnight.
- Enter the unpaid break in minutes. Tick Add another unpaid break for a second break.
- Read the net work hours, the gross duration, decimal hours and total minutes. The answer updates as you type.
Weekly timesheet totals a Monday-to-Sunday week:
- Tick each day you worked. Monday to Friday are ticked by default, with sample times you can edit.
- Open a day to change its times, break and overnight setting.
- Set the weekly overtime threshold. It is 40 hours by default.
- Optionally open Estimate Earnings and enter an hourly rate and overtime multiplier.
Copy result, Print result and Export CSV appear once the inputs are valid. Reset restores the default 9:00 AM to 5:30 PM shift and keeps your currency choice.
How to Calculate Work Hours
Net work time
Net work minutes = (end − start) − unpaid break minutes
- start, end
- Clock times as minutes after midnight (hours × 60 + minutes)
- unpaid break minutes
- Every unpaid break in the shift, added together
Example: 9:00 AM to 5:30 PM with a 30-minute break: (1,050 − 540) − 30 = 480 minutes = 8 hours
Convert both times to minutes after midnight, subtract the start from the end, then take off the unpaid breaks. Working in whole minutes avoids the rounding errors that creep in when you subtract decimal hours.
When a shift passes midnight, the end time is smaller than the start time. Add 1,440 minutes (24 hours) to the end time before subtracting. This calculator does that only when Overnight shift is on, and it limits a single shift to 24 elapsed hours.
A break equal to the whole shift gives zero work hours. A break longer than the shift is rejected, because it would produce negative hours. For general elapsed time that is not a work shift, such as a trip or an event, use the Time Duration Calculator.
Work Hours Calculation Examples
Office schedule
Standard daytime shift
A shift runs from 9:00 AM to 5:00 PM with no unpaid break.
- 9:00 AM = 540 minutes after midnight; 5:00 PM = 1,020 minutes
- 1,020 − 540 = 480 minutes
- No unpaid break, so 480 minutes remain
8h 00m = 8.00 decimal hours
Retail and hospitality
Shift with a lunch break
A shift runs from 8:00 AM to 4:30 PM with a 30-minute unpaid lunch.
- 4:30 PM (990) − 8:00 AM (480) = 510 minutes
- 510 − 30 minutes of lunch = 480 minutes
- 480 ÷ 60 = 8.00 hours
8h 00m of work in an 8h 30m day
Night shift
Overnight shift
A shift starts at 10:00 PM and ends at 6:00 AM the next morning, with a 30-minute unpaid break. Overnight shift is turned on.
- 6:00 AM = 360 minutes; 10:00 PM = 1,320 minutes
- 360 + 1,440 (next day) − 1,320 = 480 minutes elapsed
- 480 − 30 = 450 minutes
7h 30m = 7.50 decimal hours
Full-time week
Five-day workweek
Monday to Friday, 9:00 AM to 5:30 PM, each day with a 30-minute unpaid break. Saturday and Sunday are excluded.
- Each day: 510 − 30 = 480 minutes (8h 00m)
- 5 × 480 = 2,400 minutes
- 2,400 ÷ 60 = 40.00 hours
40h 00m; no hours above a 40-hour threshold
Overtime estimate
Weekly overtime threshold
Monday to Friday, 8:00 AM to 5:30 PM with a 30-minute unpaid break, against a 40-hour weekly threshold. Optional pay: 20.00 per hour at 1.5×.
- Each day: 570 − 30 = 540 minutes (9h 00m); 5 days = 45h 00m
- Overtime = max(0, 45 − 40) = 5 hours; regular = 40 hours
- Pay: 40 × 20.00 = 800.00; 5 × 20.00 × 1.5 = 150.00
45h 00m: 40h regular + 5h estimated overtime; 950.00 estimated gross pay
How to Convert Work Hours to Decimal Hours
Timesheets and payroll often use decimal hours, where the part after the point is a fraction of an hour. To convert, divide the minutes by 60: decimal hours = hours + minutes ÷ 60. So 7 hours 45 minutes is 7.75 hours. Writing 7.45 would mean 7 hours 27 minutes.
Some minute values repeat when divided by 60. 20 minutes is 0.3333…, shown as 0.33. The calculator adds exact minutes and rounds to two decimal places only for display, so a week of three 7h 20m days shows 22.00 hours instead of 21.99.
| Hours and minutes | Decimal hours |
|---|---|
| 7h 15m | 7.25 |
| 7h 30m | 7.50 |
| 7h 45m | 7.75 |
| 8h 00m | 8.00 |
| 8h 30m | 8.50 |
Work Hours vs. Paid Hours
Work hours are the time between starting and finishing work. Paid hours are the part of that time that counts toward pay. Unpaid breaks reduce paid time. Paid breaks do not, so leave them out of the break fields.
Which breaks count depends on the rules that apply to you. In the United States, federal guidance under the Fair Labor Standards Act treats short rest breaks, commonly 5 to 20 minutes, as hours worked. A bona fide meal period, ordinarily 30 minutes or more with the employee fully relieved of duty, generally need not be paid (U.S. Department of Labor, Fact Sheet #22). In the UK, most workers who work more than six hours a day have the right to one uninterrupted 20-minute rest break, and whether it is paid depends on the employment contract (GOV.UK: rest breaks at work).
Overtime rules differ too. The federal US standard is at least one and a half times the regular rate for non-exempt employees after 40 hours in a workweek (U.S. Department of Labor: overtime), and some states, such as California, also have daily rules. In Ontario, overtime generally starts after 44 hours in a work week (Ontario: overtime pay). This calculator’s threshold is a setting you choose, so its overtime figure is an estimate, not a legal determination.
Daily vs. Weekly Work Hours
A daily calculation answers “how long did I work today?” It handles one shift with up to two unpaid breaks, including a shift that ends the next morning.
A weekly calculation adds several shifts. Each included day is calculated on its own and the exact minutes are added, so rounding on one day cannot distort the total. The weekly view also shows the average per included day, regular hours and estimated overtime above your threshold.
For more than one shift on the same day, a biweekly timesheet or task-based totals, use the Hours Calculator. To count the workdays between two dates, such as the length of a contract or a pay period, use the Date Difference Calculator.
Frequently Asked Questions
How do I calculate hours worked?
Subtract the start time from the end time, then subtract any unpaid breaks. For 9:00 AM to 5:30 PM with a 30-minute break, the elapsed time is 8 hours 30 minutes and the hours worked are 8 hours.
How do I calculate work hours with a lunch break?
Enter the lunch length in Unpaid break. The calculator removes it from the elapsed shift time. A shift from 8:00 AM to 4:30 PM with a 30-minute unpaid lunch is 8 hours of work. Use Add another unpaid break for a second unpaid break in the same shift.
How many hours is 9 AM to 5 PM?
9 AM to 5 PM is 8 hours (480 minutes). With a 30-minute unpaid lunch it is 7 hours 30 minutes, or 7.50 decimal hours.
How do I calculate overnight work hours?
Turn on Overnight shift so the end time counts as the next day. From 10:00 PM to 6:00 AM is 8 hours; with a 30-minute unpaid break it is 7 hours 30 minutes. The calculator never assumes an overnight shift on its own: an end time earlier than the start time shows a message until you turn the setting on.
How do I convert work hours into decimal hours?
Divide the minutes by 60 and add the result to the whole hours. 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours, not 7.45. The calculator shows decimal hours with every result.
How do I calculate total weekly work hours?
Choose Weekly timesheet, tick the days you worked and enter each day’s start time, end time and unpaid break. Each day is calculated separately, and the week adds the exact minutes. Use Copy Monday to other included days when your days share the same schedule.
Does this calculator calculate overtime?
Weekly mode shows a simple estimate: hours above a weekly threshold you set (40 by default). It does not determine whether you are legally entitled to overtime. It does not apply daily overtime, and it does not cover exemptions or other local rules.
Can I export my weekly work hours?
Yes. When the inputs are valid, Export CSV downloads each included day’s start and end times, unpaid break minutes, gross minutes and net minutes, followed by a weekly summary. Copy result and Print result are also available, and daily shifts can be exported too.
Does the calculator account for paid breaks?
Only unpaid breaks are deducted. A paid break stays part of your working time, so leave it out of the break fields. To list paid and unpaid breaks separately, use the Hours Calculator, where each break can be marked paid or unpaid.
Is the Work Hours Calculator free?
Yes. It is free, needs no account and calculates in your browser. Your times and pay rate are not sent anywhere, and nothing is saved when you leave the page.