Formula: Total Hours = (Clock Out - Clock In) - Break; Regular Hours = min(Total Hours, Overtime Threshold); Overtime Hours = max(0, Total Hours - Overtime Threshold); Gross Pay = Regular Hours * Rate + Overtime Hours * Rate * Multiplier; Net Pay = Gross Pay * (1 - Tax Rate/100).