Home › Time & Date Calculators › Hours Calculator
Enter a start and end time, take off your breaks and see the hours worked, with pay if you like.
How the calculation works
Enter your start time, end time and unpaid break. If the end time is earlier than the start time, the shift is treated as an overnight shift. Add the days worked and an hourly rate to get totals and pay.
Formula used
Hours = (end time − start time − break) ÷ 60
Example
9:00 to 17:30 with a 30 minute break is 8 hours, or 40 hours over 5 days.
About working hours
Calculating a shift
Enter your start and end times and any unpaid break, and the calculator gives the hours worked in hours and minutes and as a decimal. Overnight shifts are handled automatically when the end time is earlier than the start.
Decimal hours
Payroll often needs decimal hours, where 7 hours 30 minutes is 7.5. The calculator shows both so you can enter the right figure on a timesheet.
Weekly totals and pay
Enter the number of days and an optional hourly rate to see total hours and total pay. The donut shows how much of the shift is paid time and how much is break.
Overtime and rules
Rules for overtime, breaks and rounding differ by employer and country. Use the totals as a guide and check your contract.
Dates and time
Date and time questions rarely come alone. If you also need to count days, add hours or work out an age, the Time Calculator, Date Calculator and Age Calculator will save you some time.
Frequently asked questions
Does it work for night shifts?
Yes. An end time earlier than the start time is counted as the next day.
What is a decimal hour?
7.5 hours means 7 hours 30 minutes. Payroll systems often use decimals.
Results are estimates for general information only and are not professional financial, medical or legal advice.
Related calculators
📅
Find the days between two dates, or add and subtract years, months, weeks and days from a date.
📅
Find your exact age in years, months and days, and the days until your next birthday.
💰
Calculate your new pay after a raise given as a percentage or an amount, in hourly, daily, weekly…
💰
Estimate how much you could have saved at retirement and the monthly income it could provide.
📐
Find the percentage increase or decrease between an old and a new value.