Sum of work sessions

Enter one session, or stack up to ten. Each row is a start, an end, and a break in minutes. An earlier end continues into the next day. The same start and end are 0 hours, not 24. Overlapping rows stay in the total. One invalid row hides the total. Several sessions are saved in this browser. The one-session fields are not saved. Daylight saving does not change the minutes, and the page does not decide pay.

What goes into the total

A session is two clock times and a break in whole minutes. The page shows the gross span, the break, the net duration, and decimal hours. Several sessions are added as whole minutes. The page does not look up a time zone, and it does not judge wages or labor rules.

One row, or a list of rows

A clock time becomes minutes after midnight. 09:30 is 570 minutes. A later end the same day is end minus start. Matching times are 0. An earlier end uses the rest of the day plus that end time. Swap turns 09:00 to 17:00 into an overnight span from 17:00 to 09:00. The break chips set 0, 15, 30, or 60 minutes, and Reset returns the single row to 09:00, 17:00, and a break of 0. Net hours are the remaining minutes divided by 60. Several sessions keeps up to ten of those rows and adds their net minutes.

A shift that crosses midnight

22:00 to 02:00 is 4 hours, because the end is the next time that clock shows. There is no calendar date on the row. 23:59 to 00:00 is 1 minute. A night that gains or loses an hour when the clocks change is outside this page.

The break comes off the span

09:00 to 17:30 is 8 hours 30 minutes before a break. A 30-minute break leaves 8 hours 0 minutes, which is 8.00 decimal hours. A break of 0 leaves the gross span. A break equal to the span leaves 0. A longer break shows a message and no negative time.

Decimal hours from the net minutes

Decimal hours divide the net minutes by 60. 7 hours 30 minutes is 7.50. 7 hours 20 minutes is 7.33. The minute count stays exact. Only the decimal line is rounded to two places.

Matching clocks are not a full day

09:00 to 09:00 is 0 hours 0 minutes and 0.00 decimal hours. Equal times are not a 24-hour span. A break above 0 on that span is rejected, because the break is longer than the time between the two clocks.

A day made of more than one stretch

  • A morning block and an evening block, entered as two sessions and added after each break.
  • A night stretch such as 22:00 to 06:00, with the break taken out of that span.

What the total leaves out

  • Daylight saving and a time-zone change do not move the result. 22:00 to 02:00 stays 4 hours.
  • The same start and end are 0 hours. The page does not infer a full day.
  • The longest span is 23 hours 59 minutes, from a time to one minute before that time returns.
  • The total does not decide wages, overtime, or legal working time.
  • The single row opens at 09:00, 17:00, and a break of 0. Those are examples, not the current time, and that single row is not saved on this device.
  • Several sessions holds at most 10 rows. Overlapping times stay in the total. One invalid row hides the total. Those rows are saved in this browser. The one-session fields are not saved.

Questions about the session total

How do I add more than one work session?

Switch to several sessions and add a row for each stretch, up to ten. Each row has its own start, end, and break. The total is the sum of the net minutes.

Which hours stay in this browser?

Several sessions are saved in this browser and come back on the next visit. The one-session fields are not saved. Clearing site data removes the saved rows.

What if two sessions overlap?

Both rows stay in the total. The page does not remove the shared minutes.

Why is the total missing?

One row has an error, so the total stays hidden. Fix that row, or remove it, and the sum can show again.

What if the end time is earlier than the start?

The span continues to that clock time the next day. 22:00 to 02:00 is 4 hours. There is no calendar date on the row.

Why are matching start and end times 0 hours?

The same clock time is 0 hours and 0.00 decimal hours. It is not treated as 24 hours. A break above 0 on that span is rejected.

Does a daylight-saving night change the hours?

No. The page uses the two clock times only. A night when the clocks change length is the same result here, and the page does not decide pay.

Related tools