A shift is a defined block of working hours, with a start time, an end time, break rules and often a grace allowance. Attendance processing compares each employee's punches with the shift they were assigned to decide lateness, early exit, half days and overtime. A company may run one general shift or many.
In plain words
The hours you are expected to work, with the start, end and breaks fixed in advance.
Formula
Scheduled hours = shift end time − shift start time − unpaid break time
Example
A general shift runs 9:30 to 18:30 with a one-hour unpaid lunch, so scheduled hours are 9 − 1 = 8. A support team on a 14:00 to 23:00 shift has the same eight hours, but its lateness is measured against 14:00, which is why punches cannot be judged without knowing the assigned shift.
Illustrative figures, not a statutory calculation.