Understanding Your Result
When the end time is earlier on the clock than the start time and overnight mode is enabled, the tool automatically treats the interval as crossing midnight into the next day and labels it as an overnight span.
Elapsed Clock Duration
- Start Minutes = (Start Hour × 60) + Start Minute
- End Minutes = (End Hour × 60) + End Minute
- Elapsed = End − Start (plus 1,440 minutes if crossing midnight)
Step-by-Step Calculation Method
- Convert both 24-hour clock times into minutes since midnight.
- Subtract start minutes from end minutes.
- If negative and overnight calculation is enabled, add 1,440 minutes (24 hours) to span midnight.
- Convert elapsed minutes into hours, minutes, and decimal hours (elapsed ÷ 60).
How to Use This Calculator
- Pick your Start Time and End Time using the time inputs.
- Leave 'Allow overnight interval' enabled for shifts crossing midnight, or disable it to catch same-day input typos.
- Read the hours/minutes, decimal hours, and total minutes.
Worked Example: Overnight Shift Duration
A night shift begins at 22:15 (10:15 PM) and ends at 06:45 (6:45 AM).
- 22:15 = 1,335 minutes; 06:45 = 405 minutes.
- 405 − 1,335 = −930 minutes; add 1,440 for midnight crossover = 510 minutes.
- 510 minutes = 8 hours 30 minutes (8.50 decimal hours).
Result: The overnight duration is 8h 30m (8.5 decimal hours).
Assumptions and Limitations
- Measures intervals within a single 24-hour window; multi-day spans should use the Days Between Dates Calculator.
- Does not automatically deduct unpaid meal breaks.
Frequently Asked Questions
Why does the calculator also display decimal hours?
Payroll and freelancing systems multiply hourly rates by decimal hours (for example, 8h 30m = 8.5 hours) rather than hours and minutes.
What happens if start time and end time are identical?
The duration is 0h 0m (0 minutes). For a full 24-hour shift, use 24 hours in the Time Calculator.
References & Methodology Sources
- U.S. Department of Labor – Decimal Hour Timekeeping Practices — DOL Guidance
Reviewed under the DailyCalcWell Editorial Policy. Calculations execute locally in your browser.