Time Duration Calculator (Hours Between Times)
NEWTime duration calculator: find the hours between two times or dates, add or subtract time, and total a timesheet. Free and in-browser.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
7h 45m 0s
End is earlier than start, so it is counted on the next day (crosses midnight).
- Hours : min : sec
- 7h 45m 0s
- Decimal hours
- 7.75
- Total minutes
- 465
- Total seconds
- 27900
Quick Examples
Typical inputs and the results this tool produces.
Overview
This time duration calculator answers the everyday question "how long is it from this time to that time?". Enter a start and end time of day and it returns the elapsed hours, minutes and seconds, automatically treating an earlier end time as the next day so night shifts work without any extra steps.
Three more modes cover the rest: the difference between two full dates and times, adding or subtracting a duration to a clock time, and a timesheet that sums several start–end rows with unpaid breaks. Every result is shown as h m s, decimal hours, total minutes and total seconds, which is handy for payroll and billing hours.
All calculations run locally in your browser, so nothing you enter is uploaded.
Why use this tool?
- Handles shifts that cross midnight automatically
- Decimal hours ready for payroll or invoices
- Timesheet totals with breaks deducted
- Copy results or the whole timesheet as CSV
- Private: runs entirely in your browser
Features
Crosses midnight
If the end time is earlier than the start, it is counted on the following day.
Date-time difference
Measure spans of several days between two dates and times, shown with days, hours, minutes and seconds.
Add or subtract time
Shift a clock time by hours, minutes and seconds and see when it wraps to the next or previous day.
Timesheet mode
Add as many start–end rows as you need, deduct breaks and get a running total.
Four output formats
Every duration is shown as h m s, decimal hours, total minutes and total seconds.
Copy and CSV
Copy a single result or export the timesheet rows as CSV for a spreadsheet.
How to Use
Pick a mode
Choose Between times, Between dates, Add / subtract or Timesheet.
Enter the times
Fill in the start and end, or the start time and the duration to add.
Read the result
The duration updates as you type in h m s, decimal hours, minutes and seconds.
Copy it
Use Copy for one result or Copy as CSV for the full timesheet.