Working Hours Calculator
Enter a start time, an end time and any unpaid break, and the calculator returns the paid time as both an hours and minutes figure and a decimal for payroll. When the end time is at or before the start time it assumes the shift ran past midnight and adds a full day. The break is subtracted from the span, so the total reflects only the hours you are paid for.
How to calculate working hours
- Set the start time using the start time picker.
- Set the end time; if it is earlier than the start it is read as the next day.
- Type the unpaid break in minutes, or leave it at 0 for no break.
- Read the total shown as Hh Mm, with decimal hours and minutes underneath.
- Click Copy to grab the result as text for your timesheet.
Examples
Standard day with a lunch break
09:00 to 17:00, 30 minute break
7h 30m (7.5 hours)
Overnight shift with no break
22:00 to 06:00, 0 minute break
8h 0m (8 hours)
Part shift with a quarter-hour decimal
08:15 to 16:45, 45 minute break
7h 45m (7.75 hours)
Frequently asked questions
Does it handle overnight shifts?
Yes. When the end time is the same as or earlier than the start time, the calculator treats the shift as crossing midnight and adds 24 hours. A shift from 22:00 to 06:00 is read as eight hours, not a negative span, and a note confirms the midnight crossing.
How is the break handled?
The break in minutes is subtracted from the raw span between the two times, so the result counts paid hours only. A 30 minute lunch on an eight hour span leaves 7 hours 30 minutes of paid time.
What is decimal hours and why show it?
Decimal hours expresses the minutes as a fraction of an hour, so 7 hours 30 minutes reads as 7.5 and 7 hours 45 minutes reads as 7.75. Most payroll and invoicing systems expect this decimal form rather than hours and minutes.
What time formats are accepted?
The pickers use 24-hour time such as 09:00 or 17:30. Single digit hours like 9:00 are also valid. The engine reads any H:MM or HH:MM value in range, from 00:00 to 23:59.
What if my break is longer than the shift?
That is rejected with a short error, because the paid time would be negative. Reduce the break or check the start and end times, since a break can never exceed the span it is subtracted from.
Can it add up several days or a whole week?
No. It computes one shift at a time between a single start and end. For a weekly total, calculate each day and sum the decimal hours, which add cleanly because they are plain numbers.
Does it round the minutes?
The hours and minutes figure is exact. Only the decimal hours are rounded, to two places, so 7 hours 20 minutes shows as 7.33 rather than a long repeating decimal.
Are lunch or rest breaks paid or unpaid here?
The break you enter is treated as unpaid and removed from the total. If a break is paid at your workplace, simply leave the break field at 0 so the full span counts.
Is my data stored?
No. Every calculation runs in your browser and nothing is uploaded or saved, so your shift times stay on your device.
Learn more
- Decimal hours for payroll and timesheets
How to convert hours and minutes into decimal hours, why payroll systems need it, and a quick reference for common minute-to-decimal values.
Related tools
Time Duration Calculator
Find the duration between two times of day. Enter a start and end time to get hours and minutes, total minutes and decimal hours, including overnight shifts.
Meeting Cost Calculator
See the real cost of a meeting from attendees, hourly rate and length. Get total cost, cost per minute and cost per person to justify shorter meetings.
Annual Leave Calculator
Calculate accrued annual leave pro rata. Enter your full-year entitlement and the share of the year worked to see accrued and remaining days.
Appointment Letter Generator
Create a formal employee appointment letter in seconds. Fill in role, salary, joining date, probation and notice, then copy, download or print it.
Billable Hours Calculator
Calculate billable hours utilization. Enter total and billable hours to see your utilization rate, non-billable hours and optional revenue.
Cost of Employee Calculator
Work out the true cost of an employee to the employer. Add benefits, payroll tax and extra costs to a base salary for a total cost and multiplier.