Shift Hours Calculator
Calculate your team's total work hours in seconds. Paste a schedule, upload a CSV, or add shifts manually.
Three ways to calculate
Whatever format your schedule is in, we can handle it.
Manual entry
Add shifts one by one with employee name, day, and times.
Paste text
Copy from a spreadsheet or document and paste directly.
Upload CSV
Export your schedule as CSV and upload it directly.
Add your shifts
Choose how you want to input your schedule
No shifts added yet
No calculation yet
Add shifts and click calculate
Frequently asked questions
- How do I calculate total hours for a shift?
- Subtract the start time from the end time. A shift from 9:00 to 17:00 is 8 hours. For overnight shifts, add 24 to the end time if it is earlier than the start. A shift from 22:00 to 06:00 the next day is 8 hours: 06 + 24 = 30, minus 22 = 8. This calculator handles all of that automatically, including overnight shifts.
- How do I calculate hours for a full week?
- Add up each employee's daily shift hours across all days they worked. If someone works 8 hours Monday through Friday, their weekly total is 40 hours. This calculator totals hours per employee and per day automatically, so you can see at a glance who is close to overtime thresholds and where you may be over or understaffed.
- What is the easiest way to track shift hours for a team?
- The quickest method is to paste your existing schedule directly into the text input. Use the format: Employee Name, Day, start-end time. For example: Maria, Monday, 9:00-17:00. The calculator parses the text and totals everything in seconds. If your schedule is already in a spreadsheet, export it as a CSV and upload it directly.
- How do I know when an employee hits overtime?
- In most countries, overtime kicks in after 40 hours per week (US) or 48 hours per week (EU). Once you calculate the weekly totals, compare each employee's total against your local threshold. Any hours above the threshold are typically paid at 1.5x the regular rate. Scheduling software can flag this automatically as you build the schedule.
- Can I use this to calculate hours from a photo of a schedule?
- Not directly, but you can copy the shift times from a photo into the text input. Type each employee's name followed by their shifts, one per line, and the calculator will add them up. For recurring schedules, saving the text input as a template lets you reuse it each week with minimal changes.
How to Calculate Shift Hours
The shift hours formula is simple: subtract the start time from the end time. A shift that starts at 9:00 and ends at 17:00 is 8 hours. If the employee took a 30-minute unpaid break, the paid time is 7.5 hours.
Shift hours = End time − Start time − Unpaid breaks
For a team, you repeat this for every shift and then sum each employee's totals. An employee working five 8-hour shifts has a weekly total of 40 hours. The calculator above does this automatically — enter the shifts, click calculate, and see per-employee and team-wide totals instantly.
Overnight Shift Calculations
Overnight shifts trip up many managers because the end time is numerically smaller than the start time. A shift from 22:00 to 06:00 looks like negative 16 hours if you subtract naively.
The fix is the +24 trick: add 24 to the end time when it falls before the start time. So 06:00 becomes 30:00, and 30 − 22 = 8 hours. This calculator applies the +24 rule automatically, so you never need to think about it. Just enter 22:00–06:00 and it returns 8 hours.
If an overnight shift also spans a pay-period boundary (for example, Sunday night into Monday morning), check whether your payroll system assigns the hours to the day the shift started or the day it ended. Most systems use the start date, but local labor laws may differ. Getting this right matters for accurate employee hour tracking.
Weekly Hours Tracking for Compliance
United States (FLSA)
Under the Fair Labor Standards Act, non-exempt employees must receive overtime pay (at least 1.5× regular rate) for any hours worked beyond 40 in a single workweek. Accurate weekly totals are not optional — they are a legal requirement. Using a dedicated overtime calculator alongside this shift hours tool helps you estimate the cost impact before the pay period closes.
European Union
The EU Working Time Directive caps the average workweek at 48 hours (calculated over a reference period of up to 17 weeks). Member states may add stricter rules. In Spain, for example, overtime is capped at 80 hours per year per employee. Tracking shift hours weekly lets you flag employees approaching these limits before violations occur.
The 7-Minute Rule
Many US employers round clock-in and clock-out times to the nearest quarter hour using the 7-minute rounding rule. If an employee clocks in 7 minutes or less before the quarter hour, the time rounds down; 8 minutes or more rounds up. While legal under the FLSA, rounding must not systematically short-change employees over time. Tracking exact shift hours helps you audit whether rounding is neutral.
How to Spot Scheduling Imbalances
Once you have per-employee weekly totals, look for red flags:
- Lopsided hours. If two employees work 45+ hours while three others are under 30, you have a distribution problem. Rebalancing shifts across the team can eliminate overtime without hiring.
- Consistent overtime on specific days. If Friday and Saturday always generate overtime, those shifts may need an extra person — or shorter individual shifts spread across more staff.
- Ghost hours. Shifts that are scheduled but never worked (due to no-shows or last-minute changes) inflate planned hours. Comparing scheduled vs. actual hours reveals where your plan diverges from reality.
Understanding the true cost of overtime helps you put a price tag on these imbalances and build a case for better scheduling practices.
Shift Hours Formula Reference
This calculator uses the standard formulas used by payroll and scheduling professionals:
- Single shift duration = End time − Start time (add 24 to end time if overnight)
- Daily hours per employee = Sum of all shift durations for that employee on a given day
- Weekly hours per employee = Sum of daily hours across all days worked
- Team total = Sum of all employees' weekly hours
- Average hours per employee = Team total ÷ Number of employees
For teams that need ongoing hour tracking beyond a one-time calculation, automated employee time tracking eliminates manual data entry and keeps records audit-ready.
Counting hours is a start.
Tracking them automatically is better.
Turnozo tracks hours as your team clocks in and out. No more counting, no more spreadsheets — just accurate timesheets ready for payroll.