Hours Between Two Times Calculator

Calculate the exact hours and minutes between any two times with overnight support, break deduction, and payroll formatting.

Net Hours (HH:MM)
8:00
After deducting 30 minutes break
Net Hours (Decimal)
8.0000
Payroll-ready decimal format
Gross Hours
8.50
Total before break deduction (510 min)
Total Minutes
480
Net working minutes
Regular Hours
8.00
Up to 8-hour threshold
Overtime Hours
0.00
No overtime

Pay Calculation

Regular Pay
$200.00
8.00h ร— $25
Overtime Pay
$0.00
0.00h ร— $25 ร— 1.5
Total Pay
$200.00
Regular + Overtime

Rounding Options

MethodDecimal Hours
Exact8.0000
Nearest 15 min8.00
Nearest 6 min8.00
Nearest 1 min8.00
Shift Breakdown
Regular 8.0h
Break
Planning notes, formulas, and examples

About the Hours Between Two Times Calculator

The Hours Between Two Times Calculator computes the exact duration between any two clock times. Enter a start time and end time to get the result in hours and minutes, decimal hours, and total minutes. It handles overnight shifts (e.g., 10 PM to 6 AM), break deductions, and multiple format outputs.

This is one of the most common time calculations in everyday life. Employees need it for timesheets, managers for payroll, students for study tracking, and anyone scheduling events or appointments. The calculator handles 12-hour and 24-hour formats, AM/PM distinctions, and the tricky math of crossing midnight.

Beyond the basic difference, this calculator deducts break time, shows overtime calculations, and outputs in payroll-ready decimal format. It also handles multiple shifts in a single day, making weekly timesheet creation faster and more accurate.

When This Page Helps

Accurate time-between calculations prevent payroll errors and simplify timesheet management. This calculator handles overnight shifts, breaks, and overtime โ€” common pain points in manual time tracking.

How to Use the Inputs

  1. Enter the start time using the time picker or type in HH:MM format
  2. Enter the end time โ€” the calculator handles AM/PM and overnight automatically
  3. Optionally enter break time in minutes to deduct from the total
  4. View results in HH:MM, decimal hours, and total minutes
  5. Use the overtime threshold to see regular vs. overtime hours
  6. Use preset buttons for common shift patterns
  7. Add multiple shifts to calculate a daily or weekly total
Formula used
Duration = End Time - Start Time (if negative, add 24 hours for overnight). Net Hours = Duration - Break Time. Decimal Hours = Hours + (Minutes / 60). Overtime = max(0, Net Hours - Threshold).

Example Calculation

Result: 8.00 hours (8h 0m)

From 8:30 AM to 5:00 PM is 8.5 hours gross. Minus 30 minutes break = 8.00 net hours, or exactly 480 minutes.

Tips & Best Practices

  • Always deduct break time for accurate payroll โ€” unpaid breaks must be subtracted
  • Use 24-hour format to avoid AM/PM confusion
  • For overnight shifts, enter times as-is โ€” the calculator handles the date transition
  • Check your overtime threshold โ€” some states use 8 hours/day, others 40 hours/week
  • Round to the nearest 15 minutes for standard billing increments
  • Keep a log of your actual clock-in/out times for dispute resolution

Payroll Time Calculations

Accurate time tracking is legally required in many jurisdictions. The Fair Labor Standards Act (FLSA) requires employers to track hours for non-exempt employees. Common pay period calculations include daily hours (clock out - clock in - breaks), weekly hours (sum of daily totals), overtime (hours beyond 40/week or 8/day in some states), and gross pay (regular hours ร— rate + overtime hours ร— 1.5 ร— rate).

Handling Overnight and Split Shifts

Overnight shifts that cross midnight require special handling. A shift from 11 PM to 7 AM is 8 hours, but simple subtraction gives -16 hours. The correct approach adds 24 hours when the end time is less than the start time. Split shifts (e.g., 7 AM-11 AM and 4 PM-8 PM) should be calculated separately and summed.

Common Timesheet Mistakes

The top timesheet errors are: forgetting to deduct breaks, confusing AM/PM (entering 5:00 instead of 17:00), rounding incorrectly (7:45 is 7.75, not 7.45), missing overnight transitions, and not tracking overtime thresholds daily. Using a calculator like this prevents all of these common mistakes.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • If the end time is earlier than the start time, the calculator assumes the shift crosses midnight and adds 24 hours to the calculation.