keepcalculator

06 Numbers and Powers

Hours Worked Per Day Calculator & Guide

Card No. 06·0847 · Updated · Standard formula, shown below

The calculator on this card is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator works out your total hours worked per day by adding up your start time, end time, and any unpaid break time. You enter the clock-in time, clock-out time, and break duration, and you get back the exact number of hours and minutes you worked. It also shows the result in decimal hours, which is what most payroll systems use.

Formula

The core formula is simple:

Hours worked = (End time – Start time) – Break time

Where:

  • Start time – the time you begin work, in 24-hour format (e.g., 09:00 for 9 AM)
  • End time – the time you finish work, in 24-hour format (e.g., 17:30 for 5:30 PM)
  • Break time – unpaid rest periods, typically 30 or 60 minutes, in minutes

All times are converted to minutes past midnight, then the difference is divided by 60 to get hours. The calculator displays the result in two formats: h:mm (hours and minutes) and decimal hours (e.g., 8.50).

Worked Example

Using the default values: start at 09:00, end at 17:30, break of 30 minutes.

  1. Convert start time to minutes: 9 × 60 + 0 = 540 minutes
  2. Convert end time to minutes: 17 × 60 + 30 = 1050 minutes
  3. Subtract start from end: 1050 – 540 = 510 minutes
  4. Subtract break: 510 – 30 = 480 minutes
  5. Convert to hours: 480 ÷ 60 = 8.00 hours

So the result is 8 hours and 0 minutes, or 8.00 decimal hours. This matches the calculator output.

How to Use the Calculator

Enter your start and end times in 24-hour format (e.g., 14:00 for 2 PM). If you work a night shift that crosses midnight (e.g., 22:00 to 06:00), the calculator will not handle it correctly because the end time is earlier than the start time. For overnight shifts, add 24 hours to the end time manually or split the shift into two parts.

Enter your unpaid break duration in minutes. If you take a paid lunch, enter 0. The calculator subtracts the break from the total time between start and end.

The first output, Hours worked, is shown in h:mm format (e.g., 8:30). The second output, Decimal hours, is the same value in decimal form (e.g., 8.50), which is commonly used for payroll and billing.

When to Use This Calculator

This tool is useful for:

  • Employees – checking that your timesheet matches your actual hours
  • Freelancers and contractors – tracking billable hours for clients
  • Small business owners – calculating payroll for hourly staff
  • Students or interns – logging hours for work-study programs

It is also helpful for planning your day – for example, if you want to work exactly 7.5 hours and know when to leave, you can reverse the calculation.

How to Read the Result

If the result is 8:30 in h:mm format, that means 8 hours and 30 minutes. In decimal hours, that is 8.50 because 30 minutes is half an hour. To convert minutes to decimal, divide by 60: 30 ÷ 60 = 0.50. Similarly, 15 minutes = 0.25, 45 minutes = 0.75.

When you submit timesheets, check whether your employer expects decimal hours or h:mm. Many payroll systems use decimal hours, so 8 hours 30 minutes becomes 8.50. Some systems round to the nearest quarter hour (0.25, 0.50, 0.75), so 8 hours 20 minutes might be recorded as 8.25 or 8.50 depending on the rounding rule.

Common Mistakes and Misconceptions

One common mistake is forgetting to subtract unpaid breaks. If you work from 9 to 5 and take a 30-minute lunch, you have worked 7.5 hours, not 8. Many people also confuse 12-hour and 24-hour time – always use 24-hour format to avoid AM/PM errors.

Another issue is overnight shifts. If you start at 22:00 and end at 06:00, the simple subtraction gives a negative number. In that case, add 24 hours to the end time: (6 + 24) – 22 = 8 hours, then subtract breaks. This calculator does not handle overnight shifts automatically, so you would need to adjust manually.

Finally, be careful with rounding. If you round each day’s hours to the nearest hour, you can lose or gain significant time over a month. Use decimal hours with at least two places for accurate payroll.

Limitations of the Formula

This formula assumes a single continuous work period with one break. It does not account for:

  • Multiple breaks (e.g., two 15-minute breaks)
  • Overnight shifts crossing midnight
  • Overtime rules (e.g., time-and-a-half after 8 hours)
  • Rounding rules specific to your employer or country

For overtime calculations, you would need to subtract the standard hours (e.g., 8) from the total and apply the overtime rate. This calculator only gives the raw hours.

Also note that some jurisdictions have legal limits on maximum working hours per day and mandatory rest breaks. This calculator does not enforce those rules – it simply computes the arithmetic. Always check local labor laws or your employment contract for specific requirements.

Frequently Asked Questions

How do I calculate hours worked with a lunch break?

Subtract the lunch break duration from the total time between start and end. For example, if you work 9:00 to 17:30 (8.5 hours) and take a 30-minute lunch, your hours worked are 8.0. Enter the break time in minutes in the calculator.

What if I work overnight (e.g., 10 PM to 6 AM)?

The calculator will not give a correct result because the end time is earlier than the start time. Add 24 hours to the end time manually: 6 AM + 24 = 30 hours, then subtract the start time (22) = 8 hours, then subtract breaks. Or split the shift into two parts (10 PM–midnight and midnight–6 AM).

Should I use 12-hour or 24-hour time?

Use 24-hour time to avoid AM/PM errors. For example, 2:00 PM is 14:00. If you use 12-hour time, you must add 12 to PM times before calculating.

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 30 minutes = 0.50, 15 minutes = 0.25, 45 minutes = 0.75. The calculator does this automatically.

Does this calculator include overtime?

No, it only calculates total hours worked. To find overtime, subtract your regular hours (e.g., 8) from the total. For example, if you worked 9.5 hours, overtime is 1.5 hours. Overtime pay rates vary by jurisdiction and employer.

What if I take multiple short breaks?

Add up all unpaid break minutes and enter the total as a single number. For example, two 15-minute breaks = 30 minutes. The formula subtracts the total break time.

Related

Formula used
in t | Start time (24h) | hh:mm | 09:00 | 0 | 23:59
in t | End time (24h) | hh:mm | 17:30 | 0 | 23:59
in d | Unpaid break | min | 30 | 0 | 480
out hours | Hours worked | h:mm | ( ( (end_h * 60 + end_m) - (start_h * 60 + start_m) - break_min ) / 60 ) | time
out decimal | Decimal hours | h | ( ( (end_h * 60 + end_m) - (start_h * 60 + start_m) - break_min ) / 60 ) | 2

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.

More cards in this drawer

The whole Numbers and Powers drawer →