Date & time calculator

Time Duration Calculator

Calculate hours, minutes and seconds between two times.

How the duration is calculated

The calculator converts both times to seconds after midnight and subtracts start from end. If the end time is next day, 24 hours are added to the end time.

Example

For a shift from 22:30 to 06:15 next day, enable the next-day option. The duration is 7 hours and 45 minutes.

What this does not include

This is a clock-time duration tool. It does not apply time zones, daylight saving time changes, unpaid breaks or payroll rounding rules unless you adjust the inputs yourself.

References

Last reviewed: 2026-05-14

Before relying on this result

Use this calculator together with the formula, assumptions, limitations and examples on the page. If the topic involves health, tax, lending, investment, legal, safety or current-rate decisions, treat the number as an estimate and check the relevant primary source or professional guidance.

Calculator metadata last reviewed: 2026-05-14.