Work Hours Calculator

Calculate total hours worked, including breaks and overtime. Perfect for employees and freelancers!

Calculate Your Work Hours

Enter your total break time in minutes (lunch, coffee breaks, etc.)

How to Calculate Work Hours

Simple steps to track your working time

1

Enter Start Time

Enter the time you started working. Use 24-hour format for accuracy.

2

Enter End Time

Enter the time you finished working. The calculator handles overnight shifts too.

3

Add Break Time

Enter your total break time in minutes. This is deducted from your gross hours.

Automatic Overtime Calculation

The calculator automatically identifies overtime (hours over 8 per day) so you can track your extra hours.

Break Time Deduction

Easily deduct lunch breaks, coffee breaks, or any unpaid time from your total hours worked.

Decimal Hours

Get results in decimal format (e.g., 7.5 hours) for easy payroll calculations and time tracking.

Overnight Shifts

Works for night shifts that cross midnight. The calculator knows when you're working into the next day.

Frequently Asked Questions

Enter your start time, end time, and total break time in minutes. The calculator will subtract your break time from the total hours between start and end times to give you your net hours worked.

This calculator flags hours over 8 per day as overtime. In many jurisdictions, overtime is calculated as hours over 8 per day or 40 per week. For weekly overtime calculation, use our Time Card Calculator.

Simply enter your start time and end time as normal. If your end time is earlier than your start time, the calculator automatically assumes you worked through midnight and calculates accordingly.

This calculator is for single-day calculations. For weekly timesheets with multiple days, overtime, and pay calculations, use our Time Card Calculator.

Gross hours is the total time from start to end, including breaks. Net hours is your actual working time after subtracting break time. Most employers pay based on net hours.

The calculator is accurate to the minute. Results are shown in decimal hours (e.g., 7.50 = 7 hours 30 minutes) for easy payroll integration. All calculations are performed locally in your browser.
Written & Reviewed by Experts
SM
Author

Sarah Mitchell, CPA

Certified Public Accountant • 12+ yrs payroll & workforce analytics

Specializes in time management, payroll compliance, and workforce optimization. Helped 500+ businesses streamline time-tracking.

DC
Fact-Checker

David Chen, MBA

Finance & Operations • MBA, Wharton

Specializes in financial modeling, regulatory compliance, and data accuracy verification across payroll and tax systems.

Embed This Calculator on Your Website

How to Calculate Work Hours: The Complete Guide

Accurately calculating work hours is a fundamental skill for employees, freelancers, managers, and business owners alike. Whether you need to verify your paycheck, submit a timesheet, or bill a client, understanding exactly how many hours you worked ensures fair compensation and proper record-keeping. This guide walks you through the formula, real-world examples, and best practices for calculating your daily work hours with precision.

The Complete Work Hours Formula

Net Hours Worked = (End Time − Start Time) − Break Time

Where End Time and Start Time are in hours and minutes, and Break Time is the total duration of all unpaid breaks during the shift.

This formula applies to any type of shift — daytime, evening, overnight, or split. The key is converting every component into the same unit (typically decimal hours) before performing the subtraction. The result gives you the actual billable or payable hours for the period.

Step-by-Step Guide to Calculating Work Hours

Follow these steps to calculate your net hours worked for any shift:

Step 1: Record Your Start and End Times

Write down the exact clock-in and clock-out times. Use a consistent format — 24-hour time (e.g., 14:00 instead of 2:00 PM) eliminates AM/PM confusion and reduces errors. If your shift crosses midnight, note the date for each time so you can account for the day change.

Step 2: Calculate Gross Hours

Subtract the start time from the end time to get the gross (total) duration of your shift. For example, 17:00 − 09:00 = 8 hours. If your end time is numerically smaller than your start time (an overnight shift), add 24 hours to the end time first: (06:00 + 24:00) − 22:00 = 8 hours.

Step 3: Convert Break Time to Hours

Sum up all unpaid breaks during the shift and convert the total to decimal hours by dividing by 60. A 30-minute lunch break equals 0.5 hours. A 45-minute lunch plus a 15-minute coffee break equals 1.0 hour. Only deduct unpaid breaks — short paid rest periods (typically under 20 minutes) do not need to be subtracted under federal law.

Step 4: Subtract Break Time from Gross Hours

Subtract the total break time from the gross hours to arrive at your net hours worked. This is the figure used for payroll, invoicing, and overtime calculations.

Worked Examples

Example 1: Standard 9-to-5 Workday

Scenario: You work from 9:00 AM to 5:00 PM with a 30-minute unpaid lunch break.

  • Gross hours: 17:00 − 09:00 = 8.00 hours
  • Break time: 30 minutes ÷ 60 = 0.50 hours
  • Net hours: 8.00 − 0.50 = 7.50 hours (7 hours 30 minutes)

This is the most common work schedule in the United States. At 5 days per week, it totals 37.5 net hours — slightly below the 40-hour overtime threshold.

Example 2: Overnight (Night) Shift

Scenario: You work from 10:00 PM to 6:00 AM with a 45-minute unpaid meal break.

  • Gross hours: (06:00 + 24:00) − 22:00 = 30:00 − 22:00 = 8.00 hours
  • Break time: 45 minutes ÷ 60 = 0.75 hours
  • Net hours: 8.00 − 0.75 = 7.25 hours (7 hours 15 minutes)

Night-shift workers should pay close attention to the day boundary. Our calculator handles this automatically — if the end time is earlier than the start time, it assumes a midnight crossover.

Example 3: Split Shift

Scenario: You work two blocks — 6:00 AM to 10:00 AM, then 2:00 PM to 6:00 PM — with no additional paid breaks.

  • Block 1: 10:00 − 06:00 = 4.00 hours
  • Block 2: 18:00 − 14:00 = 4.00 hours
  • Net hours: 4.00 + 4.00 = 8.00 hours

