Time Duration Calculator Online Free

    Time Duration Calculator

    Calculate time differences, measure elapsed time between dates, and track durations with precision

    Time Between Two Times (Same Day)

    Calculate the duration between two times within a 24-hour period

    The time duration calculator finds the exact time between two clock readings. Enter a start time and an end time to get the result in hours, minutes, and seconds. It handles durations that cross midnight, so a shift from 10:00 PM to 6:00 AM calculates correctly.

    How Time Duration Is Calculated

    The calculator converts both times to total seconds from midnight (00:00:00), subtracts start from end, then converts the result back to hours, minutes, and seconds. If the end time is earlier than the start time, it adds 24 hours to handle overnight spans.

    Duration = End time (in seconds) - Start time (in seconds)

    If the result is negative, add 86,400 seconds (24 hours) to get the correct overnight duration.

    Common Use Cases

    Shift workers use it to calculate hours worked before filling in timesheets. Students use it to track study sessions. Runners use it to log workout duration. Project managers use it to measure task time from activity logs.

    Example Calculations

    Start TimeEnd TimeDuration
    9:00 AM5:30 PM8 hours 30 minutes
    8:45 AM12:15 PM3 hours 30 minutes
    10:00 PM6:00 AM8 hours (overnight)
    7:30 AM7:30 AM0 hours (same time)
    11:45 PM12:15 AM30 minutes (midnight cross)

    Converting Duration to Decimal Hours

    Payroll systems often need decimal hours instead of HH:MM:SS. Divide the total minutes by 60 to get the decimal. For example, 8 hours 30 minutes = 8 + (30/60) = 8.5 hours. Use this when calculating hourly pay.

    Decimal hours = Hours + (Minutes / 60)

    Example: 7 hours 45 minutes = 7 + (45/60) = 7.75 hours

    Frequently Asked Questions

    How do I calculate the time duration between two times?

    Subtract the start time from the end time. Convert both to minutes from midnight first: multiply hours by 60 and add minutes. Then subtract and convert the result back to hours and minutes. Or use this calculator and enter your times directly.

    How do I calculate hours worked overnight?

    If your shift crosses midnight, add 24 hours to the end time before subtracting. For example, a 10:00 PM to 6:00 AM shift: convert 6:00 AM to 30:00 (6 + 24), then subtract 22:00 (10:00 PM). Result is 8 hours.

    Can this calculator handle shifts longer than 24 hours?

    This calculator is designed for single-day durations up to 24 hours. For multi-day periods, use the date calculator to find the exact time between two dates and times.

    How do I convert hours and minutes to decimal for payroll?

    Divide the minutes by 60 and add to the hours. 8 hours 45 minutes = 8.75 hours. 7 hours 15 minutes = 7.25 hours. 6 hours 30 minutes = 6.5 hours.

    What is 19 minutes 34 seconds as a decimal?

    19 minutes 34 seconds = 19 + (34/60) minutes = 19.567 minutes, or 0.326 hours. In seconds, it is 1,174 seconds total.

    How many hours is 7:30 AM to 4:15 PM?

    7:30 AM to 4:15 PM is 8 hours 45 minutes, or 8.75 hours. Calculation: 4:15 PM = 16:15, minus 7:30 = 8 hours 45 minutes.

    What is the time elapsed from 16:04 to 21:53?

    The time elapsed from 16:04 (4:04 PM) to 21:53 (9:53 PM) is 5 hours and 49 minutes. Enter 4:04 PM as your start time and 9:53 PM as your end time to see the exact duration.

    How long is the duration from 16:29 to 18:57?

    The duration from 16:29 (4:29 PM) to 18:57 (6:57 PM) is 2 hours and 28 minutes. Useful for tracking peak hours or any fixed window of time.

    What is a time duration calculator?

    A time duration calculator finds the exact time elapsed between two clock readings. It measures hours, minutes, and seconds between a start and end time, whether within the same day or spanning midnight. Common uses include tracking work hours, event durations, and travel times.