DATDate & Time

Hours Between Calculator

Enter a start time and end time and get the elapsed duration in hours-and-minutes, decimal hours, and total minutes. Subtract an unpaid break for accurate worked-time. Handles overnight shifts automatically.

(optional)
min
(optional)

Try an example

How It Works

Formula

elapsed=(endstart)mod1440\text{elapsed} = (\text{end} - \text{start}) \bmod 1440

worked=elapsedbreak\text{worked} = \text{elapsed} - \text{break}

decimalHours=worked/60\text{decimalHours} = \text{worked} / 60

Where

start\text{start}

Start time as minutes since midnight (0–1439)

end\text{end}

End time as minutes since midnight (0–1439)

break\text{break}

Unpaid break length in minutes

elapsed\text{elapsed}

Minutes from start to end, wrapping past midnight if needed

worked\text{worked}

Elapsed minutes minus the unpaid break — the worked-time answer

14401440

Minutes in a full 24-hour day

Enter a start and end time in 24-hour HH:MM form and the calculator returns the elapsed duration. It converts both times to minutes-since-midnight, subtracts start from end, adds 24 hours when the result is negative or you've flagged the shift as overnight, and finally subtracts your unpaid break. The duration is shown three ways: hours-and-minutes (8h 0m), decimal hours (8.00) for payroll, and total minutes (480) for shift scheduling.

Frequently Asked Questions

Related Calculators

Ready to Calculate?

Free calculators.