Work & Payroll

How to Calculate Work Hours: A Complete Guide

Learn how to accurately calculate work hours for timesheets, payroll, and overtime. Step-by-step guide with examples.

Mar 01, 2026 8 min read

Whether you work hourly, manage a team, or run your own business, knowing how to calculate work hours accurately is essential. Mistakes on timesheets lead to payroll errors, compliance issues, and frustrated employees. This guide walks you through every method — from manual math to using our free work hours calculator — so you never get it wrong again.

Why Accurate Work Hours Matter

Work hours are the foundation of payroll. Every dollar on a paycheck traces back to how many hours an employee worked and at what rate. When hours are miscalculated, paychecks are wrong. Underpaying employees violates federal labor laws under the Fair Labor Standards Act (FLSA), while overpaying eats into business margins.

Beyond payroll, accurate time tracking helps with project budgeting, capacity planning, and overtime management. If you don't know how many hours your team actually works, you can't forecast costs or staff appropriately.

The Basic Formula for Calculating Work Hours

The simplest way to calculate work hours is to find the difference between your start time and end time, then subtract any unpaid breaks:

Total Hours = End Time − Start Time − Break Time

For example, if you clock in at 8:00 AM and clock out at 5:00 PM with a 1-hour lunch break:

  • 5:00 PM − 8:00 AM = 9 hours
  • 9 hours − 1 hour break = 8 hours worked

That's straightforward when times are on the hour. But what happens when you clock in at 8:17 AM and leave at 5:03 PM? That's where things get tricky.

Handling Minutes: Converting to Decimal Hours

Payroll systems typically work in decimal hours rather than hours and minutes. To convert, divide the minutes by 60:

  • 15 minutes = 15 ÷ 60 = 0.25 hours
  • 30 minutes = 30 ÷ 60 = 0.50 hours
  • 45 minutes = 45 ÷ 60 = 0.75 hours

So if you worked from 8:17 AM to 5:03 PM with a 30-minute lunch:

  1. Convert start time: 8 hours + (17 ÷ 60) = 8.283 hours
  2. Convert end time: 17 hours + (3 ÷ 60) = 17.05 hours (using 24-hour format)
  3. Subtract: 17.05 − 8.283 = 8.767 hours
  4. Subtract break: 8.767 − 0.5 = 8.267 hours (8 hours, 16 minutes)

Our time to decimal converter handles this conversion instantly, eliminating rounding errors.

Calculating Weekly Work Hours

To get your total weekly hours, calculate each day individually, then sum them up. Here's a realistic example:

Day Clock In Clock Out Break Hours Worked
Monday8:00 AM5:00 PM1:008.00
Tuesday7:45 AM4:30 PM0:458.00
Wednesday8:15 AM5:15 PM1:008.00
Thursday8:00 AM6:30 PM1:009.50
Friday8:00 AM5:00 PM1:008.00
Weekly Total41.50

This employee worked 41.5 hours. Since that's over 40 hours, 1.5 hours qualify as overtime under federal law. Use our time card calculator to do this for an entire pay period automatically.

Rounding Rules for Work Hours

Many employers round clock-in and clock-out times to the nearest increment. The U.S. Department of Labor permits rounding to the nearest 5, 6, 10, or 15 minutes, as long as the rounding is neutral over time (doesn't consistently favor the employer).

Common rounding increments:

  • Nearest 15 minutes (quarter-hour): 8:07 AM rounds to 8:00 AM; 8:08 AM rounds to 8:15 AM
  • Nearest 6 minutes (tenth of an hour): 8:02 AM rounds to 8:00 AM; 8:04 AM rounds to 8:06 AM
  • Nearest 5 minutes: 8:02 AM rounds to 8:00 AM; 8:03 AM rounds to 8:05 AM

The 7-minute rule is the most common. With 15-minute rounding, any time from 1 to 7 minutes past the quarter-hour rounds down, and 8 to 14 minutes rounds up.

Calculating Overtime Hours

Under the FLSA, non-exempt employees must receive overtime pay of at least 1.5 times their regular rate for hours worked beyond 40 in a workweek. Some states have daily overtime thresholds too — California, for instance, requires overtime after 8 hours in a single day.

To calculate overtime pay:

  1. Add all hours for the week
  2. Subtract 40 to find overtime hours
  3. Regular pay = 40 × hourly rate
  4. Overtime pay = overtime hours × (hourly rate × 1.5)
  5. Total pay = regular pay + overtime pay

Example: An employee earning $20/hour works 45 hours in a week.

  • Regular pay: 40 × $20 = $800
  • Overtime pay: 5 × $30 = $150
  • Total weekly pay: $950

Our overtime calculator handles these calculations for you, including state-specific daily overtime rules.

Overnight and Split Shifts

When a shift crosses midnight — for example, 10:00 PM to 6:00 AM — you need to account for the date change. The math is the same, but it helps to convert to 24-hour time:

  • Start: 22:00 (10 PM)
  • End: 30:00 (6 AM next day, treated as 24 + 6)
  • Duration: 30 − 22 = 8 hours

For split shifts (working two separate periods in one day), simply calculate each period independently and add them together. If you work 7:00 AM–11:00 AM and 2:00 PM–6:00 PM, that's 4 + 4 = 8 hours.

Using Our Work Hours Calculator

Instead of doing all this math by hand, you can use our free work hours calculator. Simply enter your start time, end time, and break duration, and it instantly shows your total hours in both standard and decimal formats.

For a full week of time tracking, the time card calculator lets you enter times for each day of the week and automatically tallies regular hours, overtime hours, and gross pay.

You can also use our hours between times tool for quick one-off calculations, or the add hours to time tool to find what time it will be after working a specific number of hours.

Tips for Accurate Time Tracking

  • Be consistent: Use the same clock for clocking in and out to avoid discrepancies.
  • Record breaks: Always note when your unpaid break starts and ends, not just its duration.
  • Submit timesheets promptly: Waiting until the end of the pay period to fill in times leads to guessing and errors.
  • Verify decimal conversions: If your employer uses decimal hours, double-check conversions with a time to decimal tool.
  • Know your state laws: Some states have stricter overtime, break, and reporting time pay requirements than federal law.

Common Mistakes to Avoid

The most frequent errors in work hours calculation are confusing AM and PM (recording 8 PM instead of 8 AM), forgetting to subtract breaks, incorrectly rounding minutes, and mixing up 12-hour and 24-hour time formats. If you're unsure about 24-hour time, our guide explains the conversion clearly.

Another common pitfall is calculating overtime on a daily basis when your state only requires weekly overtime (or vice versa). Always check your local labor laws or consult our overtime laws guide for specifics.

Try Our Calculators

Put these concepts into practice with our free tools

Related Articles

Time Basics

Understanding Time Zones: A Simple Guide for Everyone

Learn how time zones work, why they exist, and how to convert between them. Includes UTC, GMT, and daylight saving time.

7 min read Read More
Time Basics

Military Time Explained: How to Read and Convert 24-Hour Time

Complete guide to military time (24-hour clock). Learn to convert between 12-hour and 24-hour formats with examples.

6 min read Read More
Work & Payroll

Overtime Pay Laws: What Every Worker Should Know

Understand overtime pay rules, FLSA regulations, exempt vs non-exempt status, and how overtime is calculated.

9 min read Read More