Work Hours Calculator
Calculate work hours, weekly payroll timesheets, unpaid break deductions, and overtime pay.
Runs in your browser. Nothing you add is uploaded.
What the Work Hours Calculator does
Turn clock-in and clock-out times into hours worked, minus unpaid breaks, in both hours and minutes and the decimal hours payroll systems ask for. The single-shift mode handles one shift; the weekly timesheet covers seven days, each with its own start, end and break, totals the week, splits regular and overtime hours at a weekly threshold you set, and works out gross pay at your hourly and overtime rates. Shifts that cross midnight are handled automatically, and the week can be exported as a CSV file.
How to calculate hours worked
- Choose Weekly Timesheet or Single Shift.
- Enter the start and end times and the unpaid break in minutes. An end time earlier than the start is treated as the next day.
- In the weekly view, switch days on or off, or press Fill 9-to-5 for Monday to Friday, 09:00–17:00 with a 30-minute break.
- Set your hourly rate, overtime rate and weekly overtime threshold (40 hours unless you change it).
- Read the total, regular and overtime hours and the gross pay, then copy the summary or export the CSV.
The Work Hours Calculator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
How it works
Hours worked, overtime and pay
shift = end − start (+ 24 h if end is earlier) − break
regular = min(week total, threshold)
overtime = max(0, week total − threshold)
pay = regular × rate + overtime × overtime rateEach day's shift is worked out in minutes and converted to decimal hours by dividing by 60. Overtime is counted on the weekly total, not per day.
Example: Monday–Thursday 09:00–17:30 and Friday 09:00–17:00, each with a 30-minute break: 4 × 8 + 7.5 = 39.5 hours, all regular at a 40-hour threshold. At $25 an hour that is $987.50.
When to use it
Filling in a timesheet
Payroll and invoicing tools want decimal hours: 7 hours 45 minutes is 7.75, not 7.45. A shift from 08:30 to 17:00 with a 45-minute break comes to 7 h 45 m, which the calculator shows as 7.75 hours, ready to enter.
Night shifts
A shift from 22:00 to 06:30 with a 30-minute break is 8 hours worked. Because the end time is earlier than the start, the calculator counts it as finishing the next morning, so there is no negative result to correct by hand.
Checking overtime on a payslip
The default week (Monday to Thursday 09:00–17:30 and Friday 09:00–17:00, each with a 30-minute break) comes to 39.5 hours. Add a Saturday morning and the hours above 40 are paid at the overtime rate, which lets you check what the payslip should show.
Good to know
- Minutes to decimal hours: divide by 60. 15 minutes is 0.25, 20 minutes is 0.33, 30 minutes is 0.5 and 45 minutes is 0.75.
- Overtime here is weekly: hours above the threshold are paid at the overtime rate. Rules vary by place; California also counts daily overtime after 8 hours, and Indian factory law pays overtime at twice the ordinary rate. Set the rate and threshold to the rules that apply to you.
- If you leave the overtime rate empty, 1.5 times the hourly rate is used.
- Pay is shown with a $ sign, but the arithmetic works for any currency.
- Entries are not saved when you leave the page; export the CSV to keep a copy.
Frequently asked questions
What are decimal hours in payroll?
How do overnight shifts calculate?
How is overtime pay calculated?
Should breaks be deducted?
Page last updated . Found a wrong result or a mistake on this page? Let us know.
Related tools
Countdown Timer
Run several countdown timers with an alarm, or count down to a date.
Pomodoro Timer
25/5 focus and break cycles with a daily session counter.
HIIT & Tabata Interval Timer
Work and rest intervals with tones: Tabata, HIIT, EMOM, boxing.
World Clock & Meeting Planner
See the time in any city and find a meeting time across time zones.