Date & Time ToolsRuns in your browser

Time Duration Calculator

Find the elapsed hours and minutes between two clock times, with explicit support for crossing midnight.

Hours
8
Minutes
0
Total minutes
480

Private by default

This tool processes your input in the current browser tab and does not upload it for processing.

How to calculate a time duration

Enter start and end times in 24-hour format. Enable overnight duration only when the end belongs to the following day.

Crossing midnight

Without the overnight option, an end time earlier than the start is treated as an error. This prevents an accidental 22-hour result when the user intended a two-hour same-day interval.

Privacy and limits

No times are transmitted or stored. The tool calculates durations of zero to 24 hours and does not include calendar dates or time zones.

Questions

Frequently asked questions

How do I calculate a shift that crosses midnight?

Enable the option stating that the end time is on the next day.

What happens when start and end are the same?

The result is zero unless overnight duration is enabled, in which case it represents 24 hours.

Are entered times uploaded?

No. The two times are processed locally in the browser.

Continue