Timesheets and invoices need hours as decimals, but clocks run in base 60, so seven hours and forty-five minutes is 7.75 hours rather than 7.45. This calculator handles that conversion, subtracts unpaid breaks, and copes with shifts that run past midnight.
Divide by 60. Fifteen minutes is 0.25, thirty is 0.5, forty-five is 0.75, and twenty minutes is 0.333 recurring.
If the end time is earlier than the start time it adds a day, so 22:00 to 06:00 correctly returns eight hours rather than a negative number.
Unpaid breaks should be. Paid rest breaks should not. Employment rules on which is which vary by country and contract, so check before invoicing.
Calculate each day, then add the decimal hours together. Decimals add cleanly, which is exactly why payroll systems use them instead of hours and minutes.
All free tools · Blog · About · Contact