Dates and time · Calculator
How many hours does a shift last, excluding breaks?
Enter the start and end of each shift and the breaks, and the calculator shows the working time excluding breaks, in total and for the average shift, even if a shift runs overnight.
Your data
How we calculate
shift duration = end − start in minutes; if end ≤ start, 24 h is added to the endnet shift time = duration − breakstotal = sum of (net shift time × number of such shifts); in hours: ÷ 60average shift = total ÷ number of shifts
Assumptions
- If the end is earlier than or equal to the start, the shift ended the next day; the same start and end means a full day.
- Breaks are subtracted as one sum: where exactly they fell within the shift does not matter.
Limitations
- We count by the clock, without time zones: if the clocks changed during the night of the shift, the actual time will be an hour longer or shorter.
- A shift lasts no longer than a day; split a longer one into two rows.
- Whether a break is paid and how long it must be is set by law, your contract and your employer’s rules. The calculator only subtracts what you enter.
- Night, overtime and holiday hours are not shown separately, and pay is not calculated.
Sources
A universal formula with no external constants. Default values are labelled as approximate examples, not verified facts.
Questions and answers
How do I enter a night shift?
Just as it runs by the clock: start 22:00, end 06:00. The calculator sees that the end is earlier than the start and counts it on the next day.
How do I convert 7.75 h into hours and minutes?
Multiply the decimal part by 60: 0.75 × 60 = 45, so it is 7 h 45 min. The calculator shows the average and the longest shift in hours and minutes straight away.
Which breaks should I enter?
Only those you do not want to count as working time. If under your rules a break is part of working time, leave the field empty.
Can I calculate a week or a month?
Yes: enter identical shifts as one row with a number, different ones as separate rows, up to seven types.
Related tools
The result is mathematically exact for the data you entered and the calculation rules described; real conditions (tariffs, a supplier’s rounding, your contract) may differ from what you entered.
Checked by the Calc editorial team: three independent implementations of the formula, test cases and the live page on a phone. Last check: 18 October 2026