How do I calculate elapsed time for an overnight interval?
When the end time belongs to the following day, add one nominal day before subtracting the start time. Use an explicit next-day choice so an earlier end time is not mistaken for the same day.
Convert clock readings to minutes
Multiply each hour reading by sixty and add its minutes. For a next-day end, add 1,440 minutes to the end reading. The difference then describes a nominal clock interval across one midnight, without resolving timezone offset changes.
Count from 22:40 to 06:15
The start is 22 × 60 + 40 = 1,360 minutes after midnight. The next-day end is 6 × 60 + 15 + 1,440 = 1,815. Their difference is 455 minutes, or 7 hours 35 minutes.
Use dates for intervals beyond one rollover
A single next-day switch does not represent a multi-day trip or a shift across several dates. It also does not adjust for daylight-saving transitions. For an exact timestamp duration, retain dates and zones. For paid work, subtract only breaks that the applicable policy treats as unpaid.
Split the interval at midnight as a check
For 22:40 to 06:15 the following day, the part before midnight is one hour twenty minutes, or eighty minutes. The part after midnight is six hours fifteen minutes, or 375 minutes. Adding gives 455 minutes, equal to seven hours thirty-five minutes. This matches the single-expression calculation 06:15 + one day − 22:40. Splitting the interval helps when an end reading is numerically smaller than the start and a negative answer seems unexpected. Keep the stated date relationship beside the times. The two readings alone could also describe an accidental reversal, so the smaller end number is evidence to check the record rather than proof that an overnight interval was intended.
Use a full date for intervals longer than one rollover
A next-day switch adds exactly one nominal day. It cannot distinguish a trip from Monday night to Tuesday morning from a trip ending Wednesday morning at the same clock reading. The second interval has twenty-four additional nominal hours, but its clock fields look identical. If a task spans several dates, use dated records and an appropriate date-time calculation rather than repeatedly changing the clock until the total looks plausible. A same-day clock tool also cannot identify which timezone a start or end belongs to. A flight leaving at 22:40 in one zone and arriving at 06:15 in another needs zone conversion before elapsed duration can be determined.
Separate the interval from deductions
Once the full overnight interval is established, another model may deduct pauses or unpaid breaks. A 455-minute interval with a thirty-minute unpaid break leaves 425 minutes, or seven hours five minutes, under that deduction rule. The break does not change the original start and end timestamps; it changes the counted portion. In Calculator ForEver, select the next-day end for the nominal interval, then use the Hours Calculator if you also need unpaid-break and basic gross-pay arithmetic. A clock-change night can make actual elapsed hours differ from the nominal interval, so preserve dates and offsets when that distinction matters. Paid night premiums, overtime and rest requirements depend on separate rules and cannot be inferred from an overnight checkbox.
Questions about this calculation
Should an earlier end always imply overnight?
No. It might be an input error. Confirm the intended date relationship rather than silently adding a day.
Try these values in the calculator
Find the elapsed time between two clock times.
Use the time duration calculator