Work Hours & Elapsed Time Engine

Hours Calculator

Use the calculators below to find the exact number of hours and minutes between two times or two calendar dates with break deductions and wage estimations.

Use this calculator to find the number of hours and minutes between two times. Supports overnight shifts and unpaid lunch break deductions.

The time between 8:30 AM and 5:30 PM is:
9 hours
540 minutes
DECIMAL HOURS
9 hrs
TOTAL MINUTES
540 mins
TOTAL SECONDS
32,400 secs
TOTAL DAYS
0.375 days

Complete Guide to Calculating Work Hours, Timesheet Decimals, and Shift Durations

Whether you are logging billable client hours, managing payroll compliance under Fair Labor Standards Act (FLSA) guidelines, tracking flight duty periods, or computing shift durations, accurately calculating elapsed time between hours and calendar dates is fundamental.

1. Calculating Hours Across Midnight (Overnight Shifts)

A frequent challenge in shift scheduling is calculating duration when a work shift begins on one day and ends on the next. Simple subtraction (e.g., 6:00 AM - 10:00 PM = 6 - 22 = -16) fails because the 24-hour clock rolls over at midnight:

Overnight Shift Calculation Algorithm:
  1. Convert to 24-Hour Time: 10:00 PM becomes 22:00 (1,320 minutes from midnight). 6:00 AM becomes 06:00 (360 minutes from midnight).
  2. Detect Rollover: Since 360 < 1,320, add 24 hours (1,440 minutes) to the end time: 360 + 1,440 = 1,800 minutes.
  3. Subtract Start Time: 1,800 - 1,320 = 480 minutes.
  4. Convert to Hours: 480 / 60 = 8.00 hours.

2. Standard Timesheet Minutes-to-Decimals Conversion Chart

Payroll software packages (ADP, QuickBooks, Gusto) require decimal hours. Multiplying hourly wages by standard clock minutes produces erroneous paychecks. Use this standard conversion table:

MinutesDecimal EquivalentMinutesDecimal Equivalent
6 mins0.10 hr36 mins0.60 hr
12 mins0.20 hr42 mins0.70 hr
15 mins0.25 hr45 mins0.75 hr
18 mins0.30 hr48 mins0.80 hr
24 mins0.40 hr54 mins0.90 hr
30 mins0.50 hr60 mins1.00 hr

3. Unpaid Lunch Breaks and Labor Law Standards

Under federal and state labor standards, bona fide meal periods (typically 30 minutes or longer) during which an employee is completely relieved from work duties are not considered work time and are unpaid. Entering 30 or 60 in our Break Deduction input ensures your payroll reflects net billable work hours without manual subtraction errors.

Payroll Shift & Overtime Timesheet vs Annual Salary Converter

Tool Distinction: Hours Calculator vs Salary Calculator

Decision Guide
Hours Calculator (This Tool)Timesheet Shift, Break Deduction & FLSA Overtime
Core Function

Computes net working hours across 3 modes: (1) Daily Shift Start-to-End with unpaid break deduction, (2) Multi-Day Date & Time Span, and (3) Interactive Weekly Payroll Timesheet with 40-hour FLSA 1.5x overtime pay calculation.

Target Audience

Hourly workers, shift supervisors, nurses, and small business bookkeepers auditing daily shifts and weekly payroll timesheets.

Key Result

Net hours & minutes worked, decimal payroll hours (e.g., 8.50 hrs), regular vs overtime hours, and total gross wages.

Salary CalculatorAnnualized Wage Frequency Converter
Core Function

Converts an established hourly or annual pay rate across 8 standard payroll frequencies (Hourly to Annual) accounting for paid holidays and vacation days.

Target Audience

Full-time employees and job seekers comparing annualized compensation packages.

Key Result

Annual, monthly, bi-weekly, weekly, daily, and hourly compensation equivalence table.

Switch to Salary Calculator
Why Both Tools Are Independently Required:Use the Hours Calculator to log actual clock-in/clock-out shift times, deduct lunch breaks, and calculate weekly overtime paychecks; use the Salary Calculator to annualize a standard hourly wage across a 52-week work year.
Algorithmic TransparencySelf-Validated Computational Standards

๐Ÿ”ฌ FLSA Payroll Timesheet, Unpaid Break Deduction & Overtime Wage Specification

Mathematical Equations & Algorithmic Foundation

shift Formula:Net Shift Minutes = [ (End_Min - Start_Min + 1440) mod 1440 ] - Unpaid_Break_Minutes
overtime Formula:Gross Pay = (Regular_Hours ร— Rate) + (Overtime_Hours_Over_40 ร— Rate ร— 1.5)
origin Formula:US Department of Labor Fair Labor Standards Act (FLSA 29 U.S.C. ยง 207) overtime payroll standard.
Unit Conversion & Rounding Standards
  • Decimal Payroll Hours = Net Minutes / 60 (e.g., 7 hours 45 minutes = 7.75 decimal hours).

FLSA 15-Minute Increment Rounding Rules

Practical Scenario Simulation & Mathematical Analysis
Last Verified: Sep 2026
Minutes 1 to 7
Rounds down to the previous quarter hour
Minutes 8 to 14
Must round up to the next quarter hour
Admin's Practical Takeaway: Employers using 15-minute rounding must apply the rule symmetrically. Rounding down on clock-ins while rounding down on clock-outs violates federal wage law.
Researched, modeled, and tested independently by AZCalc Administrator โ€ข AZCalc.net

Primary Authoritative Sources & Regulatory References

Cross-referenced against official US statutory codes and global standards
โ— Last Verified: September 2026

Federal regulations on bona fide meal periods, rest breaks, travel time, and decimal conversion of timesheet hours.

Standard 80-hour biweekly schedules, fractional hour rounding rules (the 7-minute rule / 15-minute intervals).

Mathematical and statutory models are monitored continuously by the AZCalc Administrator for legislative amendments.

Frequently Asked Questions About Work Hours & Timesheets

The calculator converts both start and end times into total minutes from midnight. If the end time is earlier than the start time (e.g., 10:00 PM to 6:00 AM), it automatically handles the overnight shift by adding 24 hours (1,440 minutes), then deducts any optional break minutes.

Quick Work Shift Presets

Related Date & Time Calculators