Skip to content
ENExplore Calculators

Hours Between Times

Duration between a start and end time of day, including overnight.

About Hours Between Times

The duration in minutes comes from subtracting the start clock from the end clock, adding a full day when the span crosses midnight. Shifts and sessions that cross midnight need the added day, otherwise the duration would come out negative.

Formula

Hours Between Times

Duration = end time - start time, plus 24 hours if the end is past midnight

overnight
End times earlier than start indicate the next day

Worked example

With the default values below, Hours Between Times returns Hours Between of 9m. Change any input above and every figure here is recalculated in your browser.

Inputs used

Start houraccepts 0–23
9
Start minuteaccepts 0–59
0
End houraccepts 0–23
17
End minuteaccepts 0–59
30

Results

Hours Between
9m
Minutes Between
510
Readable Duration
8h 30m

Step by step

  1. 1Values used
  2. 2Hours Between Times
  3. 3Hours Between= 8.50
  4. 4Minutes Between= 510
  5. 5Readable Duration= 8h 30m

Assumptions and limits

  • The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 2 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

How is Hours Between Times calculated?

Duration = end time - start time, plus 24 hours if the end is past midnight The duration in minutes comes from subtracting the start clock from the end clock, adding a full day when the span crosses midnight.

Why does Hours Between Times matter?

Shifts and sessions that cross midnight need the added day, otherwise the duration would come out negative.

What values do I need to enter?

This calculator takes 4 inputs: Start hour, Start minute, End hour, End minute. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

Hours Between Times | Calcrivo