
Hours Calculator
Time worked between two times minus breaks, in hours & decimal hours.
Overnight shifts (end before start) are handled automatically.
Total time worked
8h 0m
8.00 decimal hours
Decimal hours
8.00
Total minutes
480
Break
30 min
AI Breakdown & Smart Takeaway
Plain-English insight on your numbers
Get a personalized explanation of what these results mean — and how to improve them.
How the Hours Calculator works
The Hours Calculator computes the total time worked between a start time and end time, automatically subtracting any break periods, and delivers your result in both standard hours-and-minutes format and decimal hours — the format most payroll systems actually use. It's ideal for employees filling out timesheets, freelancers billing by the hour, and managers verifying time cards before running payroll.
At its core, the calculator converts your start and end times into a common unit (minutes since midnight), subtracts the start from the end to get raw elapsed minutes, then deducts any break time you specify. The remaining minutes are your net work duration. This two-step process — gross duration minus breaks — mirrors exactly how HR software and payroll platforms calculate compensable time under standards like the US Fair Labor Standards Act (FLSA), making the output directly usable in official records.
The conversion to decimal hours is where many people make costly manual errors. A result of 7 hours and 45 minutes is not 7.45 hours — it is 7.75 hours, because each minute equals 1/60 of an hour, not 1/100. The calculator performs this conversion automatically by dividing total net minutes by 60. When you multiply decimal hours by an hourly wage, even a small rounding mistake (say, entering 7.45 instead of 7.75) translates directly into underpayment or overpayment across every pay period.
Break deduction deserves careful attention. Unpaid breaks — typically meal periods of 30 minutes or more in the US — must be excluded from compensable work hours, while paid short rest breaks (usually under 20 minutes) generally remain in the total. If you work a shift spanning midnight, the calculator handles overnight durations correctly by recognizing that an end time earlier than a start time implies the next calendar day, preventing the negative-duration errors that trip up manual timesheet calculations.
For anyone managing multiple shifts or building a weekly timesheet, the best practice is to calculate each day's net hours separately, then sum the daily decimal values. Adding decimal hours is straightforward arithmetic, whereas adding mixed hours-and-minutes columns invites conversion mistakes. Recording daily totals in decimal form from the start keeps your weekly, bi-weekly, or monthly payroll totals clean and audit-ready.
Formula
Hours = (end − start − break) in minutes ÷ 60
Pro tips
- Decimal hours (e.g. 8.50) make payroll math easy.
Key terms
- Decimal Hours
- — Work duration expressed as a single number where fractional parts represent portions of a full 60-minute hour (e.g., 7 hours 30 minutes = 7.50 decimal hours), the format required by most payroll and billing systems.
- Compensable Time
- — The portion of an employee's shift for which they are legally entitled to pay, excluding unpaid meal breaks and any other non-work periods defined by labor law or employer policy.
- Time Card
- — A record — physical or digital — documenting an employee's daily clock-in and clock-out times, used to verify hours worked before payroll is processed.
- Timesheet
- — A summary document, typically spanning a week or pay period, that aggregates daily time card entries into total hours worked for payroll or client-billing purposes.
- Overnight Shift
- — A work period that crosses midnight, requiring the end time on the following calendar day to be used when calculating total duration to avoid a negative or zero result.
- Break Deduction
- — The subtraction of unpaid rest or meal periods from gross elapsed time to arrive at the net compensable hours actually worked during a shift.



