Work Hours Calculator

Two dedicated tools — a single-shift calculator with break deduction and a full weekly timesheet with overtime — plus a live analog clock showing the shift span.

Clock Time and Payroll Time Aren't Quite the Same Thing

Reading a shift off a clock — "9 to 5:30" — feels simple, but turning that into a payroll-ready number involves a few small decisions that matter: does the 30-minute lunch get subtracted? Does a shift that crosses midnight need special handling? Should the final figure be decimal hours (8.5) or clock-style hours and minutes (8h 30m), since payroll systems and human-readable timesheets often want different formats for the exact same shift.

This page separates the two most common versions of that problem. One tool handles a single shift precisely, break included. The other rolls an entire week of shifts into one total, flagging anything over a standard full-time threshold as overtime — the number that actually determines a paycheck, not just a single day's clock-in and clock-out.

At a glance:
• Hours worked = (clock-out − clock-in) − unpaid break time
• A shift crossing midnight needs the next day treated as "+24 hours" in the math, not a negative result
• Payroll systems typically want decimal hours (8.5), not clock-style hours and minutes (8h 30m)
• Overtime is commonly calculated on total weekly hours, not per individual shift

Single Shift Calculator

Clock-in, clock-out, and any unpaid break time.

Hours Worked
8.00
8h 0m, break deducted

Weekly Timesheet Calculator

Enter each day's shift to get a weekly total, with overtime flagged past 40 hours.

Day
In
Out
Break (m)
Weekly Total
0.0
Regular: 0.0h · Overtime: 0.0h

Shift Clock Visualizer

A separate, standalone visual — set a start and end time and watch an analog clock shade in the exact span of the shift.

8h 30m span

This is a 12-hour clock face — shifts longer than 12 hours wrap around once.

Handling the Edge Cases Payroll Actually Runs Into

Core formula:

hours = (clock-out − clock-in) − (unpaid break minutes ÷ 60)

Handling an Overnight Shift

If clock-out appears to be "earlier" than clock-in (like starting at 22:00 and ending at 06:00), the math needs to recognize the shift crossed midnight rather than producing a negative result — effectively treating the end time as belonging to the next day before subtracting.

Worked Example

Given: Clock in 9:00 AM, clock out 5:30 PM, 30-minute unpaid break

Step 1: Raw span → 5:30 PM − 9:00 AM = 8.5 hours
Step 2: Subtract break → 8.5 − (30 ÷ 60) = 8.5 − 0.5
Result: 8.0 hours worked

Common Weekly Hour Thresholds

These figures vary by country and employer policy, but represent widely recognized reference points.

Reference Table

Context Common Threshold
Standard full-time week (US) 40 hours
Typical 5-day, 8-hour shift structure 8 hours/day
Common part-time cutoff ~30 hours/week
Common overtime pay multiplier 1.5× ("time and a half")

Labor laws vary significantly by country and jurisdiction — always confirm the specific rules that apply to your situation.

Where Accurate Hour Tracking Actually Pays Off

Freelance and Contractor Invoicing: Billing a client by the hour requires an accurate, defensible hours total, especially across multiple sessions or days on the same project.

Hourly Payroll Processing: Converting raw clock-in and clock-out times into payable hours is a routine, high-stakes task where small consistent errors compound significantly across a full pay period.

Overtime Compliance: Correctly identifying when weekly hours cross into overtime territory is essential for both fair employee pay and legal compliance with labor regulations.

Shift Scheduling and Coverage Planning: Managers building schedules need accurate hour totals per employee to balance coverage needs against budgeted labor hours.

Time Tracking for Billable Client Work: Consultants and agencies tracking time across multiple clients or projects need precise, easily summed hour totals for accurate client billing.

Personal Productivity and Work-Life Balance Tracking: Individuals monitoring their own actual working hours (versus scheduled hours) use accurate shift math to understand real workload patterns over time.

Avoiding Common Timesheet Mistakes

✓ Confirm whether breaks are paid or unpaid before subtracting them: Only unpaid break time should be deducted from hours worked — a paid break stays on the clock and shouldn't reduce the total.

✓ Decimal hours and clock-style hours need clear labeling: 8.5 hours and "8:50" look similar but mean very different things (8.5 hours = 8 hours 30 minutes) — always be explicit about which format a number represents.

✓ Round according to your payroll system's actual policy: Many employers round to the nearest quarter hour (15 minutes) for payroll purposes — confirm the specific rounding rule in use rather than assuming exact-minute precision applies.

✓ Overnight shifts need explicit next-day handling: Don't just subtract clock-in from clock-out on the same calendar day for a shift that crosses midnight — the math needs to recognize the end time belongs to the following day.

✓ Weekly overtime is usually based on the total, not individual days: A single long day doesn't automatically trigger overtime in most standard systems — it's typically the cumulative weekly total crossing the threshold that matters, though rules vary by jurisdiction.

✓ Daylight saving transitions can distort a single shift's actual duration: A shift spanning the specific day clocks change will show one hour more or less of raw clock time than was actually worked — worth flagging manually if it affects payroll for that day.

From Punch Cards to Payroll Software

The Mechanical Time Clock Was a 19th-Century Invention: Willard Bundy patented an early mechanical time recorder in 1888, specifically designed to give employers an objective, tamper-resistant record of when employees actually arrived and left — the direct ancestor of the modern digital timesheet.

"8 Hours Labor, 8 Hours Recreation, 8 Hours Rest": This 19th-century labor movement slogan, associated with reformer Robert Owen, captured the push for a standardized workday long before it became widespread law — a vision of balanced time that still shapes how a "full day's work" is commonly understood.

US Overtime Law Formalized the 40-Hour Threshold: The Fair Labor Standards Act of 1938 established a federal overtime framework in the United States, cementing the 40-hour workweek and time-and-a-half overtime pay as a legal standard rather than just common practice.

Digital Timesheets Automated What Punch Cards Recorded Manually: Modern payroll and time-tracking software effectively automates the same core task the 1888 time clock was built for — an accurate, disputable-free record of hours worked — now handling break deductions, overtime rules, and multi-day totals automatically instead of requiring manual calculation from a stack of punch cards.

Frequently Asked Questions

Q: How do I convert decimal hours to hours and minutes?

Multiply the decimal portion by 60 — for example, 8.5 hours is 8 hours plus (0.5 × 60) = 30 minutes, giving 8 hours 30 minutes.

Q: Should I subtract a paid lunch break from my hours worked?

No — only unpaid breaks should reduce your total hours worked. A paid break remains part of your compensated time and shouldn't be deducted.

Q: How does the calculator handle a shift that crosses midnight?

It recognizes when the clock-out time is earlier in the day than clock-in and automatically treats the end time as occurring the next calendar day, rather than producing an incorrect negative duration.

Q: Is overtime always calculated the same way?

No — overtime rules vary significantly by country, and sometimes by state or industry within a country. The 40-hour weekly threshold shown here is a common reference point, not a universal standard, so always confirm the specific rules that apply to your situation.

Q: Why does my payroll system show a slightly different total than my own calculation?

This is often due to a rounding policy — many payroll systems round each clock-in and clock-out to the nearest quarter hour before calculating totals, which can create small, expected differences from an exact-minute calculation.

Q: Can I use the weekly timesheet tool for a non-standard work week (not Monday–Sunday)?

Yes — the tool simply totals whatever shifts you enter regardless of which specific days they fall on, so it works for any consecutive seven-day tracking period.