Hours Worked Calculator

Calculate time between any start and end time. Single shift, multiple shifts, or full weekly timesheet.
Convert to decimal hours, detect overtime, and calculate gross pay.

Handles overnight shifts, break deductions, and decimal conversion
Hours Worked Calculator
Gross Pay (optional)
$
— decimal hours
Full weekly timesheet →
Decimal Hours Quick Reference
Hours : MinutesDecimal HoursHours : MinutesDecimal Hours
8:008.008:308.50
8:058.088:358.58
8:108.178:408.67
8:158.258:458.75
8:208.338:508.83
8:258.428:558.92
9:009.009:309.50
10:0010.0010:3010.50
12:0012.007:307.50

How to Calculate Hours Worked

To calculate hours worked, subtract your start time from your end time, then subtract any unpaid break time. The result is typically expressed in decimal hours for payroll calculations — divide the minutes portion by 60 to convert.

Example: Start 8:30 AM, End 5:15 PM, 30-minute lunch break.
Total time: 8h 45min. Subtract 30min break = 8h 15min = 8.25 decimal hours.

Overnight Shifts

When your shift ends on the next calendar day (e.g., 10:00 PM to 6:00 AM), the end time is earlier than the start time. Add 24 hours to the end time: 6:00 AM + 24 = 30:00, then 30:00 − 22:00 = 8 hours. This calculator handles overnight shifts automatically.

Federal vs. Daily Overtime

Federal law (FLSA) requires overtime pay for hours over 40 in a workweek — the daily total doesn't matter. However, California, Alaska, and Nevada require daily overtime after 8 hours in a single day. Choose the OT rule that matches your state when calculating gross pay.

The 7-Minute Rounding Rule

IRS allows employers to round time to the nearest quarter-hour for payroll. Under the 7-minute rule: 1–7 minutes after a quarter hour round down; 8–14 minutes round up. For example, 8:07 AM rounds to 8:00 AM; 8:08 AM rounds to 8:15 AM. Rounding must be applied consistently and cannot systematically favor the employer.

Related: Time Card Calculator · Overtime Pay Calculator · Payroll Tax Calculator · Salary to Hourly Calculator

FAQ

Hours worked questions answered

How do I calculate hours worked between two times?
Subtract start time from end time, then subtract break minutes. Convert remaining minutes to decimal by dividing by 60. Example: 8:00 AM to 5:00 PM = 9 hours − 0.5 hr break = 8.5 hours (8h 30min).
How do I convert hours and minutes to decimal?
Divide the minutes by 60 and add to whole hours. 8h 15min = 8 + 15/60 = 8.25. 8h 30min = 8.50. 8h 45min = 8.75. Use the quick reference table above for common conversions.
How do I calculate hours worked on an overnight shift?
When end time is before start time, the shift crossed midnight. Add 24 to the end time before subtracting. Example: start 10:00 PM (22:00), end 6:00 AM → 6:00 + 24 = 30:00 → 30:00 − 22:00 = 8 hours.
When does overtime start?
Federally (FLSA): after 40 hours in a workweek. In California, Alaska, and Nevada: after 8 hours in a single workday (daily overtime). California also mandates double time after 12 hours/day. Select your OT rule in the calculator above.
How do I calculate gross pay from hours worked?
Regular pay = regular hours × hourly rate. Overtime pay = OT hours × (hourly rate × 1.5). Add both together for gross pay. To see your take-home after taxes, use the Payroll Tax Calculator and enter your gross pay.