Toollance

Time Duration Calculator

Calculate the duration between two times in hours, minutes, and seconds. Handles overnight shifts that cross midnight.

What is a Time Duration Calculator?

This tool calculates the elapsed time between a start time and an end time. It outputs the duration in hours, minutes, and seconds, and correctly handles cases where the time range crosses midnight (e.g. a night shift from 22:00 to 06:00).

How to use this tool

  1. Enter the Start Time (HH:MM or HH:MM:SS)
  2. Enter the End Time (HH:MM or HH:MM:SS)
  3. Click Calculate
  4. Duration is displayed in hours, minutes, and seconds

Midnight handling

If the end time is earlier than the start time, the tool assumes the duration crosses midnight and adds 24 hours to the result.

Example use cases