Timesheet calculator

Work Hours Calculator and Timesheet

Enter shifts, breaks and optional overtime rules to total a day, week or two weeks. The calculation runs locally in your browser.

Build your timesheet

Start with a weekly sheet, add split shifts when needed, then calculate totals in hours and decimal hours.

Examples

Monday

Work period 1

Tuesday

Work period 1

Wednesday

Work period 1

Thursday

Work period 1

Friday

Work period 1

Saturday

Work period 1

Sunday

Work period 1

Advanced options

Your timesheet stays private

Times, rates, notes and projects are calculated in this page. They are not sent automatically to a server and can be removed from local storage at any time.

How the calculation works

The calculator converts each clock time into minutes from midnight, totals the work periods, subtracts unpaid breaks and then classifies optional overtime.

Net worked time

net = sum(work periods) - unpaid breaks

Overnight shifts add 1,440 minutes to the end time before subtracting the start time.

Decimal hours

decimal hours = total minutes / 60

The decimal value is useful when you need to enter hours in a payroll or invoicing system.

Overtime pay

gross estimate = normal × rate + overtime × rate × multiplier

Daily overtime is classified first, then weekly overtime is applied only to hours still considered normal.

Work hours guide

Breaks and unpaid time

Enter a break as minutes for each day. When the break is longer than the worked period, the calculator stops and shows a validation error.

Overnight shifts

For a shift such as 22:00 to 06:30, enable the overnight option. The result remains eight hours after a 30 minute break.

Overtime limits

Overtime is optional because legal rules differ. Enter only the thresholds and multipliers that match your contract or internal policy.

Minutes to decimal hours

15 minutes0.25 hour
30 minutes0.50 hour
45 minutes0.75 hour
1 h 151.25 hours
1 h 301.50 hours
1 h 451.75 hours

Important limits

  • This is not an official payroll record or legal advice.
  • The calculator does not know country-specific labor rules unless you enter the thresholds yourself.
  • Saved data stays in the current browser only.

Sources and verification

The formulas were reviewed as a neutral time calculation method. These references provide context on working time and pay rules; the calculator does not apply any legal rule automatically.

Work hours FAQ

How do I calculate my worked hours?

Enter a start time, end time and unpaid break. The calculator subtracts the break from the gross shift duration.

How do I subtract a lunch break?

Enter the lunch break in minutes on the same day. A 09:00-17:30 shift with 30 minutes break gives 8 h 00.

How do I calculate a day that ends after midnight?

Use the overnight checkbox for that period so the end time is treated as the following day.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60. For example, 7 h 30 equals 7.5 decimal hours.

How do I calculate overtime?

Enable overtime and enter your own daily or weekly threshold. The calculator does not assume a universal legal threshold.

Can I enter multiple breaks?

This version accepts one unpaid break total per day and multiple work periods. More detailed break intervals can be added later without changing the engine.

Can I calculate two weeks of work?

Yes. Choose the two-week mode to display fourteen rows and calculate each week separately for weekly overtime.

How does rounding work?

Choose no rounding or a 5, 6, 10 or 15 minute increment, then apply it to each period or to the daily total.

Can the result be used directly for payroll?

Use it as a check only. Payroll rules, records and approvals depend on your employer and local law.

Are my times sent to a server?

No. The calculation runs in your browser, and local saving uses browser storage.

Can I print or export my timesheet?

Yes. You can copy a summary, print the result or export the table as CSV.

What is the difference between gross and net time?

Gross time is the full shift duration before breaks. Net time is the worked duration after unpaid breaks.