Hours Between Dates Calculator
Calculate total hours, days, and minutes between two date-times. Enter start and end dates with times for an elapsed-time total in UTC.
Enter start and end date-times to calculate hours between them.
How it works
Each date and time you enter is combined into one UTC instant. The calculator measures elapsed time from the start instant to the end instant.
Total hours uses the exact span in hours (including fractions when minutes or seconds remain). Total minutes is the full minute count. Total days shows whole days from the non-overlapping breakdown—the same style as the Date Difference Calculator (for example, 27 hours appears as 1 day and 3 hours, not 1.125 days).
The end date-time must be on or after the start. If the end is earlier, you will see a validation message instead of a result. For seconds in the breakdown or when the end is before the start, use the Date Difference Calculator.
Common uses
Payroll time spans, shift length, project timelines, deadline tracking, and any question phrased as “hours between two dates” or “time difference in hours.”
Payroll time spans
Measure hours from clock-in to clock-out across one or more workdays.
Shift calculations
Compare night shifts that cross midnight using start and end date-times.
Project timelines
Track elapsed hours between milestone start and completion timestamps.
Deadlines
See how many hours remain between now and a due date-time.
Elapsed time tracking
Log total hours and minutes for billing or time sheets in UTC.
FAQ
- How do I calculate hours between two dates?
- Enter a start date and time and an end date and time. The calculator combines each pair in UTC and shows total hours, minutes, and a day/hour/minute summary when the end is on or after the start.
- Can I include both date and time?
- Yes. All four fields are required. Without times, use midnight (00:00) for a full-day boundary, or use Days Between Dates for calendar days only.
- What happens if the end time is before the start time?
- If the combined end instant is before the start instant, the calculator shows an error and does not display totals. Swap the values or fix the dates so the end is later.
Similar Tools
- Date Difference CalculatorFind the exact difference between two dates in days, hours, minutes, and seconds.
- Days Between DatesCalculate the number of days between two calendar dates.
- Timezone ConverterConvert time between common timezones and compare time differences.
- Payroll Hours CalculatorTotal weekly work hours and split regular vs overtime using a threshold.
- SLA Deadline CalculatorCalculate SLA deadlines in hours, calendar days, or business days with optional weekend adjustment.
Popular Calculators
- Days Until CalculatorCount calendar days until any date—or days ago for past dates.
- Countdown To Date CalculatorCount down to any date with optional UTC time and event name.
- Business Days CalculatorCount working days between dates, excluding weekends.
- Invoice Due Date CalculatorCalculate invoice due dates from net payment terms with optional weekend adjustment.
- Notice Period CalculatorCalculate notice period end dates from a start date and length in days, weeks, or months (calendar or business days).