Person tracking work hours on laptop and timesheet

Work Hours Guide

How to Calculate Work Hours With Breaks and Overtime

Learn how to calculate work hours correctly, including unpaid breaks, lunch deductions, overnight shifts, and overtime. This guide explains the formula step by step and shows practical examples you can use for payroll, timesheets, freelance work, and shift tracking.

Quick Answer: Work Hours Formula

To calculate work hours, subtract your start time from your end time, then subtract any unpaid break time.

Total Hours Worked = End Time − Start Time − Unpaid Break Time

For example, if you work from 9:00 AM to 5:00 PM with a 30-minute unpaid lunch break, your total paid work time is 7.5 hours.

Basic Work Hours Formula

The basic work hours formula is simple: calculate the time between your start and end time, then subtract unpaid breaks. This gives you the total number of hours worked.

Total Hours = End Time − Start Time − Break Time

This formula works for most daily shifts, timesheets, freelance work sessions, and hourly employee schedules. The key is making sure your break time is handled correctly.

Important Tip

Only subtract breaks that are unpaid. Paid rest breaks are usually included in work time, while unpaid meal breaks are usually deducted.

Step-by-Step Example

Let’s say you worked a standard day shift:

  • Start time: 9:00 AM
  • End time: 5:00 PM
  • Unpaid break: 30 minutes

Step 1: Calculate Total Shift Length

9:00 AM to 5:00 PM is 8 hours.

Step 2: Convert Break Time

30 minutes equals 0.5 hours.

Step 3: Subtract the Break

8 hours − 0.5 hours = 7.5 hours worked.

In this example, your total paid work time is 7.5 hours.

How to Calculate Work Hours With Breaks

Breaks are one of the most common reasons work hour calculations become confusing. If a break is unpaid, subtract it from the total shift length. If a break is paid, it usually stays included in total work time.

Unpaid Break Example

You work 8 hours and take a 30-minute unpaid lunch. Your paid work time is 7.5 hours.

Paid Break Example

You work 8 hours and take a 15-minute paid rest break. Your paid work time may still be 8 hours.

If you want to calculate this faster, use the Break Time Calculator to subtract lunch breaks, rest breaks, and unpaid break minutes automatically.

How to Calculate Work Hours Across Midnight

If your shift crosses midnight, such as 10:00 PM to 6:00 AM, the end time happens on the next day. That means you should not subtract the times as if they happened on the same date.

Overnight Shift Example

  • Start time: 10:00 PM
  • End time: 6:00 AM next day
  • Total shift length: 8 hours
  • Unpaid break: 30 minutes
  • Total hours worked: 7.5 hours

A simple way to handle overnight shifts is to add 24 hours to the end time before subtracting the start time. Most online work hour calculators do this automatically.

How to Calculate Overtime Hours

Overtime is extra work time beyond a regular daily or weekly threshold. The exact rules can vary by country, state, employer, and contract, but overtime is often calculated using a higher pay rate.

Overtime Pay = Hourly Rate × Overtime Hours × Overtime Multiplier

A common overtime multiplier is 1.5× the regular hourly rate. For example, if you earn $20 per hour, your 1.5× overtime rate would be $30 per hour.

Daily Overtime Example

  • Total hours worked: 10 hours
  • Regular hours: 8 hours
  • Overtime hours: 2 hours
  • Hourly rate: $20
  • Overtime rate: $30
  • Overtime pay: 2 × $30 = $60

To estimate overtime faster, use the overtime pay guide or your Overtime Pay Calculator.

How to Convert Minutes to Decimal Hours

Payroll and timesheets often use decimal hours instead of hours and minutes. To convert minutes to decimal hours, divide the minutes by 60.

Decimal Hours = Minutes ÷ 60
Minutes Decimal Hours
15 minutes 0.25 hours
30 minutes 0.50 hours
45 minutes 0.75 hours
60 minutes 1.00 hour

This matters because many payroll systems calculate pay using decimal hours. For example, 7 hours and 30 minutes is usually entered as 7.5 hours.

Use a Work Hours Calculator

Manual calculations work, but a calculator is faster and helps avoid mistakes. Use the free Work Hours Calculator to calculate shift length, breaks, total hours worked, and estimated pay.

Common Mistakes When Calculating Work Hours

1. Forgetting to Subtract Unpaid Breaks

If your lunch break or meal break is unpaid, it should usually be deducted from your total shift length.

2. Subtracting Paid Breaks by Accident

Paid rest breaks are often counted as work time. Subtracting them can make your calculated hours too low.

3. Miscalculating Overnight Shifts

Shifts that pass midnight need special handling because the end time happens on the next day.

4. Confusing Minutes With Decimal Hours

30 minutes is 0.5 hours, not 0.30 hours. This mistake can affect pay estimates and timesheet totals.

5. Applying Overtime Too Early

Overtime usually starts after a certain daily or weekly threshold. Only the hours above that threshold are overtime.

Why Accurate Work Hour Tracking Matters

Accurate time tracking helps employees, freelancers, managers, and business owners avoid pay errors and confusion. Even small mistakes can add up over a week, month, or year.

Employees

Make sure your recorded hours match the time you actually worked.

Freelancers

Track billable time more accurately and avoid undercharging for work.

Managers

Estimate staffing hours, shift coverage, breaks, and payroll costs more clearly.

Frequently Asked Questions

How do I calculate my work hours?

Subtract your start time from your end time, then subtract any unpaid breaks. For example, 9 AM to 5 PM is 8 hours. If you take a 30-minute unpaid lunch, your total hours worked are 7.5 hours.

How do I calculate work hours with lunch breaks?

First calculate the full shift length, then subtract your unpaid lunch break. For example, an 8-hour shift with a 1-hour unpaid lunch equals 7 paid work hours.

How do I calculate overnight work hours?

If a shift crosses midnight, treat the end time as the next day. For example, 10 PM to 6 AM is an 8-hour shift. Then subtract any unpaid break time.

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 30 minutes is 0.5 hours, 15 minutes is 0.25 hours, and 45 minutes is 0.75 hours.

How do I calculate overtime hours?

Overtime hours are usually the hours worked above a daily or weekly threshold. For example, if the regular threshold is 8 hours per day and you work 10 hours, you may have 2 overtime hours.

Are paid breaks included in hours worked?

Paid breaks are usually included in work hours, while unpaid breaks are usually deducted. Rules can vary by employer, contract, and location.

Can I use this method for payroll?

You can use this method to estimate hours, but official payroll calculations may depend on employer policies, contracts, and local labor rules. Always check official payroll records when accuracy is required.

Calculate Your Work Hours Faster

Save time and avoid manual math. Use the free calculator to estimate work hours, breaks, overtime, and pay.

Use the Work Hours Calculator
Scroll to Top