What the Hours Calculator does
The Hours Calculator answers a question that comes up every day: how many hours are there between two times? Enter a start and an end time, take off a lunch or tea break if you like, and it gives the time in hours and minutes, in decimal hours for a timesheet or invoice, and in total minutes. When the end time is earlier than the start, such as a night shift from 10 pm to 6:30 am, it counts the end on the next day. A second mode converts between decimal hours and hours and minutes, which is where most timesheet mistakes happen.
How to use it
- Choose Hours between two times.
- Enter the start time and the end time.
- Type the break in minutes, or leave it empty.
- Read the hours, the decimal hours and the total minutes.
- To convert a figure such as 7.75 or 7:45, choose Convert decimal hours and type it in.
Example
A shift from 9:00 am to 5:30 pm with a 30-minute break is 8 hours 30 minutes from start to end, less 30 minutes, so 8 hours worked. In decimal that is 8.0 hours, or 480 minutes. A night shift from 10:00 pm to 6:30 am with the same break gives 8 hours 30 minutes minus 30 minutes, again 8 hours.
Decimal hours and hours:minutes are not the same
Payroll and billing systems often want hours as a decimal, but a clock shows hours and minutes. The two look alike and are easy to mix up: 7.30 hours is 7 hours 18 minutes, not 7 hours 30 minutes, because 0.30 of an hour is 0.3 × 60 = 18 minutes. To go the other way, divide the minutes by 60: 45 minutes is 0.75 hours and 20 minutes is about 0.33 hours.
Entering 7.30 when you mean 7 hours 30 minutes underpays by 12 minutes every time. Over a month of shifts that adds up, so it is worth converting with care.
For a whole week
To add up several days with breaks and overtime, use the Working Hours Calculator or the Timesheet Calculator, which keep a row for each day and can export a CSV file.
Questions people ask
Is anything I enter sent anywhere?
No. The calculator works entirely in your browser, so the times and numbers you type stay on your device.
How do I calculate hours that pass midnight?
Just enter the times as they are. When the end time is earlier than the start, the calculator treats it as the next day, so 10 pm to 6 am is 8 hours.
How do I turn minutes into decimal hours?
Divide the minutes by 60. For example, 15 minutes is 0.25 hours, 30 minutes is 0.5 hours and 40 minutes is about 0.67 hours.
Can I count a shift longer than 24 hours?
Not with two clock times, since they repeat every day. Use the Time Duration Calculator, which takes a date as well as a time.