Time & Date · ⏱️

Time Duration Calculator

Calculate the elapsed time between two clock times, including periods that cross midnight.

Choose start and end times.

How this tool works

Calculates elapsed minutes between two local clock times. If the end is earlier, the tool assumes the period continues into the next day.

Frequently asked questions

Can it calculate overnight shifts?

Yes. An end time earlier than the start time is treated as the following day.

Practical information

Elapsed time and overnight periods

Time-duration calculations are useful for work shifts, travel, appointments and event planning. Overnight periods need special attention because the end clock time can appear earlier than the start clock time.

Enter the intended start and end times and consider whether the end occurs on the same day or the following day. For payroll or legal working-time records, follow the applicable workplace rules and break requirements.

Before you rely on the result

Use the displayed result as a useful starting point, then check the assumptions that matter for your situation. Keep units, dates, rates and rounding consistent, and save the original information when you are working with a document or financial estimate.

Related UniConvertHub tools

Explore the UniConvertHub guides for worked explanations and practical checks, or return to the tool library to compare related calculators and converters.

Editorial guide

Understanding elapsed time

A time duration is the amount of elapsed time between a start and an end. If the end time is earlier on the clock than the start time, the calculation may represent an overnight period rather than a negative duration, depending on the intended context.

Overnight and multi-day periods

A shift from 22:00 to 06:00 spans eight hours when it crosses midnight. The same clock times on the same day would describe a different interval. When calculating work, travel or event durations, identify the dates as well as the times whenever midnight is involved.

Avoid rounding too early

Keep minutes or seconds in the calculation until the final result. Converting 1 hour 45 minutes into a decimal and rounding it too early can introduce small errors when several durations are added together. Use the result as a clear elapsed-time estimate and apply any workplace or billing rules separately.

Related tools and guides

Browse the UniConvertHub guides for explanations, examples and practical checks, or return to the tool library to find another calculator or converter.

Practical checks

Questions to ask before using the Time Duration Calculator result

What is the purpose of the number? A result can be mathematically correct while still being unsuitable for the decision you are making. Before copying the result into a report, form or message, identify whether you need an estimate, a rounded everyday value or a value that must follow a particular technical, financial or regulatory rule.

Are the inputs consistent? Keep units, dates, rates and reference values aligned. If information comes from different sources, check that the sources use the same definitions. Pay attention to labels that look similar but are not interchangeable, such as gross and net amounts, mass and force, elapsed days and inclusive dates, or decimal and binary storage units.

Can someone reproduce the calculation? When a result matters, keep the original inputs and the assumptions used. This makes it easier to find an error, explain a difference or update the result later. UniConvertHub is intended to make the calculation visible and repeatable rather than hide the steps behind a single unexplained number.