Time Counter For Work

How many hours did you actually work this shift, and what should you earn?

Enter your shift start and end times along with any break duration and hourly rate. The calculator returns total hours worked, regular versus overtime hours, and gross pay — so you can verify your paycheck or invoice a client with confidence.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Most paycheck disputes come down to one forgotten detail: break time. Employers subtract unpaid breaks from gross clock hours before calculating pay, but workers often forget to do the same when checking their stub. A 9-hour clock shift with a 30-minute lunch is 8.5 paid hours — that 0.5-hour gap is where errors hide.

The calculator works in two stages. First, it measures raw shift duration in minutes from start to end, rolling over midnight automatically for overnight shifts. Then it subtracts unpaid break time to produce net worked minutes, which it converts to decimal hours. Decimal hours — rather than hours and minutes — are what payroll systems use, so 8 hours 15 minutes becomes 8.25 hours.

For pay, the formula separates regular and overtime hours at your chosen threshold. Regular hours earn your base rate. Overtime hours earn 1.5 times that rate. The gross pay is the sum of both. This matches the federal Fair Labor Standards Act model and most state equivalents, though some states use weekly rather than daily overtime rules — in those cases, this per-shift tool gives you a shift-level estimate, not a weekly total.

When To Use This
Right tool, right situation

Use this calculator when you have a single shift to verify — you clocked in, clocked out, took a break, and want to confirm the hours on your timesheet or paycheck match reality. It also works well for freelancers billing a client by the hour when the project spanned a defined block of time.

This tool is also useful for managers and small business owners who need to spot-check a single employee shift before approving a timesheet. The gross pay estimate gives a fast sanity check against what payroll software will calculate.

Do not use this calculator for weekly overtime rules. In states like California, overtime also accumulates after 40 hours in a week — a week-level calculation requires a different tool that tracks each day cumulatively. Do not use it for salaried employees, commission-only workers, or any pay structure that is not purely hourly. And if your shift includes tipped wages, paid-time-off accrual, or shift differentials, the gross pay figure here is a starting point, not a final paycheck estimate.

Common Mistakes
Why results sometimes look wrong

The most common mistake is entering clock-out time without subtracting break time. Workers who clocked in at 8:00 and clocked out at 5:00 often claim 9 hours worked when they actually worked 8.5 — their employer already deducted the half-hour lunch. Entering break minutes here prevents that mismatch.

The second mistake is using the wrong overtime threshold. Federal law sets the daily threshold at 8 hours, but many union contracts, healthcare roles, and part-time agreements use different numbers — 7.5, 10, or even 12 hours. Entering the wrong threshold produces correct math on the wrong rule, so your overtime hours will be off. Check your employment agreement or pay stub to confirm the number your employer uses.

The third mistake is forgetting to account for paid breaks. Some employers pay for short rest breaks (typically 10-15 minutes) but not for meal breaks (30+ minutes). If your 15-minute rest break is paid, do not include it in the break minutes field. Only enter break time that your employer does not compensate.

The Math
Worked examples and deeper derivation

Net worked hours = (End time in minutes - Start time in minutes + adjustment for overnight) - Break minutes, all divided by 60.

If End < Start in minutes, add 1,440 (24 hours x 60) to End before subtracting Start. This handles every overnight shift without special casing.

Overtine split: Regular hours = min(Net worked hours, OT threshold). Overtime hours = max(0, Net worked hours - OT threshold).

Gross pay = (Regular hours x Rate) + (Overtime hours x Rate x 1.5).

The 1.5 multiplier is the statutory time-and-a-half rate. Double-time (2x) applies in some California shifts over 12 hours and on the seventh consecutive day — this tool does not model those cases. For double-time scenarios, use the regular pay output as your base and apply your own multiplier.

Verifying a weekly paycheck — did I get paid for overtime?
Start 07:30, End 18:00, 30-minute break, $21/hr, 8-hour overtime threshold
Total worked: 10 hours. Regular pay: 8 hrs x $21 = $168. Overtime pay: 2 hrs x $31.50 = $63. Gross: $231. If your paycheck shows $210 (flat 10 hours), you are missing $21 in overtime — the calculator makes this visible immediately.
Freelancer invoicing a client for a long design day
Start 09:00, End 20:30, 45-minute break, $85/hr, overtime threshold set to 24 (no overtime)
Total worked: 10.75 hours. Setting the overtime threshold to 24 disables overtime splitting — useful when billing a flat hourly rate with no overtime clause. Gross invoice amount: $913.75. The breakdown gives the freelancer a clean line item to show the client.
Nurse tracking a rotating overnight shift for compliance
Start 23:00, End 07:30, 20-minute break, $38/hr, 8-hour threshold
The shift crosses midnight: raw duration is 8.5 hours. Subtract 20 minutes break: 8.17 hours worked. Regular hours: 8, overtime: 0.17 hrs. Gross: $313.57. This matters for healthcare compliance logs where exact paid time — not just clock hours — must be documented.
Expert Unlock
The thing most explanations skip

The formula assumes overtime is a single-tier multiplier applied once all regular hours are exhausted. In practice, California Labor Code Section 510 requires double-time after 12 hours in a single workday and for all hours on the seventh consecutive workday — a two-tier structure this tool does not model. The decimal hour conversion also assumes continuous work within a single calendar shift; split shifts with mid-day gaps are better handled by running two separate calculations and summing the results. Payroll systems that round to the nearest quarter-hour will produce slightly different totals than this calculator, which works in exact decimal minutes.

How do I calculate hours worked with a lunch break?

How do I calculate total hours worked including a lunch break?
Subtract your unpaid break minutes from the raw shift duration. A shift from 8:00 AM to 5:00 PM is 9 clock hours; subtract a 30-minute lunch and you get 8.5 paid hours. This calculator does that arithmetic for you and converts the result into decimal hours for payroll.
How is overtime calculated for a single shift?
Overtime kicks in once worked hours exceed your threshold — typically 8 hours per shift in the US. Hours above that are paid at 1.5 times your regular rate. So if you work 10 hours at $20/hr, the first 8 hours earn $160 and the remaining 2 earn $60, for a total of $220 instead of $200.
Does this calculator handle overnight shifts that go past midnight?
Yes. If your end time is earlier than your start time, the calculator automatically adds 24 hours to the end time to calculate the correct shift length. A shift from 10:00 PM to 6:00 AM is treated as an 8-hour shift, not a negative number.

Need something this doesn't cover?

Suggest a tool — we'll build it →