Time in Between Calculator

Find the exact elapsed time between a start clock time and an end clock time — in hours, minutes, and seconds — including shifts that run past midnight into the next day.

Quick Facts

Formula
Duration = End time − Start time (+24h per extra day)
Both times are converted to minutes since midnight before subtracting.
Overnight spans
Use "Next day" when the end time is earlier than the start time
Common for night shifts, red-eye flights, and overnight events.

Your Results

Calculated
Elapsed time
-
Hours and minutes between start and end
Total minutes
-
Full duration in minutes
Total hours
-
Duration as decimal hours
Total seconds
-
Full duration in seconds

Ready

Set a start time and an end time, then press Calculate.

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.

Frequently Asked Questions

How is the time in between two clock times calculated?
Both times are converted to minutes since midnight (hours times 60 plus minutes). The start time's minute count is subtracted from the end time's minute count. If the end time falls on a later day, 1,440 minutes (24 hours) are added for each extra day before subtracting. The result is then converted back into hours, minutes, and seconds.
What if the end time is earlier than the start time?
That means the span crosses midnight. Set "End time occurs" to "Next day" (or "2 days later" for a longer span) so the calculator adds 24 hours per extra day before subtracting. Selecting "Same day" with an end time earlier than the start time is not a valid duration and will be flagged.
Does this account for time zones or daylight saving time?
No. The calculator treats both times as plain clock readings on a standard 24-hour clock with no time zone conversion and no daylight saving adjustment. If a duration crosses a daylight saving transition, the actual elapsed time will differ by an hour from the simple clock-time subtraction shown here.