Private by default

Time Duration

Duration between two times, including overnight shifts.

How to use the Time Duration

Duration between two times, including overnight shifts. Fill in the fields above and the result updates instantly, together with the formula behind it.

Formula

Duration = end − start − break; end before start means following day

Worked example

09:15 to 17:40 with a 30-minute break is 7 hours 55 minutes.

Important things to know

For clock-time calculations only; daylight saving transitions require a date and time zone.

Frequently asked questions

How is the Time Duration calculated?

Duration = end − start − break; end before start means following day. Example: 09:15 to 17:40 with a 30-minute break is 7 hours 55 minutes.

What do I need to enter in the Time Duration?

You enter: Starting time; Ending time; Unpaid break (minutes). An example value is shown in each empty field, and the result appears as soon as the numbers are valid.

What happens if the end time is earlier than the start time?

The calculator assumes the shift crosses midnight and ends on the following day, so 22:00 to 06:00 is 8 hours.

Can I save or share this calculation?

Yes. Use Copy to copy the result or full example. Share creates a link that puts your chosen values into the URL fragment so another person can reproduce the calculation. Your named saves and recent history stay in your own browser.

Related calculators