Hours calculator
Enter a start and end time to get the total hours and minutes between them — with an optional break and overnight support. All in your browser.
Quick answer
To find hours between two times, subtract start from end. 9:00 to 17:30 is 8 hours 30 minutes (8.5 decimal hours). This tool handles overnight shifts and can subtract an unpaid break.
Total time
8h 30m
Decimal hours
8.50
Frequently asked questions
How do I calculate hours between two times?
Subtract the start time from the end time. This tool does it for you, converts to hours and minutes, and also shows decimal hours (for example 8:30 = 8.5 hours). Overnight shifts are handled by adding 24 hours when the end is earlier.
How do I subtract a lunch break?
Enter the unpaid break in minutes — it is deducted from the total, which is handy for calculating paid work hours.
What are decimal hours?
Decimal hours express minutes as a fraction of an hour: 30 minutes is 0.5, 15 minutes is 0.25. Payroll often uses decimal hours.
Is my data uploaded?
No. TryCalculatingNow calculates in your browser. Your times are not uploaded to our servers for processing.