UtilHero

Time Duration Calculator

Elapsed time between two dates and times — in your browser.

About Time Duration Calculator

A time duration calculator measures the elapsed time between two moments. Enter a start and end date-and-time and it returns how many hours, minutes, and days lie between them — with totals in hours, minutes, and seconds. It handles spans that cross midnight or run over several days, so it's handy for shifts, timesheets, and countdowns.

Frequently asked questions

How many hours are between two times?
Enter a start time and an end time and the calculator shows the gap in hours and minutes, plus the total in decimal hours — for example, 09:00 to 17:00 is 8h 0m, or 8 total hours.
Can it span across midnight or multiple days?
Yes. It handles durations that cross midnight and stretch over many days, dates, months, or years — pick different start and end dates and it accounts for every hour in between.
What if the end is before the start?
It still shows the magnitude of the difference and flags that the range is reversed (negative), so you can tell the end came before the start.
Does it show total hours and minutes?
Yes. Alongside the day/hour/minute breakdown it gives the total in hours, in minutes, and in seconds — useful for timesheets and payroll.

More tools

All Calculators