Hours Calculator
Calculate the hours and minutes between two times, with breaks and overnight shifts.
Quick answer
Calculate the hours and minutes between two times, with breaks and overnight shifts. The Hours Calculator is 100% free, runs entirely in your browser with no sign-up or installation, and keeps your data private.
Popular tools
All 106 toolsWhat is the Hours Calculator?
This hours calculator (also called an hr calculator or hour calculator) finds the time between two clock times in hours and minutes, with an option to subtract unpaid breaks. It handles overnight shifts too, so a shift from 10:00 PM to 6:00 AM is counted correctly as 8 hours rather than a negative number.
Use it to fill in a timesheet, check hours on a payslip, track freelance work, or plan a schedule. It's also the first step in working out pay: once you know the hours, you can multiply by your hourly rate or use the overtime calculator.
How to calculate hours worked
- 1
Enter the start time.
- 2
Enter the end time. If it's earlier than the start time, the calculator treats it as the next day (an overnight shift).
- 3
Enter any unpaid break, such as a 30-minute lunch.
- 4
Read the total time worked in hours and minutes.
Why use this hours calculator
Overnight shifts handled
Shifts that cross midnight are calculated correctly without manual adjustments.
Breaks subtracted
Remove unpaid breaks so the result matches the hours you're actually paid for.
Fast timesheets
Calculate each day in seconds instead of counting on a clock.
Private
Works in your browser with no account.
Converting hours and minutes for timesheets
Time worked = end time − start time − breaks. A shift from 9:00 AM to 5:30 PM with a 30-minute break is 8 hours 30 minutes minus 30 minutes, which is 8 hours.
Payroll often needs hours as a decimal. To convert minutes to a decimal hour, divide by 60: 15 minutes is 0.25 hours, 30 minutes is 0.5, and 45 minutes is 0.75. So 7 hours 45 minutes is 7.75 hours. A common mistake is writing 7h45m as 7.45, which undercounts the time.
For overnight shifts, the calculator adds 24 hours when the end time is earlier than the start time. A shift from 10:00 PM to 6:00 AM is 8 hours.
To work out pay, multiply the decimal hours by your hourly rate. If some of those hours are overtime, use the overtime calculator to apply the right multiplier.