Hours Calculator (Time Difference)
Hours Between 2 Dates
Free Online Hours Calculator: Hours Between Two Times and Two Dates
Quickly calculate the hours and minutes between any two times using this simple calculator. Use the two calculators to find the hours and minutes between two times or two dates, with the total minutes and total seconds shown instantly. It is fully mobile-friendly and perfect for planning, tracking or time management.
Quick answer: to find the hours between two times, subtract the start from the end. 9:00 to 17:30 is 8 hours 30 minutes, or 510 minutes. If the end time is earlier than the start, the calculator counts it as the next day, so 22:00 to 06:00 is 8 hours.
How to Calculate Hours Between Two Times
Convert each time to minutes, subtract the start from the end, and convert the result back to hours and minutes. For an overnight shift, add 24 hours when the end time is earlier than the start. You can type the times in or press NOW to use the current time. The calculator also shows the total hours as a decimal, which is the format most timesheets and payroll systems use.
Hours Between Two Dates
The second calculator finds the exact time between two dates and times. It shows the total elapsed hours and minutes, the decimal hours, the number of calendar days, the total minutes and the total seconds. It counts real elapsed time, so if a daylight saving change falls inside your range, the result includes the extra or missing hour. To count days rather than hours, use the date calculator or the time calculator.
Working Hours Between Dates (Mon–Fri)
Tick Filter by work hours and set your work start and end times to count only the hours that fall inside them on weekdays. Weekends and time outside your hours are skipped. The filter does not subtract lunch breaks or public holidays. For a day count that skips weekends, try the business days calculator, and for timesheets the work hours calculator.
| Example | Hours | Minutes | Seconds |
|---|---|---|---|
| 9:00 to 17:30 | 8.5 | 510 | 30,600 |
| 22:00 to 06:00 (overnight) | 8 | 480 | 28,800 |
| Jan 1, 9:00 to Jan 2, 17:30 | 32.5 | 1,950 | 117,000 |
| Monday 9:00 to Friday 17:00, work hours 9–17 | 40 | 2,400 | 144,000 |
| 1 full day | 24 | 1,440 | 86,400 |
What Is the Hours Calculator Used For?
People use it to total hours worked for payroll and timesheets, plan shifts and overnight work, track freelance and project time, measure study or exercise sessions, and work out travel or waiting times. If you need to convert the result into pay, the paycheck calculator can help, and the age calculator and the days between dates tool cover calendar-based questions.
How to Use This Hours Calculator
Enter the start and end times
Type them in, or press NOW to use the current time.
Press "Calculate Hours"
See the difference in hours and minutes, plus total minutes and seconds.
Choose the start and end date and time
Use the pickers, or press NOW for the current date and time.
Add a work hours filter (optional)
Tick the box and set your work start and end times to count weekday work hours only.
Press "Calculate Total Hours"
See total hours and minutes, decimal hours, calendar days, total minutes and total seconds.