Hours Calculator
What This Tool Does
This hours calculator finds the total time between a start time and an end time, with an option to deduct breaks. It’s built for anyone who needs to turn “I started at 9:15 and finished at 5:40” into a clean number of hours and minutes β or decimal hours for payroll.
You can also use thisΒ Hike Calculator.
How It’s Calculated
The calculator takes your start and end time, finds the difference in minutes, then converts that into hours and minutes (and decimal hours, if needed).
Converting minutes to decimal hours: divide the minutes by 60.
Worked example: You clock in at 9:10 and clock out at 5:45, with a 30-minute lunch break.
- Raw time span: 9:10 to 5:45 = 8 hours 35 minutes
- Subtract the 30-minute break: 8 hours 5 minutes
- Convert the 5 minutes to decimal: 5 Γ· 60 = 0.08
- Total: 8.08 decimal hours (or 8:05 in hh:mm)
That decimal figure is what most payroll systems need when multiplying by an hourly rate.
Edge Cases and Special Rules
- Overnight shifts: If your end time is earlier than your start time (say, 10:00 pm to 6:00 am), the calculator needs to treat the end time as falling on the next day, not the same day.
- 12-hour vs. 24-hour input: Entering “9:00” without specifying am or pm is ambiguous on a 12-hour clock β most tools default to a set convention, so it’s worth double-checking which one applies before relying on the result.
- Rounding rules: Some workplaces round clock-in and clock-out times to the nearest 5, 6, or 15 minutes rather than using the exact time. This can shift your total by a few minutes compared to an unrounded calculation.
- Multiple breaks: If you take more than one break in a shift, each needs to be deducted separately, or entered as a combined total, to avoid overcounting your working time.
Decimal Hours vs. Clock Time Formats
Payroll systems generally prefer decimal hours (like 8.08) because they multiply cleanly against an hourly rate. Timesheets and time cards, on the other hand, are often easier to read in hh:mm format (like 8:05), since that matches how people naturally think about a workday. Neither is “more correct” β they’re just suited to different steps in the process, which is why this tool shows both.
Who Uses This
- Hourly employees checking their own worked time before payday
- Freelancers and contractors calculating billable hours for an invoice
- Payroll or HR staff cross-checking timesheet totals
- Shift workers, including nurses and other staff on irregular schedules, tracking hours across a roster
- Students or part-time workers confirming weekly totals against a contracted limit
Hours Calculator vs. Date Calculator
These solve different problems. This tool measures the time span within a day (or across a single shift), down to hours and minutes. A date calculator measures the span between calendar dates, typically in days, weeks, or months, without factoring in specific clock times. If you need “how many days until,” that’s a separate calculation from “how many hours did I work.”
FAQ
How do I convert minutes to decimal hours?
Divide the minutes by 60 β for example, 45 minutes is 45 Γ· 60 = 0.75 hours.
Does this handle shifts that cross midnight?
Yes, as long as the end time is correctly recognized as falling on the next day.
Can I deduct more than one break?
Yes β enter breaks as a combined total in minutes, or account for each one separately before calculating.
Is this the same as a weekly hours calculator?
Not quite β this tool calculates a single time span, while a weekly version adds multiple days together for a total.
Does it work for payroll and invoicing both?
Yes, both uses just depend on whether you need decimal hours or clock-time format for your total.
Try It Above
Enter your start time, end time, and any break to deduct in the calculator above to get an instant total. Results are for general calculation purposes only β always confirm figures against your official timesheet or payroll system before submitting.