Timesheet Calculator Widget
Embed a seven-day timesheet that totals the week for your readers. Each day takes a start time, an end time and unpaid break minutes; the widget handles shifts that run past midnight and splits the week into regular and overtime hours, with gross pay when a rate is entered.
Live preview
Under the widget on your page: Powered by A2Z Tools
Embed code
<iframe src="https://a2z.tools/embed/w/timesheet-calculator" title="Timesheet Calculator by A2Z Tools" width="100%" height="1150" style="border:0;width:100%" loading="lazy" allow="clipboard-write"></iframe>
A plain iframe. Works everywhere, including site builders that strip scripts. Adjust height if your content needs more room.
<div data-a2z-widget="timesheet-calculator" data-height="1150"></div> <script async src="https://a2z.tools/embed.js"></script>
Adds a small script (what it does) that sizes the widget to fit its content, loads it lazily and keeps it isolated from your page's CSS.
Works with
How it works
For every day the span from start to end is measured in minutes and the unpaid break is subtracted, so 09:00 to 17:30 with a 30-minute break is 8 hours. When the end time is earlier than the start, the shift is read as finishing the next morning: 22:00 to 06:00 is 8 hours, and with a 45-minute break 7 hours 15 minutes. A day with a missing time, an identical start and end, or a break as long as the shift is flagged by name instead of being guessed. The week total is shown as hours and minutes and as decimal hours, which is what most payroll systems want. Hours above the weekly threshold - 40 by default - are overtime; with an hourly rate the widget multiplies regular hours by the rate and overtime by the rate times the multiplier. Rows stack on narrow screens so it works on a phone.
Calculation method
- Day minutes = (end - start, + 24 h if end <= start) - unpaid break
- Week total = sum of day minutes; decimal hours = minutes / 60
- Overtime = max(0, total - weekly threshold); regular = total - overtime
- Gross pay = regular x rate + overtime x rate x multiplier
Worked examples
Standard week
Inputs: Monday to Friday 09:00 to 17:30, 30-minute break each day
Result: Week total 40:00 h (40.00 decimal); overtime 0.00
8 hours a day for 5 days.
A Saturday added
Inputs: Same week plus Saturday 08:00 to 18:30 with 30 minutes; rate 20; overtime after 40 h at 1.5x
Result: Week total 50:00 h; regular 40.00; overtime 10.00; gross pay 1,100.00
800 regular + 10 x 30 overtime.
Night shift
Inputs: 22:00 to 06:00 with a 45-minute break
Result: 7:15 h for the day (7.25 decimal)
The end is read as the next morning.
Gross pay estimate only; tax, break laws and local overtime rules are not modelled.
Limitations
- Covers one week of up to seven shifts, one shift per day; split shifts must be added together by hand.
- Overtime is weekly only, and public holidays or premium rates are not recognised.
Where publishers use it
- Small-business payroll guides that need a quick weekly hours tally
- Nursing, security and hospitality sites where night shifts cross midnight
- Freelancer and contractor resources for logging billable time
- Cleaning, care and trades companies whose staff submit paper timesheets
- Employee handbooks showing how breaks and overtime are counted
- Locum doctors, paramedics and porters reconciling rota hours against a payslip
- Event crews, stagehands and festival staff with irregular call times
- Landscaping, roofing and construction crews whose foremen tally hours on site
Questions
How do I enter a night shift?
Type the real clock times: start 22:00 and end 06:00. Because the end is earlier than the start, the widget adds 24 hours to the end and counts 8 hours, marked (+1 day) in the daily table.
Are breaks paid or unpaid?
The break field is for unpaid time only and is subtracted. Paid rest breaks, such as a paid 15-minute coffee break, are working time, so leave them out of the break field.
Why show decimal hours?
Payroll multiplies hours by a rate, so 7 hours 45 minutes must be entered as 7.75, not 7.45. The widget shows both forms for every day and for the week.
Can it handle daily overtime?
It applies a weekly threshold only. For California-style daily overtime and double time, use the Overtime Calculator widget with the daily hours from this timesheet.
What if a shift is longer than 24 hours?
The times only cover one clock day plus overnight, so the longest shift it can measure is just under 24 hours. Split longer duty periods across two days.
Should punch times be rounded?
Some employers round clock-in and clock-out punches to the nearest 5, 6 or 15 minutes; under US rules that practice is acceptable only when it averages out neutrally over time. Type the times exactly as recorded - the widget applies no rounding of its own.
How do minutes convert to decimal hours?
Divide by 60: 15 minutes is 0.25, 20 is 0.33, 45 is 0.75 and 50 is 0.83. A week of 37 hours 50 minutes is therefore 37.83 decimal hours on a payroll import.
Can it handle a split shift?
Only one start and end per day. For a split shift - say a chef on 10:00-14:00 and 17:00-22:00 - enter 10:00 to 22:00 with a 180-minute unpaid break, the gap between the two parts, which gives the same 9 hours.
Do unpaid meal breaks have a legal minimum?
Many jurisdictions require a meal break after a set number of hours - for example a 30-minute break once a shift passes about 5 or 6 hours - but the length, the trigger and whether it is paid vary. The widget simply subtracts what you enter.
Cite or recommend this tool
If you reference this tool in an article, course or documentation, these formats are ready to copy. They are optional - nothing is added to your site unless you paste it.
A2Z Tools Timesheet Calculator https://a2z.tools/timesheet-hours-calculator
<a href="https://a2z.tools/timesheet-hours-calculator">A2Z Tools Timesheet Calculator</a>
[A2Z Tools Timesheet Calculator](https://a2z.tools/timesheet-hours-calculator)
Timesheet Calculator by A2Z Tools - https://a2z.tools/timesheet-hours-calculator
Related widgets
-
Weekly overtime at 1.5x past 40 hours, or California-style daily overtime and double time - all editable.
-
Hourly wage to annual, monthly, biweekly, weekly and daily pay - or a salary back to an hourly rate.
-
PTO accrued per pay period and the balance projected to a date, with leave taken and a carryover cap.
-
Count working days between dates or add N business days, with your weekend and holidays.
-
Employer super at 12% per payday and the Payday Super deadline 7 business days later, holidays skipped.
-
Check pay against the UK National Minimum Wage or Living Wage for a worker's age band and apprentice status.