About the Time in Between Calculator
This calculator finds the elapsed time between two clock times — a start time and an end time — expressed in hours, minutes, and seconds. It is the calculation behind work-shift lengths, event durations, cooking and workout timers, travel layovers, and any other question of the form "how much time passes between X and Y?"
The formula
Every clock time can be converted to the number of minutes elapsed since midnight: minutes = (hours × 60) + minutes. For example, 9:00 AM is 9 × 60 = 540 minutes since midnight, and 5:30 PM (17:30 on a 24-hour clock) is 17 × 60 + 30 = 1,050 minutes since midnight. The duration between two times is then simply:
Duration = End time (in minutes) − Start time (in minutes)
Using the example above: 1,050 − 540 = 510 minutes, which is 8 hours and 30 minutes.
Handling spans that cross midnight
Clock time resets to 0:00 at midnight, so a straight subtraction breaks down whenever the end time is earlier than the start time on the clock face — for example, a night shift from 22:00 to 06:00. To handle this, add 1,440 minutes (24 hours) for every day the end time falls after the start day, before subtracting: Duration = (End minutes + 1,440 × extra days) − Start minutes. For a 22:00-to-06:00 shift spanning one extra day: (360 + 1,440) − 1,320 = 480 minutes, or 8 hours — the correct overnight length.
Converting the result
Once the total minutes are known, the calculator derives the other common units directly: total hours (minutes ÷ 60, as a decimal), total seconds (minutes × 60), and a human-readable "H hours, M minutes" breakdown, where the hours are the whole number of 60-minute blocks and the remaining minutes are the leftover.
Common uses
- Work shift and timesheet lengths, including overnight or split shifts
- Event, meeting, class, or appointment duration
- Recipe and workout timing, and countdowns between two known clock times
- Layovers, connections, and other travel windows given as departure and arrival times
Precision note
This calculator works on plain clock times only — it does not know the calendar date, the time zone, or whether a daylight saving time change occurs during the span. If a duration crosses a spring-forward or fall-back transition, or spans two different time zones, the true elapsed time will differ by an hour (or more) from the simple clock-time subtraction shown here. For a duration between two full calendar dates (not just times of day), use a date-difference calculator instead.