Skip to main content
Time & Duration

Hours Between Dates and Times Calculator

Calculate elapsed hours across calendar dates.

By Iqbal Hussain, Founder and calculator developer · Formulas checked against worked examples · Last updated

Hours Between Dates and Times Calculator

Calculate elapsed hours across calendar dates.

Calculated Result
—
Adjust inputs above to calculate instantly.

How Hours Between Dates and Times Calculator Works?

The Hours Between Dates and Times Calculator works by converting a start date-time and an end date-time into timestamps, then dividing the difference by 3,600,000 milliseconds to get elapsed hours.

  1. 1

    Pick the start date and time

    Select a calendar date and clock time, for example March 3 at 8:00 AM.

  2. 2

    Pick the end date and time

    Select the end date and time, for example March 5 at 2:30 PM. The end can fall on any later day, month, or year.

  3. 3

    Read hours and days

    The calculator returns 54h 30m (54.50 hours) and 2.27 days for the March 3 to March 5 example.

Hours Between Dates and Times Calculator Formula

The Hours Between Dates and Times formula is Hours = (Days Between × 24) + (End Clock Hours − Start Clock Hours).

Hours = (End Date − Start Date) × 24 + (End Time − Start Time)
  • End Date − Start Date: number of calendar days between the 2 dates.
  • 24: hours in 1 calendar day (1,440 minutes or 86,400 seconds).
  • End Time − Start Time: clock difference in decimal hours; the value is negative when the end clock time is earlier than the start clock time.

Example: June 10 at 9:00 PM to June 12 at 6:00 AM gives 2 × 24 + (6 − 21) = 48 − 15 = 33 hours (1,980 minutes or 1.375 days).

Hours Between Dates and Times Calculator Conversion Table

The Hours Between Dates and Times conversion table shows 8 date-time ranges and their elapsed hours, minutes, and days.

StartEndHoursMinutesDays
Mon 9:00 AMMon 5:00 PM84800.33
Mon 9:00 AMTue 9:00 AM241,4401.00
Mon 6:00 PMTue 6:00 AM127200.50
Mon 8:00 AMWed 8:00 PM603,6002.50
Fri 5:00 PMMon 9:00 AM643,8402.67
Day 1 12:00 AMDay 8 12:00 AM16810,0807.00
Day 1 10:30 AMDay 3 4:45 PM54.253,2552.26
Day 1 12:00 PMDay 31 12:00 PM72043,20030.00

What is Hours Between Dates and Times Calculator?

The Hours Between Dates and Times Calculator is a duration tool that counts total elapsed hours between 2 points that sit on different calendar dates. The calculator handles spans of hours, days, weeks, or months.

A same-day time calculator cannot count past midnight more than once. The Hours Between Dates and Times Calculator reads the full date, so a Friday 5:00 PM to Monday 9:00 AM span returns 64 hours instead of a wrong 16-hour value.

What are the uses of Hours Between Dates and Times Calculator?

There are 5 main uses of the Hours Between Dates and Times Calculator, including delivery tracking, rental billing periods, and on-call coverage.

  • Delivery tracking

    Logistics teams measure the 52 hours between a Tuesday 7:00 AM dispatch and a Thursday 11:00 AM arrival.

  • Rental periods

    Car and equipment rental desks count hours from pickup to return, for example 75.5 hours over 3 days.

  • On-call coverage

    Support engineers total a weekend on-call block from Friday 6:00 PM to Monday 8:00 AM as 62 hours.

  • Project deadlines

    Project leads count hours left between a kickoff timestamp and a due date timestamp.

  • Medical intervals

    Caregivers measure the hours between doses or since a procedure, such as 36 hours since a 10:00 PM surgery.

Hours Between Dates and Times Calculator FAQ

How do I use the Hours Between Dates and Times Calculator?

1. Pick the start date and time: Select a calendar date and clock time, for example March 3 at 8:00 AM. 2. Pick the end date and time: Select the end date and time, for example March 5 at 2:30 PM. The end can fall on any later day, month, or year. 3. Read hours and days: The calculator returns 54h 30m (54.50 hours) and 2.27 days for the March 3 to March 5 example.

What formula does the Hours Between Dates and Times Calculator use?

The Hours Between Dates and Times formula is Hours = (Days Between × 24) + (End Clock Hours − Start Clock Hours). In short: Hours = (End Date − Start Date) × 24 + (End Time − Start Time).

Can you show a worked example?

June 10 at 9:00 PM to June 12 at 6:00 AM gives 2 × 24 + (6 − 21) = 48 − 15 = 33 hours (1,980 minutes or 1.375 days).

Related Time & Duration Tools

View All Calculators →