Hours Calculator
Find the hours and minutes between two times, minus any break.
Duration
8h 30m
- Decimal hours
- 8.50
- Minutes
- 510
Quick answer
Enter a Start time and End time, subtract any unpaid break, and get the duration in hours and minutes plus decimal hours for timesheets; overnight shifts are handled.
- Set the Start time and End time.
- Enter an Unpaid break in minutes, if any.
- Read the Duration and Decimal hours.
Reviewed by the TimerHub team · Last reviewed November 4, 2026 · Data sources
Related tools
- Time Card CalculatorTotal a week of clock-in and clock-out times with breaks, overtime, decimal hours and gross pay.
- Time to Decimal CalculatorConvert hours and minutes to decimal hours for payroll, and back, with a minutes chart.
- Overtime CalculatorWork out overtime hours and time-and-a-half or double-time pay from your rate and hours.
- CalendarA clean monthly and yearly calendar with week numbers and quick navigation.
- Date CalculatorAdd or subtract days, weeks, months, and years from any date to find a new date.
- Days Between DatesCalculate the exact duration between two dates in days, weeks, months, and business days.
How to use it
- 1
Enter start time
Pick when the period began.
- 2
Enter end time
Pick when it ended.
- 3
Subtract a break
Optionally remove unpaid break minutes.
Perfect for every need
Timesheets & payroll
Total up worked hours from clock-in and clock-out times.
- Shift hours
- Overtime
- Contractor billing
Overnight shifts
Correctly spans midnight when the end time is earlier than the start.
- Night shifts
- On-call windows
Study & focus
Measure how long a session actually lasted.
- Revision blocks
- Deep-work sprints
Frequently asked questions
How do I calculate the hours between two times?
Convert both times to minutes after midnight, subtract the start from the end, then divide by 60. For 8:45 AM to 5:15 PM: 1,035 − 525 = 510 minutes = 8 hours 30 minutes (8.5 hours). Subtract any unpaid break before converting.
How are overnight shifts handled?
If the end time is the same as or earlier than the start time, the calculator assumes the period ends the next day and adds 24 hours — so 22:00 to 06:00 is 8 hours.
Can I subtract a lunch break?
Yes. Enter the unpaid break in minutes and it is subtracted from the total, giving you net worked time.
What formats does the result show?
The duration is shown in hours and minutes, as decimal hours (useful for payroll), and as total minutes.
Can I total a whole week of shifts?
Yes — use the Time Card Calculator to enter clock-in and clock-out times for every day of the week, with overtime and gross pay.