time calculator

Work Hours Calculator

Calculate total hours worked between two times, factoring in unpaid breaks and overnight shifts.

Results

Total hours (decimal)
7.50
Total minutes
450
Hours
7
Remaining minutes
30

How to use this calculator

  1. Enter clock-in and clock-out times (24-hour clock).
  2. Enter total unpaid break minutes.
  3. Get total time worked in decimal hours and hh:mm, with overnight shifts handled automatically.

Inputs explained

Clock-in/out
Start and end times in 24-hour format (e.g., 7 = 7 AM, 18 = 6 PM).
Unpaid break minutes
Sum of lunch and other unpaid breaks to subtract from total time.

How it works

We convert clock-in and clock-out times into minutes, handle crossing midnight if needed, subtract unpaid breaks, then convert the total back into hours and minutes.

The decimal hours output is perfect for payroll systems, while the hh:mm breakdown helps you share quick summaries with managers or clients.

Formula

Net minutes = (Clock-out − Clock-in) − Break minutes

When to use it

  • Verifying timesheets or invoices before submission.
  • Checking overtime eligibility by summing multiple shifts.
  • Planning staff coverage and comparing shift lengths.

Tips & cautions

  • Combine all unpaid breaks into a single minutes total before entering.
  • Overnight shifts are supported—just enter the actual clock-out time (e.g., 6 for 6 AM).
  • Round the decimal result according to your payroll system’s rules (e.g., 2 decimals or 15-minute increments).
  • No automatic rounding rules (e.g., 6-minute or 15-minute blocks).
  • Does not handle daylight saving time shifts explicitly; overnight shifts crossing DST may need manual adjustment.
  • Single-shift calculation—add multiple shifts separately for multi-day totals.

Worked examples

8:00 AM – 5:30 PM with lunch

  • 9.5 hours raw
  • Minus 30-minute lunch = 9.0 hours worked

Overnight support shift

  • 10:00 PM – 6:00 AM with 15 mins break = 7.75 hours worked

Deep dive

This work hours calculator totals time between clock-in and clock-out, subtracts unpaid breaks, and handles overnight shifts. Enter start/end times and break minutes to get both decimal hours and hh:mm formats.

Use it to double-check payroll, billable hours, or staffing coverage. Apply your own rounding rules and adjust for DST if a shift crosses the changeover.

FAQs

What if the shift crosses midnight?
Enter the actual clock-out time (e.g., 6 for 6 AM). The calculator automatically adds 24 hours when an overnight shift is detected.
Can I track multiple breaks?
Add the total break minutes together (lunch + short breaks) and enter the combined number.
Does this round to the nearest quarter hour?
No. It shows exact time. Round manually to match your payroll or client policy.
How do I handle daylight saving time changes?
If a shift crosses a DST change, adjust start/end times or add/subtract an hour manually to reflect the actual worked time.
Can I enter AM/PM instead of 24-hour time?
Use 24-hour clock values (e.g., 1:00 PM = 13, 11:30 PM = 23:30).

Related calculators

This tool provides an estimate for planning and payroll prep. Confirm against official timecards or HR systems before final submission.