Time Difference Calculator
Calculate hours and minutes between two times or durations.
Turn on “Ends next day” for overnight shifts (e.g. 22:00 → 06:00).
Difference
8 hours 30 minutes
8.50 hours
Hours
8
Minutes
30
Seconds
0
In-depth explanation
Enter a start and end time to see the exact difference in hours, minutes, and seconds. Use “Ends next day” for overnight shifts that cross midnight. Everything runs locally in your browser — your inputs are not uploaded to produce the result.
Enter the start and end times, then turn on “Ends next day” so a range like 22:00 to 06:00 is treated as 8 hours. Use the time inputs (with seconds where supported) for a precise duration.
For full calendar spans use Days Between Dates or Countdown To Date. This tool focuses on clock times within a day (or overnight). Tweak the inputs above to compare options, then copy or note the result you need.
Overnight work is the usual failure: 22:00 to 06:00 is 8 hours only if you mark that the end is the next day. Without that flag, some clocks treat it as going backwards.
Seconds matter for billing and sports; they do not matter for “roughly how long was lunch”. For multi-day spans use Days Between Dates. For a live countdown to a calendar moment, use Countdown to Date.
Frequently asked questions
How do I calculate an overnight shift?
Enter the start and end times, then turn on “Ends next day” so a range like 22:00 to 06:00 is treated as 8 hours.
Does it include seconds?
Yes. Use the time inputs (with seconds where supported) for a precise duration.
Can I compare dates as well as times?
For full calendar spans use Days Between Dates or Countdown To Date. This tool focuses on clock times within a day (or overnight).
Related tools
Explore similar utilities you might find useful next.
