Time Duration Calculator

Find the elapsed time between two clock times — including overnight spans — or between two full dates and times.

Time Range

If the end time is before the start time, it's assumed to be the next day.

—
Duration
Decimal Hours—
Total Minutes—

Frequently Asked Questions

How does the calculator handle an overnight shift?+

In Time Only mode, if the end time is earlier than or equal to the start time, it's assumed to be the next day — so 10:00 PM to 6:00 AM correctly calculates as 8 hours, not a negative duration.

What is decimal hours and why does it matter?+

Decimal hours expresses a duration like 7 hours 30 minutes as 7.5 — the format most timesheets and payroll systems expect instead of hours and minutes separately.

When should I use Date & Time Range instead of Time Only?+

Use Date & Time Range when the duration spans more than a single overnight period — for example, calculating hours worked across a multi-day trip, or the time between two specific timestamped events on different dates.