Hours Calculator
| Day | Start | End | Brk (m) | Net |
|---|
=MOD(B2-A2,1)*24-(C2/60)
Hours Calculation Slip
Hours & Timesheet PDF Report
How to Use This Online Hours Calculator
An online hours calculator measures the exact elapsed time between a start time and an end time, deducts unpaid lunch breaks, and converts hours and minutes into payroll-ready decimal hours. Whether you need a fast work hours calculator for a single shift or a full hours worked calculator for weekly timecards, enter your clock-in and clock-out times above for instant totals.
Built as a complete hours and minutes calculator and time calculator hours and minutes utility, this tool simplifies daily shift tracking, overnight schedules, and payroll exports:
- Single Shift & Lunch Deductions: Use it as an hours calculator with lunch by entering your start time, end time, and unpaid break minutes to view gross duration, break deducted, and net worked hours.
- Weekly Timesheet (Mon–Sun): Switch to the hours calculator for timesheet tab to log Monday through Sunday shifts in one grid and view daily net hours alongside your weekly total.
- Overnight & Pay Estimation: Configure this hours calculator for work with 12h/24h formatting, automatic past-midnight shift detection, and optional hourly rate plus overtime calculations.
- Spreadsheet Formulas & Exports: Copy the live formula directly from the hours calculator in excel strip, or preview and download a receipt PNG slip, vector PDF report, or CSV file.
Hours Worked Formulas, Decimal Conversion & Worked Examples
Payroll software calculates wages using decimal hours rather than base-60 minutes, so converting minutes accurately prevents timesheet discrepancies. Use the formulas below to verify shift totals and overnight hours manually or inside spreadsheets.
Core Timecard & Spreadsheet Formulas
In 24-hour time, 9:00 AM is 09:00 and 5:30 PM is 17:30, giving a gross elapsed span of 17:30 − 09:00 = 8 hrs 30 mins (8.50 hours). Subtracting the 30-minute unpaid lunch (30 ÷ 60 = 0.50 hrs) yields 8 hrs 0 mins, which equals 8.00 decimal hours or 480 total minutes.
Using overnight math with 10:00 PM as 22:00 and 6:30 AM as 06:30, compute (24:00 − 22:00) + 06:30 = 2h 0m + 6h 30m = 8 hrs 30 mins gross. Deducting the 30-minute unpaid break gives 8 hrs 0 mins (8.00 hrs) net worked time.
Payroll Minutes Conversion & Shift Schedule Reference Tables
Use these reference tables to convert base-60 minutes into decimal hours on paper timecards and compare common weekly shift schedules.
Table 1: Minutes to Decimal Hours Conversion Chart for Payroll
| Minutes | Formula (Mins ÷ 60) | Decimal Hours |
|---|---|---|
| 5 mins | 5 ÷ 60 | 0.08 hrs |
| 10 mins | 10 ÷ 60 | 0.17 hrs |
| 15 mins | 15 ÷ 60 | 0.25 hrs |
| 20 mins | 20 ÷ 60 | 0.33 hrs |
| 25 mins | 25 ÷ 60 | 0.42 hrs |
| 30 mins | 30 ÷ 60 | 0.50 hrs |
| 35 mins | 35 ÷ 60 | 0.58 hrs |
| 40 mins | 40 ÷ 60 | 0.67 hrs |
| 45 mins | 45 ÷ 60 | 0.75 hrs |
| 50 mins | 50 ÷ 60 | 0.83 hrs |
| 55 mins | 55 ÷ 60 | 0.92 hrs |
| 60 mins | 60 ÷ 60 | 1.00 hr |
Table 2: Common Work Shift Schedules & Weekly Hours Reference
| Daily Shift Schedule | Unpaid Break | Daily Gross | Daily Net Hours | 5-Day Weekly Total |
|---|---|---|---|---|
| 8:00 AM – 4:30 PM | 30 mins | 8h 30m | 8.00 hrs | 40.00 hrs |
| 9:00 AM – 5:00 PM | 30 mins | 8h 00m | 7.50 hrs | 37.50 hrs |
| 9:00 AM – 5:30 PM | 30 mins | 8h 30m | 8.00 hrs | 40.00 hrs |
| 9:00 AM – 6:00 PM | 60 mins (1h) | 9h 00m | 8.00 hrs | 40.00 hrs |
| 10:00 PM – 6:30 AM (Overnight) | 30 mins | 8h 30m | 8.00 hrs | 40.00 hrs |
Related Everyday & Payroll Calculators
Convert your worked hours into annual pay, add time durations, or calculate date spans with our companion tools.
Frequently Asked Questions
How do you calculate hours and minutes worked between two times?
Convert both start and end times to a 24-hour clock, then subtract the start time from the end time to find gross elapsed hours and minutes. Next, subtract any unpaid lunch or break minutes. For example, 09:00 to 17:30 equals 8 hours 30 minutes, minus 30 minutes equals 8 hours.
How do you convert minutes into decimal hours for payroll?
Divide the number of minutes by 60, then add that decimal to your whole hours worked. Because payroll systems multiply hourly wages by decimal hours rather than base-60 minutes, accurate conversion prevents underpayment. For example, 15 minutes equals 0.25 hours, 30 minutes equals 0.50 hours, and 45 minutes equals 0.75 hours.
How many hours is 9:00 AM to 5:30 PM with a 30-minute lunch break?
Working from 9:00 AM to 5:30 PM gives a gross elapsed duration of 8 hours and 30 minutes (8.50 hours). After deducting an unpaid 30-minute lunch break, your net worked time is exactly 8 hours and 0 minutes, which equals 8.00 decimal hours or 480 total billable minutes for the day.
How do you calculate overnight or graveyard shift hours past midnight?
When an end time falls earlier on the clock than the start time, add 24 hours (1,440 minutes) to the end time before subtracting the start time, or compute (24:00 minus Start) plus End. For example, a 10:00 PM to 6:30 AM shift spans 8 hours 30 minutes before breaks.
How do you calculate total weekly work hours and overtime?
Calculate net worked hours for each day of the workweek by subtracting start times and unpaid breaks, then sum all seven days together. Any hours worked above your overtime threshold (typically 40 hours per week under U.S. federal FLSA rules) count as overtime, usually paid at 1.5x your regular hourly rate.
What is the formula to calculate hours worked in Microsoft Excel or Google Sheets?
Enter your start time in cell A2, end time in B2, and unpaid break minutes in C2, then type =MOD(B2-A2,1)*24-(C2/60). The MOD function automatically handles overnight shifts crossing midnight without returning negative errors, while multiplying by 24 converts Excel’s time fraction into accurate decimal payroll hours.
What is the difference between military (24-hour) time and standard 12-hour AM/PM time?
Standard 12-hour time splits the day into two 12-hour cycles labeled AM and PM, whereas 24-hour military time numbers hours continuously from 00:00 (midnight) through 23:59. Adding 12 to afternoon PM hours (for example, 5:30 PM becomes 17:30) eliminates AM/PM ambiguity on timesheets and makes shift subtraction straightforward.
How do you calculate gross pay from total hours worked?
Multiply your regular decimal hours worked by your hourly pay rate, then add any overtime earnings. For example, working 45 decimal hours at $20 per hour with a 40-hour overtime threshold and 1.5x multiplier yields 40 × $20 ($800) plus 5 × $30 ($150), totaling $950 in gross pay.