Quick Answer
How do you calculate the time between two times?
// Answer
Convert both times to minutes since midnight, subtract the start from the end, and convert back to hours and minutes. From 9:00 to 17:30 is 510 minutes = 8 hours 30 minutes. If the end time is earlier than the start, it is treated as the next day (an overnight shift).
Why use this tool
Track hours easily
Calculate work shifts, study sessions, billable hours, or any time span. The decimal hours output (8.50) is handy for timesheets and payroll. Overnight spans are handled automatically.
FAQ
Frequently asked questions
Yes. If the end time is before the start time, it assumes the span crosses midnight into the next day.
The duration expressed as a decimal (e.g. 8h 30m = 8.5 hours), commonly used for timesheets and billing.
For spans longer than 24 hours, use the Date Difference calculator instead.
Yes, calculations run in your browser.
Advertisement
More tools