Why the calculation is structured this way
Clock values are converted to minutes, and an overnight span can add one nominal day when explicitly enabled. Break minutes subtract from gross minutes. Decimal hours divide net minutes by sixty; they do not reinterpret the colon digits as a base-ten fraction.
A second scenario you can verify
From 08:20 to 17:05 is 8 hours 45 minutes, or 525 minutes. Subtract a 45-minute break to obtain 480 minutes, exactly eight decimal hours. From 22:30 to 06:15 with overnight selected is 7 hours 45 minutes; a 15-minute break gives 7.5 hours.
What changes the interpretation
A break longer than the gross span cannot create negative worked time. Payroll rounding, paid breaks and overtime rules are separate policies. Keep exact minutes before applying an employer’s rounding rule; a simplified clock duration is not a wage determination.
Subtract breaks before converting net minutes
A shift from 08:40 to 17:10 spans 510 minutes. Subtracting a forty-five-minute unpaid break leaves 465 minutes, or 7.75 decimal hours. Multiplying by a hypothetical hourly rate of twenty gives 155 before other adjustments. The decimal .75 means forty-five minutes; it is not a clock display of seventy-five minutes.
If the unpaid break increases by fifteen minutes, net time falls to 450 minutes, or 7.5 hours. The corresponding straight-rate difference at twenty per hour is five. This one-quarter-hour sensitivity is independent of how the clock labels are formatted. Keep break minutes as minutes rather than entering .45 and expecting it to mean forty-five.
One overnight crossing needs an explicit choice
From 22:15 to 06:45 on the next day, the clock span is 510 minutes: 105 before midnight and 405 after it. With overnight enabled and a thirty-minute break, the net is 480 minutes, or eight hours. Without that selection, the earlier end clock is rejected rather than quietly assuming a different date.
Equal start and end clocks mean zero duration, even when overnight is enabled. They do not imply a full twenty-four-hour shift. A break longer than the computed span is also rejected, while an equal break produces zero net work. For a multi-day shift, enter actual dates in a different model instead of encoding several days through repeated clock labels.
Clock arithmetic does not decide payroll policy
The inputs contain no dates or city zones, so this page measures nominal clock minutes rather than daylight-saving-adjusted elapsed time. A local overnight shift across a clock change can differ by an hour or another jurisdiction-specific adjustment. Resolve its actual instants with the date-aware city tool when real elapsed time is the intended quantity.
Rounding to a payroll increment, classifying a break as paid, applying overtime and calculating deductions are separate rules. Summing rounded daily hours can differ from rounding a weekly total once. Preserve the original minutes for an auditable reconciliation, and apply only the employer’s applicable rule rather than treating the displayed decimal value as an official wage calculation.
Input reference and units
These values reproduce the model’s demonstration. Replace them with your own records or measurements; they are not recommended targets.
On a small screen, swipe horizontally to see all columns. With a keyboard, focus the table and use the arrow keys.
| Parameter | Demonstration value | How to enter it |
|---|---|---|
| Start time | 09:00 | 24-hour HH:MM clock time, not decimal hours. |
| End time | 17:30 | 24-hour HH:MM clock time, not decimal hours. |
| Break minutes | 30 | Unpaid minutes to subtract, not decimal hours; must fit within the shift. |
| End may fall on the next day | false | Allow an earlier end clock to mean the following day; equal clocks still mean zero duration. |
Hours Calculator: calendar conventions
Calculate a clock-time duration and subtract an unpaid break. When the end clock is earlier than the start, the overnight option adds one day; it does not add a day to equal clock times. A single shift spans less than 24 hours; this is wall-clock arithmetic without daylight-saving rules. Break time must be non-negative and no longer than the shift.
Convert clock times to minutes before subtracting breaks. A 22:00–06:00 overnight shift spans 480 minutes; a 30-minute unpaid break leaves 450 minutes or 7.5 hours. Decimal 7.5 hours means 7 hours 30 minutes, not 7 hours 50 minutes. The result is a single wall-clock shift and does not apply overtime or daylight-saving adjustments.
paid minutes = end − start + overnight adjustment − break; hours = minutes / 60
- start: Start time. 24-hour HH:MM clock time, not decimal hours.
- end: End time. 24-hour HH:MM clock time, not decimal hours.
- break: Break minutes. Unpaid minutes to subtract, not decimal hours; must fit within the shift.
- overnight: End may fall on the next day. Allow an earlier end clock to mean the following day; equal clocks still mean zero duration.
- Result units: stated beside each output
- Calculation relationship: paid minutes = end − start + overnight adjustment − break; hours = minutes / 60
- Supported domain: see the limits below
Worked example
Hours Calculator baseline input: Start time: 09:00; End time: 17:30; Break minutes: 30; End may fall on the next day: not selected. Output: Decimal hours = 8 hours; Minutes = 480 minutes. Substitute these values into the displayed equation to reproduce the result.
Reproduce the default scenario
This reproduces the default inputs in the reference table above; it is not an additional independent example. Displayed rounding may differ from intermediate precision.
- Decimal hours
- 8 hours
- Minutes
- 480 minutes
Common questions and boundary checks
Is 1.5 hours one hour fifty minutes?
No. It is one hour thirty minutes.
Why is overnight a separate choice?
A smaller end clock can mean next day or an invalid reversed interval.
Are breaks subtracted?
Yes, from gross minutes under the entered model.
Does this account for DST?
A clock-only daily span lacks the date and named zone needed for that calculation.
Does the result determine payroll?
No. Employer rounding and pay policies remain separate.
Sources and content notes
Toolify describes the implemented algorithm and its assumptions. Sources below support the topic or applicable rules; they do not endorse this calculator. Examples are illustrative, and published rules take precedence over simplified estimates.
Report a formula, example or translation issue through our contact page. Include the tool name, inputs and expected result so it can be reproduced. Contact Toolify