Split shifts are common in hospitality, healthcare, and transportation. Calculate each block separately, then sum the results. Our calculator handles single blocks; for split shifts, run it once per block and add the totals.

Common Work Schedule Reference

Schedule Type Start Time End Time Break Net Hours
Standard Full-Time 9:00 AM 5:00 PM 30 min 7.50
Full-Time (No Break Deducted) 8:00 AM 4:00 PM 0 min 8.00
Part-Time Morning 8:00 AM 12:00 PM 0 min 4.00
Part-Time Afternoon 1:00 PM 5:30 PM 15 min 4.25
10-Hour Day (4×10 Schedule) 7:00 AM 5:30 PM 30 min 10.00
12-Hour Shift 6:00 AM 6:00 PM 60 min 11.00
Half Day 9:00 AM 1:00 PM 0 min 4.00
Night Shift 10:00 PM 6:00 AM 45 min 7.25
Extended Shift 6:00 AM 8:00 PM 60 min 13.00

Converting Minutes to Decimal Hours

Payroll systems, invoicing software, and most time-tracking tools require hours in decimal format rather than hours and minutes. The conversion is straightforward:

Decimal Hours = Whole Hours + (Minutes ÷ 60)

For instance, 7 hours and 45 minutes converts to 7 + (45 ÷ 60) = 7 + 0.75 = 7.75 decimal hours. Here are common conversions you'll encounter:

  • 15 minutes = 0.25 hours
  • 20 minutes = 0.33 hours
  • 30 minutes = 0.50 hours
  • 45 minutes = 0.75 hours

When rounding, most employers round to the nearest quarter hour (0.25) for simplicity. Under FLSA rules, rounding is permissible as long as it averages out over time and doesn't systematically short employees.

Understanding Overtime Rules

The Fair Labor Standards Act (FLSA) requires that non-exempt employees receive overtime pay at a rate of at least 1.5 times their regular rate for all hours worked beyond 40 in a single workweek. This federal rule applies regardless of your state, though many states layer on additional protections.

Key points about federal overtime:

  • Weekly threshold: Overtime kicks in after 40 hours per workweek, not per day (at the federal level).
  • Exempt vs. non-exempt: Salaried employees classified as "exempt" under FLSA criteria are not entitled to overtime. Non-exempt employees must receive it regardless of whether they are paid hourly or by salary.
  • State variations: California, Alaska, Nevada, and Colorado have daily overtime rules (typically 1.5× after 8 hours per day and 2× after 12 hours). Always check your state's labor department website for local requirements.
  • Compensatory time: Private-sector employers generally cannot substitute comp time for overtime pay. Government employers may offer comp time under certain conditions.

Our calculator flags any net hours above 8 in a single day so you can quickly identify potential overtime. For weekly overtime tracking across multiple days, use our Time Card Calculator.

Tips for Accurate Time Tracking

  1. Clock in and out immediately. Record your start and end times the moment they happen. Relying on memory at the end of the day introduces errors — studies show recalled times can drift by 10–15 minutes.
  2. Use 24-hour format. Entering 14:00 instead of "2 PM" eliminates AM/PM mix-ups, especially for overnight and early-morning shifts.
  3. Track all unpaid breaks separately. Combine lunch, coffee, and personal breaks into one total. Paid rest periods (under 20 minutes per federal guidelines) are generally not deducted.
  4. Account for rounding policies. If your employer rounds to the nearest quarter hour, know whether your 8:07 AM arrival is recorded as 8:00 or 8:15. Consistent rounding policies prevent disputes.
  5. Save or print your records. Keep a personal copy of your hours even if your employer tracks them. In overtime or wage-theft disputes, employee records carry significant weight with the Department of Labor.
  6. Verify weekly totals against your pay stub. Cross-check the total hours on your paycheck with your own calculations every pay period to catch discrepancies early.
  7. Note schedule exceptions. Holidays, early releases, and shift swaps should be flagged so they don't distort your regular-hours baseline.

Common Mistakes to Avoid

  • Forgetting to deduct unpaid breaks: Reporting gross hours instead of net hours inflates your totals and can cause payroll issues or audits.
  • Mixing AM and PM: Entering 9:00 PM instead of 9:00 AM creates an entirely wrong calculation. Use 24-hour time to eliminate this risk.
  • Ignoring overnight shifts: If your shift crosses midnight and you don't account for the day change, you'll get a negative or nonsensical result.
  • Rounding prematurely: Round only the final result, not intermediate values. Rounding break times and gross hours separately compounds small errors.
  • Not accounting for all break segments: A 30-minute lunch plus two 10-minute breaks is 50 minutes total — make sure you add them all before converting.
  • Assuming salary means no tracking: Even salaried non-exempt employees must track hours for overtime compliance. Only exempt employees are outside FLSA overtime requirements.

When to Use This Calculator

This work hours calculator is designed for single-shift calculations and is ideal for the following scenarios:

  • Daily timesheet verification: Quickly confirm the hours your employer recorded match what you actually worked.
  • Freelancer invoicing: Calculate billable hours for a client engagement or project session to the minute.
  • Overtime checks: See at a glance whether your net hours for the day exceeded 8, triggering potential overtime.
  • Shift planning: Estimate how many hours you'll work under different start/end/break combinations before committing to a schedule.
  • Break compliance: Determine whether your breaks are being properly deducted from your payable hours, especially important under state-mandated break laws.
  • Payroll dispute resolution: Present clear, documented calculations when questioning a paycheck discrepancy with your employer or HR department.

For tracking an entire week of shifts with automatic overtime and pay calculations, use our Time Card Calculator. For calculating the duration between any two times without a work context, try our Hours Between Times tool.