Time Clock Calculator – Hours Worked & Minutes
- Total minutes worked
- minutes
- Result
- Start hour (24h)
- 9 hours
- You entered
- Start minute
- 0 minutes
- You entered
This time clock calculator determines the total hours and minutes you worked during a single shift on the same day. It subtracts an unpaid break from the time between your start and end times, giving you a precise figure for payroll or personal record-keeping.
You enter the start hour and minute, the end hour and minute (both in 24-hour format), and the break duration in minutes. The calculator then returns the total hours worked (rounded to two decimal places) and the total minutes worked (rounded to the nearest whole minute). This is ideal for hourly employees, managers, or payroll clerks who need a quick and accurate calculation.
Formula
Total minutes worked = (end hour × 60 + end minute) − (start hour × 60 + start minute) − break minutes.
Total hours worked = total minutes / 60.
Break duration is in minutes.
Worked Example
The calculator opens with these default values; each step below is computed from the formula.
| Step | Working | Result |
|---|---|---|
| 1 | Start hour (24h) | 9 hours |
| 2 | Start minute | 0 minutes |
| 3 | End hour (24h) | 17 hours |
| 4 | End minute | 30 minutes |
| 5 | Break duration | 30 minutes |
| 6 | Total hours worked = round(((17*60 + 30) – (9*60 + 0) – 30) / 60, 2) | 8.00 hours |
| 7 | Total minutes worked = round(((17*60 + 30) – (9*60 + 0) – 30), 0) | 480 minutes |
Total hours worked for start hour 6–12 (end 17:30, break 30 min)
| Start hour (24h) (hours) | Total hours worked (hours) | Total minutes worked (minutes) |
|---|---|---|
| 6 | 11.00 | 660 |
| 7 | 10.00 | 600 |
| 8 | 9.00 | 540 |
| 9 | 8.00 | 480 |
| 10 | 7.00 | 420 |
| 11 | 6.00 | 360 |
| 12 | 5.00 | 300 |
How to read this table
The reference tables show how the total hours and minutes change when either the start hour or the end hour varies, while the other inputs are fixed. For example, in the first table, the end time is fixed at 17:30 and the break is 30 minutes. Reading across the row where the start hour is 9, you see a total of 8.00 hours and 480 minutes. If the start hour were 8, the total would increase to 9.00 hours and 540 minutes.
In the second table, the start time is fixed at 9:00 and the break is 30 minutes. For an end hour of 17, the total is 8.00 hours and 480 minutes. Changing the end hour to 18 raises the total to 9.00 hours and 540 minutes. These tables help you quickly estimate totals without entering data into the calculator.
Total hours worked for end hour 14–20 (start 9:00, break 30 min)
| End hour (24h) (hours) | Total hours worked (hours) | Total minutes worked (minutes) |
|---|---|---|
| 14 | 5.00 | 300 |
| 15 | 6.00 | 360 |
| 16 | 7.00 | 420 |
| 17 | 8.00 | 480 |
| 18 | 9.00 | 540 |
| 19 | 10.00 | 600 |
| 20 | 11.00 | 660 |
When to Use This Calculator
Use this calculator whenever you need to compute the total time worked for a single shift that starts and ends on the same calendar day. It is especially useful for hourly employees who track their own hours, managers who verify timesheets, or payroll clerks who process time records. The calculator handles the arithmetic of converting start and end times to minutes, subtracting the break, and converting back to hours.
Because the formula assumes no overnight crossing, it is best for day shifts that begin in the morning and end in the afternoon or evening. If your shift crosses midnight, you would need a different method. The calculator also requires a fixed break duration, so it works well when the unpaid break is consistent, such as a 30-minute lunch. For variable breaks, you would need to calculate each segment separately.
How to Read the Result
The result shows two values: total hours worked and total minutes worked. The decimal hours (8.00) can be used directly in payroll systems that accept decimal hours.
This is useful if you need to report time in minutes rather than hours. Both values represent the same amount of time; they are just different units. For most shifts, these two values will be consistent, but rounding differences can occur in rare cases.
Method by Hand
- Convert the start time to minutes since midnight. For example, 9:00 becomes 9 × 60 + 0 = 540 minutes.
- Convert the end time to minutes since midnight.
- Divide by 60 to get hours: 480 ÷ 60 = 8.00 hours.
Always use 24-hour format to avoid errors.
Common Mistakes
One frequent error is using 12-hour time without converting to 24-hour format. For example, entering 5 for 5:00 PM instead of 17 will produce a negative or incorrect result. Always convert PM times by adding 12 to the hour.
Another mistake is forgetting to subtract the break. The formula explicitly subtracts break minutes, so omitting this step overestimates the total. Also, be careful with rounding: the calculator rounds hours to two decimals and minutes to the nearest whole number. If you round intermediate steps, you may get a slightly different final value.
Finally, ensure the break duration is in minutes, not hours.
Limits of the Formula
This formula works only for shifts that start and end on the same day. For overnight shifts, you would need to add 24 hours to the end time before calculating.
The formula also assumes a single, fixed break. If you take multiple breaks or breaks of varying lengths, you must sum them and enter the total break minutes. Additionally, the formula does not account for overtime rules, rounding policies, or state-specific labor laws. It provides a raw duration, not a legally binding payroll figure. Always verify with your employer’s timekeeping system.
Frequently Asked Questions
Why do I need to use 24-hour format?
Using 24-hour format eliminates confusion between AM and PM. For example, 5:00 PM is entered as 17, not 5. This ensures the calculator correctly computes the duration. If you enter 5 instead of 17, the end time appears earlier than the start, leading to a negative result.
What if my break is longer than 30 minutes?
Simply enter the total break duration in minutes. The calculator subtracts that amount from the total time between start and end. There is no limit on the break length, as long as it is less than the total shift duration.
How is the result rounded?
Total hours are rounded to two decimal places, which is standard for payroll. Total minutes are rounded to the nearest whole minute. In some cases, rounding may cause a slight difference between the two values, but both are accurate representations.
Can I use this for overnight shifts?
No, this calculator is designed for shifts that start and end on the same day. For overnight shifts, you would need to adjust the end time by adding 24 hours.
Method
For each sweep value, compute total minutes = (end_h*60+end_m) – (start_h*60+start_m) – break_m, then divide by 60 and round to 2 decimals.
Formula used
in start_h | Start hour (24h) | hours | 9 | 0 in start_m | Start minute | minutes | 0 | 0 in end_h | End hour (24h) | hours | 17 | 0 in end_m | End minute | minutes | 30 | 0 in break_m | Break duration | minutes | 30 | 0 out total_h | Total hours worked | hours | round(((end_h*60 + end_m) - (start_h*60 + start_m) - break_m) / 60, 2) | 2 out total_min | Total minutes worked | minutes | round(((end_h*60 + end_m) - (start_h*60 + start_m) - break_m), 0) | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.