Hours calculator
Add start and end times, take out unpaid breaks, and read the total as hours:minutes, decimal hours and minutes — including shifts that run past midnight.
Your work hours
Enter a shift. We'll handle the math.
Applied only when you choose Apply; Breaks switch to Minutes so the value is used. Each row can still be edited afterwards.
Your entries stay in this tab. No sign-up or uploads.
7h 30m
After unpaid breaks
Decimal hours
7.50
Total minutes
450
- Span before breaks
- 8h 00m
- Unpaid breaks
- −0h 30m
- Shifts counted
- 1
A clean, ad-free summary. Ready for your timesheet.
Working past midnight? Enter your end time as usual. Overnight shifts are handled automatically, and blank rows are ignored.
Hours calculator summary
HourSum · hoursum.org
| Day / shift | Start | End | Break | Worked |
|---|---|---|---|---|
| Shift 1 | 09:00 | 17:00 | 30 min | 7h 30m |
Total: 7h 30m · 7.50 decimal hours · 450 minutes
How this total was calculated
- Times are read in 24-hour clock format and converted to minutes before any totals are added.
- Each row is calculated as end time minus start time, then minus its unpaid break.
- Decimal hours are rounded to two decimal places.
- Total minutes are never rounded — they are the exact sum of the rows.
Estimates only. Overtime, rounding and break rules are set by your employer or local authority — confirm them before filing a timesheet or running payroll.
How to use this hours calculator
- Enter the first start and end time. Use the 24-hour or 12-hour control to match the way your schedule is written.
- Subtract the unpaid break. Type the minutes, or switch Breaks to clock times and enter the break window when you know it — for example 12:30 to 13:00.
- Add more rows if the day was split. Split shifts, a second job and weekly totals all work as separate rows — use the Mon–Fri or Mon–Sun template buttons to fill a labelled week, and give each row its own label such as Monday or “Tuesday split”.
- Read the result card. Hours:minutes for your timesheet, decimal hours for payroll spreadsheets, and total minutes for the exact arithmetic.
- Print or copy. The print layout keeps the summary and the assumptions used, and contains no advertising.
What the three totals are for
One calculation produces three numbers because three different places ask for the same time in different formats. Converting by hand is where most timesheet errors start.
| Output | Example | Where it is used |
|---|---|---|
| Hours and minutes | 8h 30m | Timesheets, rosters, client invoices written in hours |
| Decimal hours | 8.50 | Payroll and accounting spreadsheets |
| Total minutes | 510 | Checking the maths, or converting into another unit |
The conversion is always the same: minutes ÷ 60 = decimal hours. That is why 45 minutes is 0.75 and 20 minutes is 0.33 rather than 0.20. If the decimal number looks odd, the worked examples show the arithmetic line by line.
Overnight shifts and split shifts
A night shift often ends on the next calendar day, which is why an end time of 06:00 after a 22:00 start can look negative if you subtract the plain numbers. HourSum detects that the end time is earlier than the start time, adds 24 hours, subtracts the break, and flags the row with a “+1 day” badge so you can see the assumption instead of guessing at it.
Split shifts work the other way around: two short rows with their own breaks, added together. That keeps the unpaid gap between them out of the total, which is usually what a split shift means.
What this calculator does not do
- Overtime premiums. Overtime rules vary by country, state and contract, and often depend on daily or weekly thresholds. HourSum reports the raw time; apply your own overtime rules afterwards.
- Tax and deductions. An optional hourly rate produces a pre-tax gross figure only.
- Saved timesheets. Nothing is stored, so a closed tab means cleanly entered times are gone. Print first.
- Time zones. Both times are assumed to be in the same zone, which is the normal case for a single shift.
Checking the result before you file it
Two quick sanity checks catch most mistakes. First, compare the span before breaks with the times you wrote down — if the span is 8h 30m and the card says 8h 00m, exactly one break of 30 minutes was deducted. Second, confirm the number of rows counted matches the number of shifts you entered; a row with an error is excluded from the total and shows a warning instead of a number.
Estimates, not advice
Frequently asked questions
How do I calculate the hours I worked?
Subtract your start time from your end time, then subtract any unpaid break. From 09:00 to 17:30 the span is 8 hours 30 minutes; with a 30-minute unpaid break the paid time is 8 hours, which is 8.00 decimal hours. HourSum does both steps and shows the result in hours:minutes, decimal hours and total minutes at the same time.
Does the hours calculator handle overnight shifts?
Yes. When the end time is earlier than the start time the calculator assumes the shift crosses midnight, adds 24 hours and marks the row with a “+1 day” badge. 22:00 to 06:00 therefore returns 8h 00m. Identical start and end times are treated as an error rather than a 24-hour shift, so a genuine 24-hour shift should be split into two rows.
How do I subtract a lunch break?
Type the unpaid break in minutes in the break field, or switch the Breaks control to “Clock times” and enter when the break started and ended. Unpaid breaks are deducted from the shift span. If your break is paid, leave the break at 0 and record it separately.
Why is 8 hours 30 minutes shown as 8.50?
Decimal hours divide the minutes by 60, so 30 minutes becomes 0.5 and 8h 30m becomes 8.50. Timesheets usually want hours:minutes while payroll systems usually want decimal hours, which is why the result card shows both next to the exact minute total.
Can I add several shifts or days together?
Yes. Choose “Add another shift” to add up to 20 rows, which is useful for split shifts, two jobs in one day, or totalling a week. The Mon–Fri and Mon–Sun buttons fill a labelled weekly template without overwriting what you have already typed, and each row keeps its own editable label such as Monday or “Tuesday split shift”. Completely blank rows are ignored and never trigger warnings; rows with errors are flagged and left out of the total so a single typo cannot quietly change your hours.
What is the difference between Clear all and Load example?
Clear all empties every time, break and rate you have typed, keeping the rows, their labels and your chosen clock format, break mode and rounding — a clean slate with the structure left in place. Load example restores the worked example from this page together with the default settings. After either action the old total, pay estimate and copied status are cleared, and the cursor waits in the first start-time field.
Does the calculator round my hours?
The minute total is never rounded. The decimal figure can be displayed to two decimals, one decimal, or rounded to the nearest quarter hour, which is a common payroll convention. The default is two decimals, and the print summary states which rounding was used.
Is anything I type saved or sent to a server?
No. Every calculation runs in your browser tab and nothing is uploaded or stored, so closing the page clears your entries. That also means there is no saved timesheet to come back to — print or copy the summary before you leave if you need a record.