Hours Calculator for Hours and Minutes Between Two Times
Enter the time in and out for each day, plus any unpaid break. Leave a day empty if you did not work. The total updates as you type.
| Day | Time in | Time out | Unpaid break | Hours |
|---|---|---|---|---|
| Mon | min | 7:30 | ||
| Tue | min | 7:30 | ||
| Wed | min | 7:30 | ||
| Thu | min | 7:30 | ||
| Fri | min | 7:30 | ||
| Sat | min | - | ||
| Sun | min | - |
Rounding, overtime and pay
Rounding is applied to each clock-in and clock-out time, then the break is subtracted. The 7-minute rule is 15 minutes, to the nearest: 7 minutes or less rounds down, 8 or more rounds up.
Enter the limits your employer or local law uses. Leave both empty for no overtime. Daily overtime is taken first, then the weekly limit is applied to the remaining regular hours.
Optional. Adds regular pay, overtime pay and a total. Use any currency; the calculator does not convert.
Add worker details (optional)
Printed on the timesheet only. Nothing is saved or sent, and nothing is added to the page address.
- Regular hours
- 37:30
- Overtime hours
- 0:00
Estimate for checking a timesheet. Your employer's payroll rules and local law decide what is paid.
Find the hours and minutes between a start time and an end time, with breaks, for one day or a whole week. · Rounding rule checked against 29 CFR § 785.48 (US Department of Labor)
Rounding rule source-checked. · By Abdul Rafay · Last verified: 8 November 2026
The hours between two times are the end time minus the start time, minus any unpaid break: 9:00 to 17:30 is 8 hours 30 minutes. A shift that crosses midnight is counted correctly, and every day feeds a weekly total.
Example: 8:45 to 17:20 with a 45 minute break is 7 hours 50 minutes.
How the hours between two times are counted
The calculator turns each time into minutes since midnight and subtracts. From 9:00 to 17:30 that is 540 and 1,050 minutes, so 510 minutes, or 8 hours 30 minutes.
If the end time is earlier than the start, the shift runs past midnight and 24 hours are added to the end. From 22:00 to 6:00 that is 1,320 and 360 + 1,440 minutes, so 480 minutes, or 8 hours.
Unpaid breaks are taken off the result. To turn the answer into decimal hours, divide the minutes by 60: 7 hours 50 minutes is 7.83 hours.
Hours between common start and end times
These rows show typical start and end times. Each one is calculated by the same engine as the form above, with no rounding. For other times, enter them in the form above.
| Start and end | Hours and minutes | Decimal hours |
|---|---|---|
| 2:30 AM to 10:30 AM | 8:00 | 8.00 |
| 12:30 PM to 8:00 PM | 7:30 | 7.50 |
| 2:00 PM to 7:00 AM | 17:00 | 17.00 |
| 5:00 PM to 9:00 PM | 4:00 | 4.00 |
| 8:30 AM to 3:30 PM | 7:00 | 7.00 |
| 10:00 AM to 2:00 PM | 4:00 | 4.00 |
| 8:45 AM to 5:20 PM with a 45 minute break | 7:50 | 7.83 |
| 10:00 PM to 6:00 AM | 8:00 | 8.00 |
The time fields follow your device. A 12-hour clock shows 2:30 PM, a 24-hour clock shows 14:30, and both mean the same time. If the end is earlier than the start, the shift is counted as running past midnight.
Once you have the hours, two more calculators cover what comes next.
- Overtime Pay Calculator for hours above a daily or weekly limit and the pay for them
- 7-Minute Rule Calculator for rounding clock times to 15 minutes
How rounding changes your hours
Many employers round clock times to the nearest 5, 6 (a tenth of an hour), 10 or 15 minutes. The table shows how a clock-in time of 8:00 moves with the common rules.
| Rule | Clock-in at 8:07 becomes | Clock-in at 8:08 becomes |
|---|---|---|
| Nearest 5 minutes | 8:05 | 8:10 |
| Nearest 6 minutes (tenth of an hour) | 8:06 | 8:06 |
| Nearest 15 minutes (7-minute rule) | 8:00 | 8:15 |
| Always up to 15 minutes | 8:15 | 8:15 |
| Always down to 15 minutes | 8:00 | 8:00 |
The rules behind the total
- 01
Time in, time out and breaks
For each day the calculator takes the time out minus the time in, then subtracts the unpaid break. A break that is longer than the shift never produces negative time.
- 02
Overnight shifts
If the time out is earlier than the time in, the shift runs past midnight and the calculator adds 24 hours. A shift from 22:00 to 06:00 with a 30 minute break counts as 7 hours 30 minutes.
- 03
Rounding clock times
Rounding is applied to the clock-in and clock-out times before the break is taken off. In the United States, rounding to the nearest 5 minutes, tenth or quarter of an hour is accepted, as long as it does not shortchange employees over time (29 CFR § 785.48(b)).
- 04
Daily and weekly overtime
You enter the limits, because overtime rules differ by country, state and contract. Hours above the daily limit are overtime. The weekly limit is then applied to the remaining regular hours, so the same hour is never counted twice.
- 05
Decimal hours
Payroll often needs hours as a decimal: 7 hours 30 minutes is 7.50. The result shows both forms. Decimal hours are rounded to two places.
- 06
Pay
With an hourly rate, regular hours are paid at the rate and overtime hours at the rate times your overtime multiplier. The calculator does not subtract tax or other deductions.
Time card questions
How many hours are between two times?
Subtract the start from the end. If the end is earlier than the start, the time runs past midnight, so add 24 hours first. For 9:00 to 17:30 that is 8 hours 30 minutes.
How do I calculate hours worked with a lunch break?
Subtract the time in from the time out, then take off the unpaid break. For 9:00 to 17:00 with a 30 minute break that is 8 hours minus 30 minutes, or 7 hours 30 minutes.
What is the 7-minute rule?
It rounds clock times to the nearest 15 minutes. Up to 7 minutes past a quarter hour rounds down, and 8 minutes or more rounds up. Pick 15 minutes and nearest in the settings to use it.
How do I convert 7 hours 30 minutes to decimal?
Divide the minutes by 60. 30 minutes is 0.5, so 7 hours 30 minutes is 7.50 hours. The result shows the decimal total next to the hours and minutes.
Does it work for night shifts?
Yes. If the time out is earlier than the time in, the calculator treats it as the next day. A shift from 22:00 to 06:00 is 8 hours before the break.
Which overtime rules does it use?
None built in. You enter the daily and weekly limits and the multiplier, because the rules differ by country, state and contract. Leave them empty to see total hours only.
Is my data saved?
Nothing is sent or stored on a server. The times stay in your browser and in the page address, so you can bookmark or share the filled-in week.