Tool To Calculate Hours Worked

How many hours did you actually work after breaks and overtime?

Enter your start time, end time, and any break duration to get your total hours worked, overtime hours, and an estimated pay figure for the shift or week.

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 errors come from a surprisingly simple place: the gap between when the clock says you worked and what actually gets paid. Unpaid breaks, rounding rules, and overtime thresholds all quietly chip away at the number before it becomes your paycheck. Knowing your exact hours before payday gives you the one number you need to dispute anything — or confirm everything is correct.

The calculation starts with the raw span between start and end times, converted into total minutes. Any break duration you enter gets subtracted, since most employers treat break time as unpaid. The resulting net minutes are divided by 60 to get decimal hours — so 8 hours and 30 minutes becomes 8.5 hours, not 8.3. That decimal format is what payroll software uses, and it is what this calculator returns.

Overtime is handled separately. Hours up to your threshold (usually 8 per day) are classified as regular hours. Any hours beyond that count as overtime and can be multiplied by your overtime rate — usually 1.5 — to calculate additional earnings. The split matters because your employer pays regular and overtime rates independently, and a single missed hour of overtime can mean a meaningful underpayment over the course of a week.

When To Use This
Right tool, right situation

Use this calculator before submitting a timesheet, after receiving a paycheck that looks off, or any time you are billing a client hourly and want to confirm the number before sending an invoice. It handles single-shift calculations cleanly and gives you the exact decimal figure payroll systems use.

It is also useful during job negotiations to quickly convert a proposed salary into an effective hourly rate — or to check whether accepting mandatory overtime at a lower base rate actually works out in your favor compared to a higher straight-time rate.

This calculator is not appropriate for tracking cumulative weekly hours across multiple shifts — it is designed for one shift at a time. For weekly overtime calculations, you would need to sum multiple shifts manually and compare the total against a 40-hour threshold. It also does not account for shift differentials, holiday pay multipliers, or tip credits, which are employer-specific policies that sit outside the math this tool handles.

Common Mistakes
Why results sometimes look wrong

The most common mistake is forgetting to account for breaks. A worker who clocks 9 hours but takes a 45-minute unpaid lunch has actually worked 8.25 paid hours. Entering the raw shift duration without subtracting breaks inflates your expected pay and makes real paychecks look like underpayments when they may not be.

The second mistake is using 12-hour clock times without AM or PM designations, then being confused when the result looks wrong. Entering 3:00 instead of 3:00 PM when you ended after noon can produce a result that subtracts your evening end time from your morning start — or triggers the midnight correction incorrectly. Use either consistent 24-hour format or always include AM or PM when using 12-hour times.

The third mistake is assuming the federal 40-hour weekly overtime rule applies everywhere. In California, daily overtime kicks in after 8 hours in a single shift, and double time begins after 12. If you are in a state with daily overtime rules and your employer is using the 40-hour threshold, you may be systematically underpaid on long shifts. This calculator lets you set your own threshold so you can check both scenarios.

The Math
Worked examples and deeper derivation

The core calculation is straightforward: convert both times to minutes since midnight, subtract start from end (adding 1,440 minutes if the result is negative to handle midnight crossings), then subtract break minutes. Divide by 60 to get decimal hours.

For pay estimation: regular pay equals regular hours multiplied by your hourly rate. Overtime pay equals overtime hours multiplied by your hourly rate multiplied by your overtime multiplier. Total shift pay is the sum of both. Written out: Total Pay = (min(hours, threshold) x rate) + (max(0, hours - threshold) x rate x multiplier).

Decimal hours are the standard payroll format. One hour and 45 minutes is 1.75 hours, not 1.45. This is where many manual calculations go wrong — people treat the colon in 1:45 as a decimal point. The calculator avoids this by converting everything to minutes first before dividing.

Standard office shift with lunch break
Start: 8:45 AM, End: 5:15 PM, Break: 30 minutes, Rate: $19.50/hr, Overtime after 8 hours
Net hours worked = 8.0 hrs (8h 30m total minus 30 min break). All 8 hours fall under the regular threshold, so the estimated shift pay is $156.00 with no overtime. This is exactly what to verify against your paycheck stub.
Night shift worker checking overtime eligibility
Start: 9:00 PM, End: 8:00 AM, Break: 45 minutes, Rate: $17.00/hr, Overtime after 8 hours
The tool detects the midnight crossover automatically, giving a raw shift of 11 hours. After subtracting the 45-minute break, net hours = 10.25. Regular pay covers 8 hours ($136.00) and 2.25 overtime hours at 1.5x add $57.38, totalling $193.38. Without checking the overnight crossing, many workers undercount these hours.
Freelancer billing a client for a long design session
Start: 10:30 AM, End: 7:00 PM, Break: 0 minutes, Rate: $85.00/hr, Overtime threshold: 24 hours (not applicable)
Total hours = 8.5 hrs, all at the regular rate since the overtime threshold is set to 24. Estimated invoice amount = $722.50. Setting overtime threshold high effectively disables overtime, which is appropriate for freelancers billing a flat hourly rate without overtime clauses in their contract.
Expert Unlock
The thing most explanations skip

Most time-tracking software uses bankers rounding or truncation to the nearest quarter-hour, which systematically favors the employer when applied consistently. If your employer rounds to the nearest 15 minutes, a shift that runs 7 hours and 8 minutes gets paid as 7.0 hours — that is 8 minutes of free work per shift. Over 250 working days, it adds up to 33 hours of unpaid labor annually. This calculator uses exact minutes, so you can compare it against your rounded paycheck to quantify the gap.

Why don't my hours match what my employer paid me?

How do I calculate hours worked with a lunch break?
Subtract the break duration from the total time between start and end. If you worked from 8:00 AM to 5:00 PM with a 30-minute lunch, the raw shift is 9 hours but your paid hours are 8.5. Enter the break in minutes in the Break Duration field and the calculator does this automatically.
How are overnight shift hours calculated correctly?
If your end time is earlier than your start time — for example, starting at 11:00 PM and ending at 7:00 AM — the tool assumes you crossed midnight and adds 24 hours to the end time automatically. You do not need to adjust anything manually.
When does overtime pay kick in and how is it calculated?
Overtime typically begins after 8 hours in a single shift under daily overtime rules, or after 40 hours in a week under federal rules in the US. The calculator defaults to 8 hours per shift. Hours above the threshold are multiplied by your overtime multiplier — standard is 1.5x, meaning time-and-a-half.

Need something this doesn't cover?

Suggest a tool — we'll build it →