This free hours calculator works out how much time is between a start time and an end time, and can subtract a break. It shows the result in hours and minutes as well as decimal hours, which is exactly what you need for timesheets, payroll, and billing. It also handles overnight shifts: if the end time is earlier than the start, it rolls over to the next day automatically.
Use it to add up a work shift, plan study or project time, or figure out how long an event lasts. Everything is calculated instantly and privately in your browser, with no sign-up.
How to use it
Pick the start and end times, enter any break in minutes, and read the total hours and minutes, plus the decimal hours for payroll.
How the hours calculator works
It converts both times to minutes, subtracts the start from the end (rolling past midnight for overnight shifts), removes any break, and shows the result in hours and minutes plus decimal hours:
total = (end − start) − break minutes
Example
09:00 to 17:30 with a 30-minute break = 8h 0m (8.00 hours).
Key features
Hours and minutes plus decimal hours
Subtract a lunch or break
Handles overnight shifts
Instant and free
When to use it
Work timesheets and payroll
Tracking study or project time
Calculating shift length
Billing by the hour
Frequently asked questions
How do I calculate hours between two times?
Enter the start time and end time and the calculator shows the hours and minutes between them, plus a decimal hours total.
Can I subtract a lunch break?
Yes. Enter the break in minutes and it is subtracted from the total, which is handy for work timesheets.
Does it handle overnight shifts?
Yes. If the end time is earlier than the start time, it treats it as the next day, so overnight shifts calculate correctly.
We use privacy-friendly analytics to understand traffic. No personal data is sold.