Use this for a dated interval that can run past midnight or across several days. The result includes total minutes and decimal hours. It counts the full interval, not just scheduled working hours.
How to calculate hours between dates
Choose both calendar dates and clock times, then subtract the start from the end. Under the wall-clock model, each calendar day contributes 24 hours. Subtract any minutes you want to exclude only after calculating the full interval. The calculator rejects an end before the start instead of assuming you meant the following day.
Net minutes = interval minutes − excluded minutes. Decimal hours = net minutes ÷ 60. The days, hours and minutes breakdown uses 24-hour days. For an eight-hour workday equivalent, take the result to the hours-to-workdays calculator.
Example: an interval lasting more than a day
From October 4 at 09:00 to October 5 at 17:30 is 32 hours and 30 minutes in wall-clock mode. That is 1,950 minutes. Excluding 30 minutes leaves 1,920 minutes, or 32 decimal hours: one 24-hour day plus eight hours.
This does not mean someone worked 32 paid hours. The interval could include sleep, off-duty time or other exclusions. Enter all relevant excluded minutes, or use a shift-by-shift work-hours calculation when you have separate work periods.
| Start | End | Duration |
|---|---|---|
| Oct 4, 09:00 | Oct 4, 17:30 | 8.5 hours |
| Oct 4, 22:00 | Oct 5, 06:00 | 8 hours |
| Oct 4, 09:00 | Oct 5, 17:30 | 32.5 hours |
| Oct 4, 09:00 | Oct 4, 09:00 | 0 hours |
Wall-clock difference versus elapsed time
Wall-clock mode compares the written dates and times without a time zone. It treats each day as 24 hours. That is useful for a simple calendar calculation, but a clock change can make real elapsed time different.
Offset mode converts each endpoint to UTC using the offset you supply. UTC time = local time − UTC offset. For example, 01:00 at UTC−5 is 06:00 UTC. An end of 04:00 at UTC−4 is 08:00 UTC. Those endpoints are two elapsed hours apart even though the written clock times differ by three hours.
The calculator does not look up daylight-saving rules. Enter the correct offset at each endpoint. The offset can differ between start and end because of a clock change or travel. Fractional offsets are supported, such as 5.5 for UTC+05:30. Offset fields are ignored in wall-clock mode.
Pick the right calculator for the question
- For weekends and holidays excluded from a dated schedule, use the business-days calculator.
- For a shift that crosses midnight, read how overnight shift hours are calculated.
- For a known starting time and required paid duration, use the clock-out calculator.
- For recurring calendar capacity, use the monthly work-hours calculator.
These tools use different definitions. A calendar interval includes every minute between two endpoints. A business-day count excludes selected dates. A paid-hours total follows the actual working periods and break treatment.
Frequently asked questions
Can I calculate more than 24 hours?
Yes. Enter different dates. The result preserves full days and also shows total decimal hours.
Does this exclude weekends?
No. It counts the full interval. Use the business-days calculator for a working-week schedule.
Are start and end minutes both counted?
The result is the difference between timestamps. From 09:00 to 10:00 is 60 minutes, and identical endpoints give zero. It does not add an extra inclusive minute.
Does my browser’s time zone change the answer?
No. Wall-clock mode uses the entered calendar values. Offset mode uses the two offsets you enter. Neither mode silently uses your browser’s local time zone.
Can I subtract several breaks?
Add their minutes together and enter the total in Minutes to exclude. It cannot exceed the full interval.
Published by Intious · Updated October 4, 2026. See our methodology or report a correction.