Productivity & Time Management
How to Calculate Working Hours: Formula, Breaks and Examples
Learn how to calculate working hours using start time, end time, and break duration. Understand the working hours formula with simple examples.
Published on :- 05 november 2026
How Do You Calculate Your Actual Working Hours?
Knowing how many hours you have actually worked is useful when filling out a timesheet, checking your daily schedule, or keeping track of your work time. The calculation depends on when you start, when you finish, and how much time you spend on breaks.
For example, suppose you arrive at work at 8:30 AM and leave at 5:30 PM. You spend 1 hour on lunch and other unpaid break time. Although you were at work for 9 hours, your actual working time is 8 hours.
The same method works for office jobs, remote work, and regular shifts. The important thing is to count the time you actually spend working and exclude any unpaid breaks that should not be included in your work total.
How to Calculate Working Hours With Lunch Breaks
If your workday includes a lunch break, subtract the unpaid break time from the total time between your starting and finishing hours. This gives you the actual hours worked.
For example, if your shift starts at 9:00 AM and ends at 6:00 PM, the total time between these two times is 9 hours. If you take a 1-hour unpaid lunch break, your actual working time is 8 hours.
You can use this simple formula:
Actual Working Hours = End Time − Start Time − Unpaid Break Duration
Remember to subtract only the breaks that are unpaid according to your workplace policy. If you take multiple unpaid breaks, add their durations together before subtracting them from your total shift time.
How to Calculate Working Hours in Excel
Excel can help you calculate daily working hours without manually counting the time between shifts. You can enter your start time, end time, and break duration in separate columns, then use a formula to calculate the total hours worked.
For example, set up your spreadsheet with these columns:
| Start Time | End Time | Break | Total Hours |
|---|---|---|---|
| 9:00 AM | 5:30 PM | 1 hour | 7.5 hours |
If the start time is in cell A2, the end time is in B2, and the break duration in hours is in C2, use this formula:
=((B2-A2)*24)-C2
Format the result cell as a number to display decimal hours. If your shift crosses midnight, use a formula that accounts for the date change, such as =((B2-A2)+(B2<A2))*24-C2.
How Many Hours Did I Work? Examples
If you want to know how many hours you worked in a day, compare your start and end times and subtract any unpaid breaks. Here are a few common examples:
| Start Time | End Time | Break | Hours Worked |
|---|---|---|---|
| 8:00 AM | 4:00 PM | 30 min | 7.5 hours |
| 9:00 AM | 6:00 PM | 1 hour | 8 hours |
| 7:30 AM | 4:30 PM | 1 hour | 8 hours |
Calculating work hours manually is easy for a single shift, but it can take more time when you have multiple shifts, different break durations, or overnight working hours.
To make the calculation easier, try our Work Hours Calculator. Enter your start time, end time, and break duration to calculate your total working hours. You can also add multiple shifts and calculate daily or weekly work time.
How to Calculate Employee Working Hours
Employers and managers can calculate employee working hours by recording each employee's starting time, finishing time, and unpaid breaks. The total hours worked are then calculated for each day and added together for the weekly total.
For example, if an employee works 8 hours per day for 5 days, their total weekly working time is 40 hours. If their daily schedule changes, calculate each day's actual working time separately before adding the hours.
Keeping accurate work-hour records can help businesses prepare timesheets, review employee schedules, and calculate payable working time. Always follow the applicable workplace policies and local labour rules when recording breaks and working hours.
Frequently Asked Questions About Working Hours
1. How do I calculate my working hours per day?
Subtract your starting time from your finishing time, then deduct any unpaid breaks. The remaining time is your actual working time for the day.
2. Does a lunch break count as working hours?
It depends on your workplace policy and local labour laws. Unpaid lunch breaks are generally excluded from total working hours, while paid breaks may be included.
3. How do I calculate weekly working hours?
Calculate the actual working time for each day after subtracting unpaid breaks. Add the daily totals together to find your total weekly hours.
4. Can I calculate work hours for overnight shifts?
Yes. For an overnight shift, calculate the time from the starting time until midnight and add the time from midnight to the finishing time. Remember to subtract any unpaid breaks.
