Home / Articles / How to calculate hours worked

How to Calculate Hours Worked

Subtract your start time from your end time, remove any unpaid break minutes, and divide leftover minutes by 60 to get a decimal. Do that for each day, then add the daily totals for your weekly figure.

Skip the manual subtraction

Enter your clock times and get net hours instantly.

To calculate hours worked, subtract the start time from the end time to get gross hours, deduct any unpaid break time, and convert remaining minutes to a decimal by dividing by 60. For a full week, repeat for each day and sum the results.

The step-by-step formula

Use this sequence for any single shift:

Worked example: a five-day week

DayInOutBreakNet hours
Monday8:0017:0030 min8.50
Tuesday8:1517:0030 min8.25
Wednesday8:0016:3030 min8.00
Thursday8:0017:3030 min9.00
Friday8:0016:0030 min7.50
Total41.25

This employee worked 41.25 hours, so 1.25 hours qualify for overtime if their employer follows the federal 40-hour threshold.

Using 24-hour time prevents mistakes

When you subtract in 12-hour format, a 1:00 PM end time looks like "1", which is smaller than an 8:00 AM start time. Converting to 24-hour notation first (8:00 to 13:00) avoids that error entirely.

Multiply by your hourly rate to get gross pay

Once you have decimal hours, multiply by the regular rate. For 41.25 hours at $18/hr: the first 40 hours = $720, then 1.25 overtime hours at 1.5x ($27/hr) = $33.75. Total gross pay = $753.75. See how to calculate overtime for the full breakdown.

Overnight shifts

If a shift crosses midnight (e.g., 22:00 to 06:00), add 24 hours to the end time: 06:00 + 24 = 30:00. Then subtract: 30:00 minus 22:00 = 8 hours. Most digital time card tools handle this automatically.

Minutes-to-decimal quick reference

The most common source of timesheet errors is misreading minutes as decimal fractions. Use this table when you do not have a calculator handy:

Minutes workedAdd this decimalExample: 8 hrs + X min
5 min0.088.08 hours
10 min0.178.17 hours
15 min0.258.25 hours
20 min0.338.33 hours
25 min0.428.42 hours
30 min0.508.50 hours
45 min0.758.75 hours
50 min0.838.83 hours
55 min0.928.92 hours

Common rounding rules employers use

Some employers round clock-in and clock-out times to the nearest quarter hour (every 15 minutes) rather than tracking exact minutes. Under federal guidance, this practice is acceptable only if the rounding is neutral over time and does not consistently favor the employer. If your employer rounds to the nearest 15 minutes, punch times from :08 to :22 round to :15, times from :23 to :37 round to :30, and so on. Always check your pay stub to verify that rounding has not systematically reduced your pay. This is not legal advice; consult a qualified employment attorney or the Department of Labor for guidance specific to your situation.

What counts as "hours worked" under the law

Under the Fair Labor Standards Act (FLSA), "hours worked" includes all time an employee is required to be on duty or on the employer's premises, and all time the employee is permitted to work whether or not required to do so. This includes time spent at the start of a shift waiting for a machine to warm up, time spent on mandatory training, and short rest breaks of 20 minutes or less. Meal periods of 30 minutes or more where the employee is completely relieved of duties do not count as hours worked. Travel time rules depend on the type of travel. If you have questions about whether specific time counts, the Department of Labor's Wage and Hour Division is the authoritative source, not a summary on a calculator site.

Tracking hours accurately avoids payroll disputes

Keeping precise records protects both employer and employee. Employees should retain their own copies of timesheets or time card printouts each week. If a discrepancy appears on a pay stub, having your own records makes resolving the dispute straightforward. Employers are required by the FLSA to retain payroll records for at least three years. Using a digital time card tool, rather than paper or memory, creates a time-stamped record for both parties. Use the time card calculator to log daily hours, then print or screenshot the weekly summary for your records. See also how to calculate a timesheet with lunch breaks for guidance on properly deducting meal periods.

Log the whole week at once

Daily totals roll up into a weekly figure automatically.

Related reading

Good to know

FAQs

How do I calculate hours worked from a timesheet?

Subtract the start time from the end time in 24-hour format, deduct any unpaid break time, then divide leftover minutes by 60 to get a decimal. Add each day's net hours for the weekly total. For example, 8:00 to 17:30 minus a 30-minute lunch = 9.0 hours.

What is the formula for calculating hours and minutes worked?

The formula is: (End time - Start time) - Unpaid breaks = Gross time. Then convert minutes to a decimal (minutes / 60) and add that to the whole hours. So 8 hours 45 minutes becomes 8 + (45/60) = 8.75 hours.

How do you calculate hours worked between two times?

Convert both times to 24-hour format, subtract the earlier from the later, then handle any minute conversion. If the shift crosses midnight, add 24 to the end time before subtracting. The result in decimal hours is what you multiply by your pay rate.

How do I calculate hours worked per week?

Calculate net hours for each day individually (accounting for breaks), then add all five daily totals. Hours beyond 40 in the week typically qualify as overtime. A time card calculator automates this so you do not have to do the arithmetic by hand.

Jessica Martinez
About the author
Jessica Martinez
Contributing Writer, Business & Finance, Encore Editorial

Before she covered payroll math, Jessica spent six years reading consumer loan files as a credit analyst, work that rewards catching a number that does not add up. That habit shows up here in the small stuff: why 24-hour notation prevents a subtraction error a 12-hour clock invites, and why a timesheet rounded to the nearest quarter hour can quietly favor one side of the ledger over a year.