Time Duration

Use this calculator

CLOCK INTERVALS · MIDNIGHT · DECIMAL HOURS

What is elapsed clock time?

A clock-time duration is the interval between a chosen start time and end time, expressed in hours and minutes. For a shift that starts late in the evening and ends early next morning, the end time belongs to the following day. The duration is independent of the particular labels used to express it: 2 h 45 min equals 165 minutes and 2.75 decimal hours.

Elapsed-time arithmetic

\Delta t = \left( 60h_{e} + m_{e} \right) - \left( 60h_{s} + m_{s} \right) + 1440I
H_{decimal} = \frac{\Delta t}{60}

hs, ms = start hour and minute; he, me = end hour and minute on a 24-hour clock; I = 1 when End time is earlier than Start time, otherwise 0; Δt is total minutes.

Hdecimal = elapsed hours expressed as a decimal number; Δt = elapsed minutes. The displayed decimal-hours value uses two decimal places.

Measure a shift or activity across the clock

Select Start time and End time using the time pickers and press Calculate. When End time is earlier than Start time, the tool interprets it as the next day, adding 24 hours before subtraction. Equal clock times produce zero duration. The primary result is formatted “h min”; details show Total minutes, Decimal hours with two decimals, and a Crosses midnight indicator when applicable. There are no date fields in this specific tool.

Try this in BB Calculator. Set Start time to 22:30 and End time to 01:15. The midnight rule yields 2 h 45 min, 165 total minutes and 2.75 decimal hours. For a same-day activity, choose an end time later than the start. Confirm the intended date context separately if an activity spans multiple complete days.

Trace an overnight interval in two pieces

From 22:30 to midnight is 90 minutes; midnight to 01:15 adds 75 minutes. This decomposition is helpful for checking a duration crossing midnight.

The app treats an End time earlier than Start time as next-day time.

From 22:30 to midnight is 90 minutes; midnight to 01:15 adds 75 minutes. This decomposition is helpful for checking a duration crossing midnight.

Clock notation and payroll decimals are different

2 h 45 min and 2.75 decimal hours describe the same duration.

Clock notation and payroll decimals are different

7 h 30 min is 7.5 decimal hours, not 7.30 decimal hours. Decimal hours are useful in simple timesheets; actual payroll conventions may specify breaks, rounding and premiums separately.

When a schedule includes dates or changing offsets

The tool’s clock-only convention handles an overnight interval by one next-day rollover. Longer, dated projects or time-zone changes require a date/time model with the appropriate context. This distinction keeps the interpretation of the displayed answer precise.

The clock demonstrates that end-time position alone does not indicate same-day order.

The tool’s clock-only convention handles an overnight interval by one next-day rollover. Longer, dated projects or time-zone changes require a date/time model with the appropriate context. This distinction keeps the interpretation of the displayed answer precise.

Quick answers

How is 22:30 to 01:15 calculated?

As an overnight interval: 2 h 45 min, or 165 minutes.

Why are 30 minutes written as 0.5 decimal hours?

Because 30 ÷ 60 = 0.5.

What if Start time equals End time?

The current tool returns zero duration.