All Articles
Everyday Calculators·8 min read·November 11, 2026

How to Calculate Work Hours with Lunch Breaks: The Complete Overtime & Timesheet Guide

Learn how to accurately calculate daily and weekly work hours, deduct unpaid lunch breaks, and handle overnight night shifts crossing midnight for payroll.

TBy Toolstack Finance Team
Recommended Free Tool

Try Toolstack's Work Hours Calculator

Free, instantaneous, and processes 100% locally in your browser.

Open Work Hours Calculator

Accurate time tracking is the bedrock of fair employee compensation and compliance with labor regulations like the US Fair Labor Standards Act (FLSA) and European Working Time Directives. Yet every week, thousands of workers and payroll managers struggle with manual timecard calculations: converting minutes into decimal fractions, accounting for unpaid lunch breaks, and correctly computing overnight shifts that cross midnight.

In this comprehensive guide, we break down the exact mathematical formulas, legal break rules, and overtime thresholds so you can track your hours with confidence.

The Basic Work Hours Formula

At its simplest, net billable work hours equal the total elapsed time between clock-in and clock-out, minus any unpaid rest or meal breaks:

Elapsed Hours = Clock-Out Time - Clock-In Time
Net Work Hours = Elapsed Hours - Unpaid Break Duration

For example, if you clock in at 8:30 AM and clock out at 5:00 PM, your total elapsed time on site is 8 hours and 30 minutes (8.50 decimal hours). If your company mandates a 45-minute unpaid lunch break (0.75 decimal hours), your net billable working time is:

8.50 hours - 0.75 hours = 7.75 billable work hours

How to Calculate Overnight Night Shifts Crossing Midnight

One of the most common pitfalls occurs when an employee starts work in the evening (e.g., 10:00 PM / 22:00) and finishes the following morning (e.g., 6:00 AM / 06:00). Standard arithmetic subtraction results in a negative number (06:00 - 22:00 = -16:00), leading to software errors or manual confusion.

To correctly compute overnight shifts mathematically, add 24 hours (1,440 minutes) to the end time:

Overnight Elapsed Time = (End Time + 24 Hours) - Start Time
Elapsed = (06:00 + 24:00) - 22:00 = 30:00 - 22:00 = 8.0 Hours

After calculating the 8.0 elapsed hours, deduct any scheduled unpaid meal break (e.g., 30 minutes = 0.5 hours), arriving at 7.50 net working hours.

Converting Minutes to Decimal Hours for Payroll Systems

Payroll accounting systems require decimal hours rather than hours and minutes because wages are calculated by multiplying hourly pay rates. Dividing minutes by 60 gives the decimal equivalent:

- **15 minutes** = 15 ÷ 60 = **0.25 hours**

- **30 minutes** = 30 ÷ 60 = **0.50 hours**

- **45 minutes** = 45 ÷ 60 = **0.75 hours**

- **10 minutes** = 10 ÷ 60 = **0.17 hours**

- **50 minutes** = 50 ÷ 60 = **0.83 hours**

Understanding Overtime Rules (Daily vs. Weekly)

Under the federal US FLSA, covered non-exempt employees must receive overtime pay for hours worked in excess of **40 hours in a standard 7-day workweek** at a rate not less than time-and-one-half (1.5x) their regular rate of pay.

However, specific states—notably California, Alaska, and Nevada—also enforce **daily overtime**: any work performed beyond 8 hours in a single 24-hour workday must be paid at 1.5x regular pay, and work beyond 12 hours in a single day is compensated at double time (2.0x).

Use our free, private [Work Hours Calculator](/en/work-hours-calculator) to log your entire week, automatically compute overtime, deduct lunch breaks, and export clean timesheets.

Tags:#work hours calculator with lunch break#work hours calculator#weekly timesheet#overtime calculator#lunch break deduction#overnight shift hours

More Guides in Everyday Calculators