ZU CALCULATOR
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Home / Date, Time & Work / Hours Calculator
Date, Time & Work

Hours Calculator

Calculate net worked shift hours, elapsed clock duration, decimal payroll hours, total minutes and seconds, unpaid break deductions, and optional gross shift pay.

Developed and maintained by Muhammad Zakria • Verified Formula & Worked Examples • Editorial Policy • Disclaimer

Hours Calculator

Enter values Calculate
Result

|

What the Hours Calculator Measures

The Hours Calculator is built specifically for one single work shift. Enter your Shift start time, Shift end time, and Unpaid break duration (minutes) to calculate your exact Net worked time (hours and minutes), Decimal payroll hours, Gross shift duration, and Net worked minutes.

Inputs & Validation Rules

  • Shift start time: Clock-in time for the shift (default 09:00).
  • Shift end time: Clock-out time for the shift (default 17:00). If the end time is earlier than the start time (for example, 22:00 to 06:30), the calculator automatically recognizes an overnight shift across midnight and labels the gross shift duration (overnight shift).
  • Unpaid break duration (min): Total unpaid meal or rest break minutes taken during the shift (default 30 min).
    • Unpaid break minutes cannot be negative (Break ≥ 0).
    • Unpaid break minutes cannot exceed the gross shift duration (Break ≤ Gross Shift Minutes). If a break longer than the shift is entered, the calculator alerts you with a clear validation message.

Single-Shift Work Hours Formulas

  1. Gross Shift Duration (in minutes):

    Convert start and end clock times to minutes from midnight (M₁ and M₂):
    If M₂ ≥ M₁ (same-day shift): Gross Minutes = M₂ − M₁
    If M₂ < M₁ (overnight shift): Gross Minutes = (M₂ − M₁) + 1,440

  2. Net Worked Minutes:

    Net Minutes = Gross Minutes − Unpaid Break Minutes

  3. Net Worked Time (Hours & Minutes):

    Net Hours = Floor(Net Minutes ÷ 60),   Remaining Minutes = Net Minutes mod 60

  4. Decimal Payroll Hours:

    Decimal Payroll Hours = Net Minutes ÷ 60 (rounded to 2 decimal places)

Step-by-Step Worked Examples

Example 1: Standard Daytime Shift (Default Values)

An employee clocks in at 09:00, clocks out at 17:00, and takes a 30-minute unpaid lunch break:

  1. Gross shift duration: From 09:00 (540 min) to 17:00 (1,020 min) = 480 minutes = 8 hr 0 min.
  2. Net worked minutes: 480 − 30 = 450 minutes.
  3. Net worked time: 450 ÷ 60 = 7 hr 30 min.
  4. Decimal payroll hours: 450 ÷ 60 = 7.5 hours.

Example 2: Overnight Shift Crossing Midnight

A hospital technician clocks in at 22:00 (10:00 PM), clocks out at 06:30 (6:30 AM the next morning), and takes a 30-minute unpaid break:

  1. Gross shift duration: M₁ = 1,320 min, M₂ = 390 min. Because 390 < 1,320, add 1,440 min: 390 − 1,320 + 1,440 = 510 minutes = 8 hr 30 min (overnight shift).
  2. Net worked minutes: 510 − 30 = 480 minutes.
  3. Net worked time: 8 hr 0 min | Decimal payroll hours: 8 hours.

Payroll Minute-to-Decimal Conversion Reference Table

When entering single-shift hours into payroll or billing software, use the decimal equivalent of the remaining minutes (Minutes ÷ 60) rather than writing minutes after the decimal point:

Remaining Minutes Exact Decimal Hours Remaining Minutes Exact Decimal Hours
5 min 0.08 hr 35 min 0.58 hr
10 min 0.17 hr 40 min 0.67 hr
15 min 0.25 hr 45 min 0.75 hr
20 min 0.33 hr 50 min 0.83 hr
25 min 0.42 hr 55 min 0.92 hr
30 min 0.50 hr 60 min 1.00 hr

How to Interpret Results & Related Tools

  • Gross vs. Net shift hours: Gross shift duration is total time from clock-in to clock-out; Net worked time subtracts unpaid break minutes. Only deduct breaks that are unpaid under your workplace policy.
  • Multi-day weekly schedules: To add up an entire week of shifts (Monday through Sunday) and estimate regular vs. overtime hours, use our Work Hours Timesheet Calculator.
  • General clock time & billing rates: For non-work elapsed clock time (including seconds), use our Time Duration Calculator. To evaluate freelance or contractor billing targets, see our Hourly Rate Calculator.

Methodology & Disclaimer

Methodology: Computes single-shift net duration by subtracting unpaid break minutes from gross clock duration (with automatic 24-hour rollover when clock-out is earlier than clock-in) and dividing net minutes by 60 for decimal hours.

Payroll & Legal Disclaimer: Decimal payroll hours are a mathematical conversion of net shift time and do not automatically determine wages owed, paid vs. unpaid rest-break rules, time-clock rounding policies, or overtime eligibility. Consult your employer's payroll policies and applicable labor laws.

Frequently asked questions

What is the difference between Gross shift duration and Net worked time?
Gross shift duration is the total elapsed clock time from your shift start time to your shift end time. Net worked time is your actual working duration after subtracting unpaid meal or rest break minutes from the gross shift duration.
How do I calculate an overnight grave-shift or night-shift in the Hours Calculator?
Simply enter your evening start time (such as 22:00) and your next-morning end time (such as 06:30). Whenever the end time is earlier than the start time, the calculator automatically treats the shift as crossing midnight and labels the gross duration "(overnight shift)".
Should I enter paid rest breaks into the Unpaid break duration field?
No. Only enter unpaid breaks (such as an unpaid 30-minute or 60-minute meal period) in the break field. Paid rest breaks remain part of your compensable net worked time.
Why does 7 hours and 30 minutes show as 7.5 decimal payroll hours?
Payroll systems multiply hourly pay rates by base-10 decimal hours. Because 30 minutes is half of a 60-minute hour (30 ÷ 60 = 0.5), 7 hours and 30 minutes equals 7.50 decimal hours.
Developed and maintained by Muhammad Zakria. Calculations are informational estimates based on standard formulas. Creator Profile • Editorial Policy • Disclaimer • Report an Issue