Enter one shift’s start and end times, your unpaid break and how many identical shifts you worked, and this calculator returns total paid hours in decimal form. It is built for timesheets, freelance invoices and checking that a paycheck covers every hour. Overnight shifts are handled automatically.
How to use the Work Hours calculator
- Type Start time (HH:MM) and End time (HH:MM) on a 24-hour clock, so 7:45 a.m. is 07:45 and 4:10 p.m. is 16:10.
- Enter the total length of unpaid breaks for one shift in Unpaid breaks, in minutes. Leave paid rest breaks out.
- Set Number of shifts to the count of identical shifts you want to total, for example 5 for a standard workweek.
- Read the answer in decimal hours. Multiply by your hourly rate, or use the overtime calculator if the total passes 40 in a workweek.
How the work hours calculation works
How the hours are counted
The calculator converts both clock times to minutes after midnight and subtracts. If the end time is earlier than the start, it assumes the shift crossed midnight and adds 24 hours, so 22:00 to 06:30 counts as 8.5 hours. Equal start and end times count as zero, not 24 hours.
Your unpaid break minutes are then removed, the remainder is divided by 60 and the per-shift figure is multiplied by the number of shifts. The total keeps up to six decimal places, so a 7 hour 40 minute shift shows as 7.666667 per shift rather than a rounded 7.67.
Breaks cannot exceed the shift length, shifts must be a whole number from 0 to 366, and times must use the HH:MM pattern. A typo like 7:45 without the leading zero is rejected rather than guessed.
Paid and unpaid breaks under US rules
Only subtract breaks your employer does not pay for. Under the federal Fair Labor Standards Act, short rest periods, usually 20 minutes or less, count as hours worked. Bona fide meal periods, typically 30 minutes or more when you are completely relieved from duty, generally do not.
So a shift with two 15-minute coffee breaks and a 30-minute lunch normally has 30 minutes of unpaid break, not 60. Some states have their own meal and rest break laws, so check your state labor department if you are unsure.
Decimal hours versus hours and minutes
Payroll systems multiply decimal hours by a rate, which is why the result is shown that way. To convert minutes to a decimal, divide by 60: 15 minutes is 0.25, 20 minutes is 0.333333, 45 minutes is 0.75. A common timesheet mistake is writing 7 hours 30 minutes as 7.30, which underpays the shift by 12 minutes.
Federal rules permit employers to round recorded start and stop times to the nearest 5 minutes, tenth of an hour or quarter hour, provided the practice averages out so employees are paid for all the time they actually work. This calculator uses exact minutes, so small differences from a rounded timecard are normal.
Worked examples
Start time (HH:MM): 07:45 · End time (HH:MM): 16:10 · Unpaid breaks: 45 minutes · Number of shifts: 5
- Start 07:45 = 7 × 60 + 45 = 465 minutes after midnight; end 16:10 = 16 × 60 + 10 = 970 minutes.
- Shift length: 970 − 465 = 505 minutes.
- Paid minutes: 505 − 45 = 460 minutes, or 460 ÷ 60 = 7.666667 hours per shift.
- Five shifts: 460 × 5 = 2,300 minutes ÷ 60 = 38.333333 hours.
Result: 38.333333 hours
Start time (HH:MM): 22:00 · End time (HH:MM): 06:30 · Unpaid breaks: 30 minutes · Number of shifts: 4
- End (390 minutes) is earlier than start (1,320 minutes), so add 1,440: 390 + 1,440 − 1,320 = 510 minutes.
- Subtract the 30-minute unpaid meal: 510 − 30 = 480 minutes = 8 hours.
- Four shifts: 8 × 4 = 32 hours.
Result: 32 hours
Assumptions and limits
Identical shifts only; no holiday, overtime or variable-day schedule rules.
Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.
Frequently asked questions
How do I calculate hours worked for a week with different shift lengths?
Run the calculator once per distinct shift pattern with Number of shifts set to how many times that pattern occurred, then add the results. For example, three 8-hour days and two 10-hour days are two runs: 24 + 20 = 44 hours.
Is a 30-minute lunch break paid?
Under federal law it usually is not, as long as you are completely relieved from duty and free to leave your post. If you must stay at your desk answering calls, the time generally counts as work. State law and your employer’s policy can be more generous.
What is 7 hours and 45 minutes as a decimal?
Divide the minutes by 60: 45 ÷ 60 = 0.75, so 7 hours 45 minutes is 7.75 hours. At $20 an hour that shift pays $155.00.
How many hours is a 9-to-5 job with lunch?
From 09:00 to 17:00 is 8 hours. With a 30-minute unpaid lunch, paid time is 7.5 hours per day, or 37.5 hours over five days. With a 60-minute unpaid lunch it falls to 35 hours.
When do my hours count as overtime?
Under the Fair Labor Standards Act, non-exempt employees earn at least 1.5 times their regular rate for hours over 40 in a workweek, and hours cannot be averaged across two weeks. Some states add daily limits; California, for example, requires overtime after 8 hours in a workday.