Work Hours Calculator

Enter your start and end times and a break to get the hours you actually worked.

Hours worked today Weekly total over several days Overnight hours 10 PM-6 AM Pay estimated from hourly rate
AD
Time log Works across midnight
Quick fill
Worked Break (unpaid) Overnight 10 PM-6 AM The break is shown in the middle of the band
$/hr
Total hours worked (breaks excluded)
—
Enter start and end times and the total adds up automatically

The break is subtracted from the time worked.

🔒 Nothing is sent to a server. The calculation runs only in your browser, and your entries are saved only in this browser (they reload the next time you open the page).

How this is calculated

The work hours formula

Actual hours worked are (end time − start time) − break time. If the end time is earlier than the start time, the tool assumes the shift ran past midnight and adds 24 hours. For example, if you start at 9 AM, finish at 6 PM and take a one-hour lunch break, subtract 1 hour from 9 hours to get 8 hours worked. A shift from 10 PM to 6 AM the next morning is 8 hours, and all of it falls in the overnight window from 10 PM to 6 AM.

This result is for reference only, and you should check your employment contract, company policy and the relevant labor authority for the exact standards.

How to use

Enter the start and end times for a day. Shifts that run past midnight, like a night shift, are counted into the next day automatically
Enter the break in minutes and it is subtracted from the time worked. For several days, use ‘Add day’ to add rows and see a weekly total
You get total hours, overnight hours and the difference from a 40-hour week. Add an hourly rate for an estimated pay
AD

How this work hours calculator works

This work hours calculator adds up the time you worked from your start time, end time and break. Add more days with Add day to build a weekly total and compare it with a 40-hour week. Enter an hourly rate to estimate pay before tax. Shifts that run past midnight are handled: a 10:00 PM start and a 6:00 AM end counts as an eight-hour shift that ends the next morning.

How the hours are figured

For each day, the calculator finds the time between the start and the end (adding 24 hours if the end is earlier than the start), subtracts the break, and reports the remainder. If the break is longer than the shift, it warns you instead of showing a negative number. A 9:00 AM to 5:00 PM day with a 60-minute unpaid lunch is 7 hours. Two such days give 14 hours, which is 26 hours short of a 40-hour week.

Pay estimates and overtime

With an hourly rate, the estimate is the rate multiplied by the total hours worked. At $20.00 an hour, 14 hours is $280.00, before tax and without overtime or shift premiums. Under the federal Fair Labor Standards Act, most non-exempt employees must be paid one and a half times their regular rate for hours over 40 in a workweek. Exempt employees are not covered. Check your state and employer policy.

Breaks and overnight hours

Federal law does not require meal or rest breaks for adult workers, though many states do. Short rest breaks of about 5 to 20 minutes are generally paid working time, while a genuine meal period of 30 minutes or more can be unpaid. This calculator treats the break you enter as unpaid, so enter 0 if your breaks are paid. The tool also counts how many hours fall between 10:00 PM and 6:00 AM and shows them as a separate overnight line.

Timesheet tips

  • Record times as they happen. Writing down start, end and break times each day is more accurate than reconstructing a week from memory.
  • Check rounding rules. Some employers round to the nearest quarter hour, so enter the rounded times to match your payroll.
  • Mind the workweek. Overtime is measured across your employer’s fixed workweek, which may not run Monday to Sunday.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract your unpaid break. From 9:00 AM to 5:00 PM with a 30-minute break you worked 7.5 hours, and the tool adds the days together.

How does the calculator handle shifts that go past midnight?

If the end time is earlier than the start time, the tool assumes the shift ended the next day and adds 24 hours. A 10:00 PM to 6:00 AM shift counts as 8 hours.

Is the break subtracted from my total?

Yes. The break you enter is treated as unpaid time and removed from the hours worked. If your breaks are paid, enter 0 for the break.

Does the estimated pay include overtime, taxes or night pay?

No. It multiplies your hourly rate by your total hours and shows the pre-tax amount. Overtime, shift differentials, bonuses and deductions are not included.

Are my entries stored anywhere?

Your times and hourly rate are saved only in your own browser so the form is filled when you return. Nothing is sent to a server, and the Clear all button removes them.

Related tools

AD

How this tool is checked

Last regular check

How it calculates Hours are end minus start minus break, adding 24 hours when the end is earlier, and pay is the hourly rate times total hours.

How we check Before release, results go through calculation regression tests plus screen and accessibility checks, and the check date changes only when these checks pass again.

Run by Toolssok · About · Report an error