Time • Hours
Hours Calculator
Calculate work hours between clock in and out, minus break, across multiple days with daily and weekly totals and payroll rounding.
Direct Answer
The hours calculator computes total elapsed work time by subtracting your start time from your end time, then subtracting any unpaid meal breaks. Elapsed minutes are divided by 60 to output decimal payroll hours (e.g., 8 hours 15 minutes = 8.25 decimal hours).
Total hours
—
Decimal
—
Payroll
Cross-midnight handled (out < in → next day; equal → 0). Break subtracted. Use Quarter (15m) and Tenth (6m) for payroll.
How to use
- 1Add each workday with clock in, clock out (AM/PM or 24h) and break minutes.
- 2We handle cross-midnight automatically (out ≤ in → next day). Add days for a weekly total.
- 3See per-day HH:MM, decimal, and totals with quarter (15m) and tenth (6m) payroll rounding.
Timesheet Calculation Formulas
Raw Elapsed Time = End Time − Start Time
Net Work Time = Raw Elapsed Time − Unpaid Break Duration
Decimal Hours = Total Hours + (Total Minutes ÷ 60)| Variable | Name | Meaning & Example |
|---|---|---|
| T_start | Start Time | Beginning clock-in timestamp (09:00 AM) |
| T_end | End Time | Final clock-out timestamp (05:30 PM) |
| B | Break Duration | Unpaid lunch or meal deduction in minutes (30 mins) |
| H_dec | Decimal Hours | Net working hours in decimal format for payroll (8.00 hrs) |
How to Calculate Timesheet Hours:
- Convert 12-hour AM/PM times to 24-hour military time if needed (e.g. 5:30 PM = 17:30).
- Subtract the start time from the end time to determine raw elapsed time. If the shift spans past midnight, add 24 hours to the end time.
- Deduct any meal or rest breaks taken during the shift.
- To calculate payroll earnings, convert minutes to decimal hours: divide minutes by 60 (e.g. 45 minutes = 45 ÷ 60 = 0.75 hours).
Examples
Full Work Shift (8:30 AM to 5:15 PM with 45-Minute Lunch)
Step 1: Start Time = 08:30, End Time = 17:15.
Step 2: Raw Elapsed Time = 8 hours and 45 minutes.
Step 3: Deduct 45-minute lunch break = 8 hours 00 minutes.
Step 4: Decimal hours = 8.00 hours.
At $22/hour, Gross Earnings = 8.00 × $22.00 = $176.00.
Net Hours: 8 hrs 00 mins (8.00 Decimal Hours)
Overnight Shift (10:00 PM to 6:30 AM with 30-Minute Break)
Step 1: Shift crosses midnight: 10:00 PM to 12:00 AM = 2 hours; 12:00 AM to 6:30 AM = 6.5 hours.
Step 2: Total elapsed time = 8 hours 30 minutes.
Step 3: Deduct 30-minute break = 8 hours 00 minutes.
Step 4: Net worked = 8.00 hours.
Net Hours: 8 hrs 00 mins (8.00 Decimal Hours)