Hours & minutes between two times — handles overnight shifts, breaks & payroll decimals.
When the shift or period begins, e.g. 09:00.
When it ends, e.g. 17:00. Earlier than start = overnight.
Unpaid time to subtract.
Auto handles shifts past midnight (e.g. 22:00 → 06:00). Use "Yes" only for a full 24-hour span where start equals end.
For payroll compliance — FLSA permits 5, 6, or 15-minute rounding. Most users should keep this on exact.
Clock-time elapsed only. This tool computes the elapsed clock time between two times of day on a single day (or one midnight crossing). It does not account for calendar dates, multi-day spans, or Daylight Saving Time changes — on a DST "spring forward" or "fall back" night the real elapsed time differs by ±1 hour from the clock-time difference. Rounding options reflect FLSA-permitted increments and are informational, not legal advice. All math runs in your browser — no times are sent anywhere.
The Time Duration Calculator tells you exactly how many hours and minutes fall between a start time and an end time. It subtracts your unpaid break, automatically handles shifts that cross midnight, and shows the result three ways: H h M min, decimal hours for payroll, and total minutes. Optional payroll rounding is available.
A shift runs from 7:30 to 16:30 with a 30-minute unpaid lunch:
An overnight example: 22:00 to 06:30 with no break. Because the end is earlier than the start, the tool adds 24 hours: (06:30 + 24h) − 22:00 = 8 h 30 min, instead of a negative result.
9:00 and 09:00 are the same).Each clock time is converted to minutes-since-midnight (hour × 60 + minute). The gross span is
end − start; if the end is at or before the start under "auto" overnight (or you force "yes"),
1440 minutes (24 hours) are added first. Net worked time is gross minus break, clamped at zero so it
never goes negative. Decimal hours are minutes ÷ 60 rounded to two decimals; the underlying minute count
stays exact. Optional rounding snaps the net minutes to the nearest 5, 6, or 15-minute increment using round-half-up.
<iframe src="https://snaptoolsuite.com/time-duration-calculator/?embed=1"
style="width:100%;max-width:560px;height:720px;border:0;"
title="Time Duration Calculator" loading="lazy"></iframe>
<p>Free <a href="https://snaptoolsuite.com/time-duration-calculator/">Time Duration Calculator</a> by Snap Tool Suite</p>
See it live: view a real embed example →
Convert each time to minutes-since-midnight, subtract start from end, then subtract any break. The result shows as H h M min, decimal hours, and total minutes.
When the end time is earlier than the start (e.g. 22:00 to 06:30), it adds 24 hours before subtracting, so you get 8 h 30 min instead of a negative number.
Decimal hours equal total minutes ÷ 60. So 7 h 30 min = 7.50 hours, not 7.30. The tool shows this automatically.
Yes — enter the unpaid break in minutes. If the break is longer than the shift, the result is clamped to zero and flagged.
It rounds to the nearest quarter hour: 0–7 minutes round down, 8–14 round up. That is exactly round-half-up to the nearest 15 minutes, one of the FLSA-permitted increments alongside 5 and 6 minutes.
Yes. 100% free, and everything runs in your browser — no times leave your device.
Everything is calculated in your browser. We don't store or sell your data.