Hours Calculator
Calculate elapsed and paid hours between two times, including overnight shifts and break deductions, for free entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
Paid time
8 hours
Decimal hours
8.00
Elapsed time
8 hours 30 minutes
Paid minutes
480 minutes
How to calculate hours between times
- Enter the start and end time.
- Select next day if the period crosses midnight.
- Enter any unpaid break to see elapsed time and paid time in multiple formats.
The calculation
Each clock time is converted to minutes after midnight: total minutes = hours × 60 + minutes. Elapsed minutes equal end minus start; an overnight period adds 1,440 minutes. Paid minutes equal elapsed minutes minus the unpaid break, and decimal hours equal paid minutes divided by 60.
Example: 9:00 AM to 5:30 PM is 510 minutes. Subtracting a 30-minute break leaves 480 minutes, or 8.00 paid hours.
FAQ
How do I calculate an overnight shift?
Enter the start and end times, then select "End time is on the next day." The calculator adds 24 hours before finding the difference.
How are break minutes handled?
Break minutes are subtracted from the elapsed time. For example, an 8-hour 30-minute shift with a 30-minute unpaid break produces 8 paid hours.
What are decimal hours?
Decimal hours express minutes as a fraction of an hour. The calculator divides paid minutes by 60, so 7 hours 30 minutes becomes 7.50 hours.
Can I use this result directly for payroll?
It can help total a single time period, but payroll rules vary. Confirm rounding, paid-break, overtime, and local employment requirements with your employer or payroll system.
Are my times saved or uploaded?
No. Every calculation runs locally in your browser. The times and break duration you enter are not uploaded or stored by Online Tool Store.
How we compare
| Feature | Online Tool Store | Clockify | timeanddate.com |
|---|---|---|---|
| Break deduction | Included | Included | Not the focus of its duration tool |
| Decimal-hour result | Included | Included | Duration breakdown |
| Date and time-zone durations | Time-of-day periods only | Work-time focus | Dedicated options available |
Choose timeanddate.com for durations involving dates or time zones, or Clockify for broader timekeeping workflows. Choose Online Tool Store Hours Calculator for a fast, private single-shift calculation with overnight handling, break deduction, and decimal hours.