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.
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:
- Convert to 24-Hour Time: 10:00 PM becomes
22:00(1,320 minutes from midnight). 6:00 AM becomes06:00(360 minutes from midnight). - Detect Rollover: Since 360 < 1,320, add 24 hours (1,440 minutes) to the end time:
360 + 1,440 = 1,800 minutes. - Subtract Start Time:
1,800 - 1,320 = 480 minutes. - 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:
| Minutes | Decimal Equivalent | Minutes | Decimal Equivalent |
|---|---|---|---|
| 6 mins | 0.10 hr | 36 mins | 0.60 hr |
| 12 mins | 0.20 hr | 42 mins | 0.70 hr |
| 15 mins | 0.25 hr | 45 mins | 0.75 hr |
| 18 mins | 0.30 hr | 48 mins | 0.80 hr |
| 24 mins | 0.40 hr | 54 mins | 0.90 hr |
| 30 mins | 0.50 hr | 60 mins | 1.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.
๐ฌ FLSA Payroll Timesheet, Unpaid Break Deduction & Overtime Wage Specification
Mathematical Equations & Algorithmic Foundation
Net Shift Minutes = [ (End_Min - Start_Min + 1440) mod 1440 ] - Unpaid_Break_MinutesGross Pay = (Regular_Hours ร Rate) + (Overtime_Hours_Over_40 ร Rate ร 1.5)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).