Time Duration Calculator
Calculate the exact hours, minutes, and seconds between two times.
::
::
Duration
8h 30m 0s
Decimal hours
8.50
Total minutes
510
Total seconds
30600
Why Use Our Time Duration Calculator?
- Live result as you type — no calculate button to click
- Decimal hours output, ready for payroll and timesheets
- Handles overnight shifts and midnight crossover automatically
- One-click "Now" buttons and a start/end swap
- Copy the result in one click
- No signup, runs entirely in your browser
Related Time Tools
View all Time ToolsFrequently Asked Questions
- How do I calculate the time between two times?
- Enter the start time and end time, and the duration is calculated automatically — no need to click a button. If the end time is earlier in the day than the start time, the calculator assumes it falls on the next day.
- What are decimal hours and why does the calculator show them?
- Decimal hours express a duration as a single number (like 7.5 instead of 7 hours 30 minutes), which is the format most payroll and timesheet systems expect for billing or wage calculations.
- Can this handle a shift that crosses midnight?
- Yes — if your end time is earlier in the day than your start time, it's treated as falling on the next day automatically, and a "spans midnight" label confirms it. You can also check the box manually to force this for same-looking times.
- Does it calculate seconds too, not just hours and minutes?
- Yes — enter seconds in either time field for precise results, and the duration breakdown includes total seconds alongside hours, minutes, and decimal hours.
- Is my data sent anywhere?
- No. The calculation happens entirely in your browser — nothing is uploaded or stored on a server.