Code tool

Timesheet Calculator

Enter a week of shifts, breaks, overtime threshold, and hourly rate to calculate totals locally.

In-browser processingNo account requiredPrivacy details ↗
Total: 0h

A QUICK WALKTHROUGH

How to use this tool

  1. Enter start, end, and break minutes for each day.
  2. Set the weekly overtime threshold and hourly rate.
  3. Review regular hours, overtime, total hours, and pay.

Overnight shifts and breaks

An end time earlier than the start time is treated as crossing midnight. Break minutes are subtracted from each shift, and negative shift totals are clamped to zero.

Overtime and pay

Weekly hours above the chosen threshold are overtime. Regular hours use the entered hourly rate and overtime hours use 1.5 times that rate. The default threshold is 40 hours; a zero rate lets you calculate hours without pay.

Local calculation

All entries and calculations stay in your browser. Timesheet data is not uploaded or saved.

GOOD TO KNOW

Common questions

Can I calculate overtime?

Yes. Set the weekly threshold; hours above it are shown separately.

Are overnight shifts supported?

Yes. An earlier end time is treated as crossing midnight.

Is pay required?

No. Leave the rate at zero if you only need hours.