Time Duration Calculator

Find the time elapsed between a start and end time. Use the next-day option for a span that crosses midnight and see the result in clock units and decimal hours.

Workspace

Time elapsed

Your result will appear here.

How to use it

  1. Enter your start and end times.
  2. Select End time is on the following day if the span crosses midnight.
  3. Calculate the duration and copy the result.

Worked example

Input
Start at 22:45, end at 01:30 the following day.
Output
2 hours 45 minutes, or 2.75 decimal hours.

Frequently asked questions

How do I calculate a shift that crosses midnight?

Enter the evening start time and the morning end time, then select the next-day option.

Does the calculator account for daylight saving time?

It compares clock times without a date or time zone. For a date-specific interval affected by a clock change, compare UTC timestamps instead.