Hours calculator

Add up worked hours from start and end times. Handles unpaid breaks and overnight shifts, and gives decimal hours for payroll.

Adding up worked hours from a paper or spreadsheet timesheet is fiddly for one reason: time is base 60 and money is base 10. Seven hours and forty-five minutes is 7.75 hours, not 7.45, and that slip is one of the most common payroll errors there is.

Enter start and end times for each shift, subtract unpaid breaks, and get both formats — hours and minutes for people, decimal hours for payroll.

How to use it

  1. Label each row — a day of the week, a project, a client.
  2. Enter the start and end time for the shift.
  3. Enter unpaid break minutes. These are subtracted from that row's total.
  4. Add a row per shift. The totals underneath update as you type.
  5. Optionally add an hourly rate to see gross pay for the total.

Decimal hours, and why payroll wants them

Payroll multiplies hours by a rate, so it needs hours as a decimal. The conversion is minutes divided by 60: 15 minutes is 0.25, 30 is 0.5, 45 is 0.75, 20 is 0.33, 10 is 0.17. Every row here shows both its hours-and-minutes form and its decimal form, and the totals give you the same pair.

Reading 7:45 as 7.45 instead of 7.75 loses 18 minutes on a single shift. Repeated across a fortnight for a team, that is real money in the wrong direction.

Overnight shifts

If the end time is earlier than the start time, the row is treated as crossing midnight rather than as an error. A shift from 22:00 to 06:00 counts as 8 hours, less any break. This is what a night shift on a timesheet means, and calculators that return a negative or zero here are a common source of wrong pay for shift workers.

What it does not do

This is deliberately a straight arithmetic tool, not a payroll engine. It does not apply overtime multipliers, night or weekend premiums, statutory break entitlements, or tax and deductions — all of which depend on your country, contract and often collective agreement. The gross pay figure is simply total decimal hours multiplied by the rate you entered.

Treat the output as the hours input to whatever your payroll rules actually are, and check the result against your own contract or your employer's system.

Nothing you enter is sent anywhere. This page has no backend and no account — your settings, alarms and saved entries are stored in your own browser's local storage and stay on this device. Clearing your browser data clears them.

Frequently asked questions

How do I convert minutes to decimal hours?

Divide by 60. 15 minutes is 0.25, 30 is 0.5, 45 is 0.75. Both forms are shown for every row and for the total, so you do not have to do it yourself.

Does it handle a night shift that crosses midnight?

Yes. An end time earlier than the start is read as an overnight shift, so 22:00 to 06:00 is 8 hours before breaks.

Are breaks deducted?

Yes, the break minutes you enter are subtracted from that row. Enter 0 for a paid break you want included in the total.

Does it calculate overtime or tax?

No. It totals worked hours and, optionally, multiplies them by a flat rate. Overtime multipliers, shift premiums, statutory entitlements and deductions vary by country and contract, so they are left to your payroll rules.

Is my timesheet saved?

Yes, in your browser's local storage, so it is still there when you come back. It is never sent anywhere and does not sync to other devices.