Hours & Time Calculator
Hours worked
Enter a start and end time to see the hours.
You may also need
More Calculators toolsHow to use the Hours & Time Calculator
- Enter a start time and an end time. If the end time is earlier than the start, it is counted on the next day.
- Add your unpaid break in minutes, if you had one. The hours worked update straight away, in hours and minutes and in decimal hours.
- For a timesheet, use Add more days to enter up to seven shifts and see the weekly total.
- To find a time before or after another, switch to Add or subtract.
Examples
- 09:00 to 17:00 is 8 h, or 8.00 decimal hours.
- 09:00 to 17:00 with a 30-minute break is 7 h 30 min worked, or 7.50 decimal hours.
- 23:00 to 02:00 is 3 h. The end time falls on the next day.
- Five days of 09:00 to 17:30 with 30-minute breaks is 40 h for the week.
- 09:30 plus 7 h 45 min is 17:15 (5:15 PM).
How hours are calculated
The calculator counts the total minutes from the start time to the end time, then subtracts your unpaid break. When the end time is chronologically earlier than the start time, it automatically assumes the shift ends the next day and adds 24 hours. The same start and end time counts as 0 hours.
Overnight shifts and midnight crossover
If your shift begins in the evening and finishes the following morning, you do not need to split your entry across two days. When the end time is earlier than the start time (such as 22:00 to 06:30), the calculator adds 24 hours to bridge midnight seamlessly, giving 8 h 30 min worked.
Unpaid break deductions
Unpaid lunch and rest breaks are subtracted directly from elapsed shift time. For example, an 8-hour and 30-minute period from 08:30 to 17:00 with a 45-minute unpaid lunch break yields 7 hours and 45 minutes of net worked time.
Decimal hours for timesheets and payroll
Payroll, invoicing and timesheet systems standardly require work duration in decimal hours rather than hours and minutes. Divide the minutes by 60 to convert them:
- 15 minutes = 15 ÷ 60 = 0.25 hours
- 30 minutes = 30 ÷ 60 = 0.50 hours
- 45 minutes = 45 ÷ 60 = 0.75 hours
A shift of 7 h 45 min is therefore 7.75 decimal hours, not 7.45. To calculate gross earnings, multiply your decimal hours by your hourly pay rate: 7.75 hours × $20.00/hour = $155.00.
Minutes to decimal hours conversion chart
Use this reference chart to quickly look up minute intervals converted into decimal hours, rounded to two decimal places:
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 5 min | 0.08 | 35 min | 0.58 |
| 10 min | 0.17 | 40 min | 0.67 |
| 15 min | 0.25 | 45 min | 0.75 |
| 20 min | 0.33 | 50 min | 0.83 |
| 25 min | 0.42 | 55 min | 0.92 |
| 30 min | 0.50 | 60 min | 1.00 |
Things it doesn’t do
Times are plain clock times with no dates or time zones, so a shift that crosses a daylight-saving change is counted as if the clock did not move. Each shift can be up to 24 hours long. For pay, overtime rules vary by country and employer, so check your employment agreement. For measuring calendar duration across days or weeks, use the Date Calculator.
Frequently asked questions
How do I calculate hours worked between two times?
Subtract the start time from the end time, then subtract any unpaid break. For 08:45 to 17:15 with a 45-minute break: 8 h 30 min minus 45 min is 7 h 45 min, or 7.75 decimal hours.
What if my shift goes past midnight?
Enter the times as they are, for example 23:00 to 02:00. When the end time is earlier than the start time, it is automatically treated as the next day, giving 3 hours.
Why do payroll systems use decimal hours instead of minutes?
Payroll software calculates wages by multiplying hours by your hourly pay rate. Because there are 60 minutes in an hour, 30 minutes is 0.50 hours, 15 minutes is 0.25 hours, and 45 minutes is 0.75 hours. Decimal hours ensure accurate mathematical calculation of pay.
Can I use 12-hour times with AM and PM?
Yes. The time fields follow your device’s settings, showing AM and PM if your device uses a 12-hour clock. The calculation result is identical whether you use 12-hour or 24-hour time.
How do I total my hours for the week?
Select Add more days and enter each shift, up to seven. Each day displays its own hours, and the result summary shows your weekly total in both hours and minutes and decimal hours. Days left blank are skipped.
Are my times saved anywhere?
No. Everything is calculated in your browser and nothing is sent to a server or stored. Reloading the page clears the times.
Newsletter
Get new tools by email
Occasional emails when we add useful tools or improve existing ones. Optional: every tool stays free without it.
Last updated