Hours Calculator
Weekly timesheet
Enter each day you worked. Leave a day empty to skip it. Add an hourly rate to see your gross pay.
How to calculate hours between two times
- Convert to 24-hour time if you use AM and PM: add 12 to any PM hour except 12 PM. 5:30 PM is 17:30.
- Subtract the start from the end. 17:30 minus 09:00 is 8 hours 30 minutes.
- Subtract unpaid breaks. 8:30 minus a 30-minute break is 8 hours.
- If the end is earlier than the start, the shift crosses midnight, so add 24 hours to the end first.
Minutes to decimal hours chart
Many payroll systems use decimal hours. Divide the minutes by 60.
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 0 | 0.00 | 30 | 0.50 |
| 5 | 0.08 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 50 | 0.83 |
| 25 | 0.42 | 55 | 0.92 |
Hours in a day, week, month and year
| Period | Hours |
|---|---|
| 1 day | 24 |
| 1 week | 168 |
| 1 month (average) | 730 |
| 1 year | 8,760 |
| 1 leap year | 8,784 |
| A 40-hour work week, per year (52 weeks) | 2,080 |
12-hour and 24-hour clock
The 12-hour clock uses AM and PM. The 24-hour clock, also called military time, counts from 00:00 to 23:59. To convert, see the military time converter.
Night shifts and overtime
A shift that passes midnight is handled automatically. For overtime, many places count hours above 40 per week, but rules differ by country and employer, so check your contract or local labour law.
Questions
How do I calculate hours between two times? Subtract the start time from the end time. From 9:00 AM to 5:30 PM is 8 hours 30 minutes. If the end time is earlier than the start time, the calculator assumes the shift passes midnight and adds 24 hours, so 10:00 PM to 6:00 AM is 8 hours.
How do I calculate hours worked with a lunch break? Subtract the unpaid break from the total. 9:00 AM to 5:30 PM with a 30-minute break is 8 hours. Enter the break in minutes in the calculator and it does this for you.
How do I convert hours and minutes to decimal hours? Divide the minutes by 60 and add them to the hours. 7 hours 45 minutes is 7 + 45/60 = 7.75 hours. Payroll often uses decimal hours so that hours can be multiplied by the hourly rate.
How do I calculate hours for a night shift? Enter the start time and the end time as usual. When the end is earlier than the start, the calculator counts the shift across midnight. For example, 10:00 PM to 6:30 AM is 8 hours 30 minutes.
How many hours are in a week, a month and a year? A week has 168 hours. An average month has about 730 hours (30.4 days), and a year has 8,760 hours, or 8,784 in a leap year.
How do I calculate weekly hours and pay? Fill in the weekly timesheet with each day's start, end and break. The total is added up for the week, and if you enter an hourly rate you also get the gross pay.
Does this handle 24-hour (military) time? Yes. The time boxes follow your device's setting, and 17:30 is the same as 5:30 PM. For conversions, see the military time converter.
Can I calculate hours between two dates? This tool works on times within a day, or a shift that crosses midnight. For several days, use the weekly timesheet and enter each day separately.